comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:5dba84370182
1 #!/usr/bin/env python
2
3 """
4 GlobalNeighbors template for makeitso
5 """
6
7 import sys
8 from cli import MakeItSoCLI
9 from optparse import OptionParser
10 from template import MakeItSoTemplate
11
12 class GlobalNeighborsTemplate(MakeItSoTemplate):
13 """
14 GlobalNeighbors template
15 """
16 name = 'GlobalNeighbors'
17 templates = ['template']
18 look = True
19
20 class TemplateCLI(MakeItSoCLI):
21 """
22 CLI driver for the GlobalNeighbors template
23 """
24
25 def main(args=sys.argv[:]):
26 cli = TemplateCLI()
27 cli(*args)
28
29 if __name__ == '__main__':
30 main()
31
32