diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/globalneighbors/template.py	Sat Jun 24 12:03:39 2017 -0700
@@ -0,0 +1,32 @@
+#!/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()  
+
+