summaryrefslogtreecommitdiff
path: root/devel/py-docopt
AgeCommit message (Collapse)AuthorFilesLines
2014-08-31Update to 0.6.2. Fix HOMEPAGE.wiz2-7/+7
0.6.2 Wheel support.
2014-04-17Initial import of py-docopt, version 0.6.1, into the NetBSD Packages Collection.imil4-0/+37
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.