docopt as alternative to argparse
-
just stumbled across this while working on a github stash command (fork, create, pull-request). somewhat specific to commandline tools, but I love this idea.... you write the help, and docopt parses the docstring and gives you an argument dict. So much cleaner than 20 lines of argparse gibberish that i forget everytime i have to use it.
anyway... thought i'd share, others may find it useful
github.com/docopt