cr0hn / golismero-legacy

THIS IS A LEGACY VERSION PRESERVED FOR BACKUP, DO NOT USE
http://golismero-project.com
15 stars 4 forks source link

Generate a manpage from argparse #232

Open MarioVilas opened 10 years ago

MarioVilas commented 10 years ago

This used to be possible for optparse: https://andialbrecht.wordpress.com/2009/03/17/creating-a-man-page-with-distutils-and-optparse/

However the author of the blog post tried to adapt it to argparse as requested by the Python developers and ran into some trouble: https://groups.google.com/forum/#!topic/python-ideas/L0Jpe90gxDw

Maybe we can use the same idea, but customizing it specifically for our needs, which would be simpler than a general approach.