Mercurial > hg > configuration
view configuration/template.py @ 12:db43d30afcf5
note pattern to use
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 26 Mar 2012 10:39:01 -0700 |
parents | b3023ba3c9ca |
children |
line wrap: on
line source
#!/usr/bin/env python """ configuration template for makeitso """ import sys from cli import MakeItSoCLI from optparse import OptionParser from template import MakeItSoTemplate class configurationTemplate(MakeItSoTemplate): """ configuration template """ name = 'configuration' templates = ['template'] look = True class TemplateCLI(MakeItSoCLI): """ CLI driver for the configuration template """ def main(args=sys.argv[:]): cli = TemplateCLI() cli(*args) if __name__ == '__main__': main()