# HG changeset patch # User Jeff Hammel # Date 1294360150 28800 # Node ID 4ba6ba323871382ff8f90b680cb8775de94d4c02 # Parent b7c521f53bdaf9f850ce2a082803220b87a19868 stub out invocation of the template; this should eventually move to its own class, as we will want to subclass MakeItSoCLI, /me thinks diff -r b7c521f53bda -r 4ba6ba323871 autobot/template/template.py --- a/autobot/template/template.py Thu Jan 06 15:45:45 2011 -0800 +++ b/autobot/template/template.py Thu Jan 06 16:29:10 2011 -0800 @@ -5,7 +5,7 @@ """ import sys -from makeitso.cli import parser as optionparser +from makeitso.cli import MakeItSoCLI from makeitso.template import MakeItSoTemplate from makeitso.template import Variable @@ -28,8 +28,8 @@ look = True def main(args=sys.argv[1:]): - parser = OptionParser(usage=usage) - options, args = parser.parse_args(args) + cli = MakeItSoCLI(AutobotMasterTemplate) + template = cli.parse() if __name__ == '__main__': main()