click-contrib / click-man

Automate generation of man pages for python click applications :star:
MIT License
163 stars 35 forks source link

Man pages are generated for 'hidden' commands. #27

Closed james-ennis closed 5 years ago

james-ennis commented 5 years ago

[Click 7.0] allows us to define commands as 'hidden' by defining something along the lines of:

@cli.command(short_help="Foo some bar", hidden=True)

This is useful to use when deprecating a command.

Unfortunately, man pages are still generated for these 'hidden' commands.