view textshaper/template.py @ 5:0a800613af9a

textshaper/main.py
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 26 Sep 2013 02:02:36 -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()