Mercurial > hg > numerics
diff kplot/template.py @ 0:48d0f28311a3
init
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 14 Aug 2014 16:26:16 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kplot/template.py Thu Aug 14 16:26:16 2014 -0700 @@ -0,0 +1,32 @@ +#!/usr/bin/env python + +""" +kplot template for makeitso +""" + +import sys +from cli import MakeItSoCLI +from optparse import OptionParser +from template import MakeItSoTemplate + +class kplotTemplate(MakeItSoTemplate): + """ + kplot template + """ + name = 'kplot' + templates = ['template'] + look = True + +class TemplateCLI(MakeItSoCLI): + """ + CLI driver for the kplot template + """ + +def main(args=sys.argv[:]): + cli = TemplateCLI() + cli(*args) + +if __name__ == '__main__': + main() + +