view textshaper/template.py @ 2:e5adf3414c6b

-> http://k0s.org/portfolio/ideas/cleanuptext.py
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 10 Aug 2013 22:08:26 -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()