click-contrib / click-man

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

How to generate man pages for each entry point ? #10

Closed gtristan closed 5 years ago

gtristan commented 7 years ago

Seems that when running:

python3 setup.py --command-packages=click_man.commands man_pages

I dont see how I can tell it to generate man pages for each of the entry points defined in setup.py

timofurrer commented 7 years ago

Unfortunately, you can't at the moment. It will just generate man pages for the first entry point in setup().

I don't have time right now to implement that option but I'd be happy to merge patches. Or you'll just wait a few more days.

cs-shadow commented 5 years ago

I have submitted https://github.com/click-contrib/click-man/pull/28 as a fix for this. Will appreciate if you could please review it.