dhellmann / CommandLineApp (http://doughellmann.com/projects/CommandLineApp/)

The CommandLineApp class makes creating command line applications in Python as simple as defining callbacks to handle options when they appear in 'sys.argv'.

 NB: This is not the latest revision. For the latest view, go to tip.

View at rev
CommandLineApp /
filename size last modified message
docsource  
.hgignore 115 B 11 months ago clean up doc packaging
.hgtags 546 B 12 months ago Added tag 3.0.3 for changeset 382c553043e4
ChangeLog 1.9 KB 18 months ago source file encoding patch from Ben Finney
MANIFEST.in 164 B 11 months ago clean up doc packaging
README.txt 264 B 3 years ago Add introspection to produce argument description for main…
commandlineapp.py 18.0 KB 11 months ago touch up reST in docstrings
pavement.py 5.7 KB 11 months ago clean up doc packaging
test_commandlineapp.py 13.3 KB 12 months ago Fix tests based on changes from originally from Hal Wine. …

README

Base class for building command line applications.

The CommandLineApp class makes creating command line applications as
simple as defining callbacks to handle options when they appear in
'sys.argv'.

To do:

- switch to gnu_getopt?
- check command line arguments