Mercurial > hg > PaInt
annotate paint/main.py @ 48:abfb267e8332
debugging info; lord i hate this
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 08 May 2012 10:45:16 -0700 |
parents | 7e9eb858d086 |
children | 8cd1fe277856 |
rev | line source |
---|---|
0 | 1 #!/usr/bin/env python |
2 | |
3 """ | |
4 python PAckage INTrospection | |
5 """ | |
6 | |
26
8beffeb750b3
begin to add command parser
Jeff Hammel <jhammel@mozilla.com>
parents:
3
diff
changeset
|
7 import commandparser |
8beffeb750b3
begin to add command parser
Jeff Hammel <jhammel@mozilla.com>
parents:
3
diff
changeset
|
8 import package |
0 | 9 import sys |
10 | |
27 | 11 def main(args=sys.argv[1:]): |
0 | 12 |
26
8beffeb750b3
begin to add command parser
Jeff Hammel <jhammel@mozilla.com>
parents:
3
diff
changeset
|
13 parser = commandparser.CommandParser(package.Package) |
8beffeb750b3
begin to add command parser
Jeff Hammel <jhammel@mozilla.com>
parents:
3
diff
changeset
|
14 parser.invoke(args) |
0 | 15 |
16 if __name__ == '__main__': | |
1 | 17 main() |