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

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


Branch: pkgsrc-2021Q4, Version: 0.6.2, Package name: py39-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:

Filesize: 25.294 KB

Version history: (Expand)