./devel/py-docopt, Helps creating command-line interfaces

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2016Q2, Version: 0.6.2, Package name: py27-docopt-0.6.2, Maintainer: imil

Docopt helps you create most beautiful command-line interfaces easily.

The option parser is generated based on a docstring that is passed to docopt
function. docopt parses the usage pattern ("Usage: ...") and option
descriptions (lines starting with dash "-") and ensures that the program
invocation matches the usage pattern; it parses options, arguments and commands
based on that. The basic idea is that a good help message has all necessary
information in it to make a parser.


Master sites:

SHA1: 224a3ec08b56445a1bd1583aad06b00692671e04
RMD160: c2e76c031e12096906b9c6b1f7dc62a9b30336f1
Filesize: 25.294 KB

Version history: (Expand)