Mercurial > hg > numerics
comparison kplot/template.py @ 0:48d0f28311a3
init
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 14 Aug 2014 16:26:16 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:48d0f28311a3 |
---|---|
1 #!/usr/bin/env python | |
2 | |
3 """ | |
4 kplot 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 kplotTemplate(MakeItSoTemplate): | |
13 """ | |
14 kplot template | |
15 """ | |
16 name = 'kplot' | |
17 templates = ['template'] | |
18 look = True | |
19 | |
20 class TemplateCLI(MakeItSoCLI): | |
21 """ | |
22 CLI driver for the kplot template | |
23 """ | |
24 | |
25 def main(args=sys.argv[:]): | |
26 cli = TemplateCLI() | |
27 cli(*args) | |
28 | |
29 if __name__ == '__main__': | |
30 main() | |
31 | |
32 |