view textshaper/template.py @ 1:92baf2c5652f

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