roc-lang / basic-cli

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

Change the args example to use Weaver #202

Closed smores56 closed 6 months ago

smores56 commented 6 months ago

The internal Arg module has been finicky, so I've replaced the argsBROKEN.roc example with a working one using the new CLI parser I wrote, Weaver. It's basically the same as the previous example, except instead of performing division and logarithm, I'm doing division and max number in a list since log isn't implemented on linux x86 yet.

lukewilliamboswell commented 6 months ago

Are you able to sign your commits? @smores56

Anton-4 commented 6 months ago

Thanks @smores56! Nice to have a working args example :tada:

smores56 commented 6 months ago

@lukewilliamboswell since this got merged already, not this time, but I'll try to remember for future changes. The CONTRIBUTING.md doc explains what to do well.

lukewilliamboswell commented 6 months ago

@smores56 no worries 👍 😃