requesting option to add COMMANDS section to man pages via GenManTree #680
Labels
area/docs-generation
Generation of docs via Cobra
triage/needs-triage
Needs to be placed into a milestone or be closed by maintainers
First, thanks for developing cobra! It's very useful.
It would be great if
GenManTree
could produce man pages with aCOMMANDS
section that would list all of the sub-commands along with theShort:
description. Maybe this could be an option enabled via something like this"Although
COMMANDS
is not a canonical section (as listed inman man-pages
), it is sometimes included for programs that follow a command subcommand structure. Some Linux examples include:Since cobra encourages a command subcommand structure, this feature seems like a very natural feature for cobra to support.
The text was updated successfully, but these errors were encountered: