google/argh

Support something like --helpfull which displays help for all subcommands

claywilkinson opened this issue · 2 comments

It would be really nice to have an option to show the help for all subcommands vs. having to run --help for each subcommand recursively.

Is there any way to achieve this now?

I believe it would still take a little bit of code. The easiest approach I think would be to derive ArgsInfo for everything, then you could call get_args_info() on the top level command to retrieve the json of the entire command structure, then render it as needed.

If you try, let me know how it turns out.