view configuration/template.py @ 28:c516ab813079

begin stubbing serialization/deserialization
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 26 Mar 2012 16:54:37 -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()