docstringargs: Python module for setting up argparse
steve+comp.lang.python at pearwood.info
Mon Apr 20 09:22:52 CEST 2015
On Monday 20 April 2015 16:20, Chris Angelico wrote:
> Looking for comments, recommendations, advice that I've just wasted
> half a day on something utterly useless, whatever it be!
> I've just posted a new (single-module) package to PyPI that simplifies
> the creation of an argparse UI for a program that consists of a number
> of subcommands. It uses function docstrings and, optionally,
> annotations, to put together the necessary argparse configs, without
> needing all the names to be written out lots of times.
How is your module different from Docopt?
More information about the Python-list