click-man
click-man copied to clipboard
Use unclear in non setuptools project
All the examples assume –and some quick hacking suggests the code also assumes– that all projects use setuptools and are laid out with it in mind. My project uses GNU Autotools (because it does much more than just Python), but one of the pieces is a Python CLI app that uses Click. It should be possible to parse this Click app as well as any other, but nothing in the documentation suggests how to wire it so that it knows where to start.
It would be nice to also support pyproject.toml based projects.