view globalneighbors/template.py @ 0:5dba84370182

initial commit; half-working prototype
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 Jun 2017 12:03:39 -0700
parents
children
line wrap: on
line source

#!/usr/bin/env python

"""
GlobalNeighbors template for makeitso
"""

import sys
from cli import MakeItSoCLI
from optparse import OptionParser
from template import MakeItSoTemplate

class GlobalNeighborsTemplate(MakeItSoTemplate):
  """
  GlobalNeighbors template
  """
  name = 'GlobalNeighbors'
  templates = ['template']
  look = True

class TemplateCLI(MakeItSoCLI):
  """
  CLI driver for the GlobalNeighbors template
  """

def main(args=sys.argv[:]):
  cli = TemplateCLI()
  cli(*args)
  
if __name__ == '__main__':
  main()