Hacker News new | ask | show | jobs
by sk0g 2212 days ago
Does it handle help automatically? If not, and you think that'd be a valuable addition, I would like to take a crack at implementing it :)

What I mean is if you execute script.py help, it will print out the possible options, along with their docstrings, or maybe just the first line.

1 comments

It does parse docstrings in a very basic way (https://github.com/jamesob/clii#help-text-from-docstrings) but if you end up hacking in something you want, PRs are welcome.