Mercurial > hg > MakeItSo
diff templates/script.py @ 4:08a50935e941
add a directory for single-file templates
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 10 Nov 2010 15:43:00 -0800 |
parents | |
children | 3bf29175907c |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/script.py Wed Nov 10 15:43:00 2010 -0800 @@ -0,0 +1,16 @@ +#!/usr/bin/env + +""" +utlities related to getting JSON into couchdb +""" + +import sys +from optparse import OptionParser + +def main(args=sys.argv[:]): + usage = '%prog [options]' + parser = OptionParser(usage=usage, description=__doc__) + options, args = parser.parse_args(args) + +if __name__ == '__main__': + main()