Mercurial > hg > autobot
diff autobot/template.py @ 44:481f0bb18787
stub out installing the packages, for hg anyway
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 10 Jan 2011 11:33:19 -0800 |
parents | 19d555001292 |
children | ddcc1f5491aa |
line wrap: on
line diff
--- a/autobot/template.py Mon Jan 10 11:26:07 2011 -0800 +++ b/autobot/template.py Mon Jan 10 11:33:19 2011 -0800 @@ -96,8 +96,7 @@ AutobotMasterTemplate.create(self, os.path.join(self.output, 'master'), variables) AutobotSlaveTemplate.create(self, os.path.join(self.output, 'slave'), variables) -# CLI front end functions -# (console_script entry points) +# CLI front end class class AutobotMasterCLI(MakeItSoCLI): """ @@ -127,6 +126,9 @@ # call the parent MakeItSoCLI.parse(self, parser, options, args) + +### console_script front-ends + def create_master(args=sys.argv[1:]): cli = AutobotMasterCLI(AutobotMasterTemplate) template = cli.parse()