comparison makeitso/python_package/{{package}}/template.py @ 95:e74baa8e6df4

fix CLI interface a bit....write a test for it
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 11 Jan 2011 09:06:25 -0800
parents c434b83ab600
children ad5fd3eb6674
comparison
equal deleted inserted replaced
94:b6a46332cced 95:e74baa8e6df4
22 CLI driver for the {{project}} template 22 CLI driver for the {{project}} template
23 """ 23 """
24 24
25 def main(args=sys.argv[:]): 25 def main(args=sys.argv[:]):
26 cli = TemplateCLI() 26 cli = TemplateCLI()
27 template = cli.parse() 27 cli(args)
28 template.substitue() 28
29
30 if __name__ == '__main__': 29 if __name__ == '__main__':
31 main() 30 main()
32 31