Mercurial > hg > PaInt
view paint/main.py @ 79:8cd1fe277856
docstrings
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 28 Jan 2013 18:52:59 -0800 |
parents | 7e9eb858d086 |
children | 758a3e56a738 |
line wrap: on
line source
#!/usr/bin/env python """ python PAckage INTrospection command line script """ import commandparser import package import sys def main(args=sys.argv[1:]): """console script entry point for PaInt""" parser = commandparser.CommandParser(package.Package) parser.invoke(args) if __name__ == '__main__': main()