Hi all,
First thank you Paul for this library. Having a good alternative to parse arguments that doesn't use annotations is welcome. This gives some opportunities to hack things around.
As mentioned in the title, is there a recommended way to implement commands as in "git add [options] <files>"?
For the record, currently I'm creating 1 parser for the root command (git), and another for each command (add, commit). The whole thing feels a little awkward though, especially around the argument validation logic where some of it is taken care by the library, and some by my code.
Thanks all for your help and suggestions,
Matthieu