Mercurial > hg > PaInt
view paint/main.py @ 40:06f21791eba1
add yet another indirection layer
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 30 Mar 2012 15:58:13 -0700 |
parents | 7e9eb858d086 |
children | 8cd1fe277856 |
line wrap: on
line source
#!/usr/bin/env python """ python PAckage INTrospection """ import commandparser import package import sys def main(args=sys.argv[1:]): parser = commandparser.CommandParser(package.Package) parser.invoke(args) if __name__ == '__main__': main()