Mercurial > hg > TextShaper
view textshaper/template.py @ 3:925a7959cd0b
stub
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 23 Sep 2013 00:04:00 -0700 |
parents | 53cfd6e1ad0f |
children |
line wrap: on
line source
#!/usr/bin/env python """ TextShaper template for makeitso """ import sys from cli import MakeItSoCLI from optparse import OptionParser from template import MakeItSoTemplate class TextShaperTemplate(MakeItSoTemplate): """ TextShaper template """ name = 'TextShaper' templates = ['template'] look = True class TemplateCLI(MakeItSoCLI): """ CLI driver for the TextShaper template """ def main(args=sys.argv[:]): cli = TemplateCLI() cli(*args) if __name__ == '__main__': main()