commander icon indicating copy to clipboard operation
commander copied to clipboard

user-defined docs

Open tj opened this issue 10 years ago • 1 comments

to append to what's already there, for documenting sub-commands etc

tj avatar Nov 24 '13 21:11 tj

I added an epilog field to display available subcommands. https://github.com/leesei/commander/commit/ddda933646870c208e2fb18615dc786d5bbade97 on branch subcmd

Then I do the subcommands parsing with my own code. I can submit PR if you find it useful.

Possibly related to #11. This approach do not support subcmd specific option, I've do document that in the option description. Is there a easy way to do so?

leesei avatar Mar 21 '16 08:03 leesei