Clap: subcommand arg groups

Created on 25 Jul 2016  路  3Comments  路  Source: clap-rs/clap

Are subcommand arg groups supported?
If supported, how to config in yaml file?

All 3 comments

found how to do that by myself.

https://xkcd.com/979/

To everyone else: the answer appears to be yes, and if you want to specify them via yaml, just indent the groups keyword to a child of your subcommand key (same level as args, about, etc).

Thanks for taking the time to actually say the answer @jpeddicord

I'm also OK with people opening issues to ask the question again, or join the Gitter chat to ask 馃槃

Was this page helpful?
0 / 5 - 0 ratings