flaggy
flaggy copied to clipboard
How to explicitly print subcommand help
How do I explicitly print out a subcommand's help text (usage)?
this works for me:
$ foo bar -h
where bar
is the subcommand
Currently you can show help on a flaggy.Parser
, but not a flaggy.Subcommand
. I agree that it would be nice to call help on a flaggy.Subcommand
directly, but it would take a little re-factoring to prevent duplicate code... Right now this is done via a template rendering that happens on the Parser...