Closed nomeata closed 7 years ago
Ok, I have a work-around, see the commit linked above. If that is the best way of doing it, then this is merely a request for better documentation. If there is a better way, then, well, as well.
Currently there's not a better way, as one can have different metavar
s for groups, or have subcommands which aren't alternatives.
Will add some doc.
I'm happy with the way this is documented now. Although I could put in a fix to combine these on opposite sides of an alternative I think it would be extremely flakey.
I have started using
commandGroup
in this commit and it works ok, with the exception of the error message when no command is given, and also the summary:and
Any suggestions on how to avoid that?