click-contrib / click-man

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

Do not write man pages for 'hidden' commands #29

Closed james-ennis closed 5 years ago

james-ennis commented 5 years ago

Since Click 7.0, we have been able to mark some commands as hidden, this is useful for deprecating commands.

If you are using Click 7.0, Click.Command objects now have a Boolean 'hidden' attribute (see here), this is used to determine whether a command has been marked as hidden or not.

This commit ensures that we do not write man pages for 'hidden' commands.

Closes #27

timofurrer commented 5 years ago

Awesome :tada:

james-ennis commented 5 years ago

Thanks @timofurrer!

Quick question, do you have any idea when the next release will be?

timofurrer commented 5 years ago

I've just now released v0.3.0. 🎉

james-ennis commented 5 years ago

Perfect, thanks again @timofurrer