roc-lang / basic-cli

A basic Command-Line Interface platform
Universal Permissive License v1.0
89 stars 30 forks source link

Update Arg module to new record builder syntax #227

Closed smores56 closed 4 months ago

smores56 commented 4 months ago

Update the Arg module to the new record builder syntax. I removed all references to the old builder syntax from basic-cli except for the ones in the Task.batch docs. It seems like that function should be removed since it only seems useful for old record builders, but that belongs in a different PR.

I copied (and adjusted) this code from Weaver, which I just released v0.3.0 for here: https://github.com/smores56/weaver/releases/tag/0.3.0