cmd
cmd copied to clipboard
command-line argument parser for Janet
...and `-h` too, probably. We should actually probably accumulate flags and only look at positional arguments.
The one layout that seems to be missing is the ability to set global flags and then use sub commands: ``` $ foo usage Usage: foo [options] [] $ foo...
when testing a project with judge like this: ```janet (declare-project :name "judge / cmd test" :version "0.1.0" :dependencies [{:url "https://github.com/ianthehenry/judge.git" :tag "v2.9.0"}]) (declare-executable :name "ttt" :entry "src/init.janet") ``` and ```janet...