Mercurial > hg > MakeItSo
changeset 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 | 8931be6d2c8a |
children | f064be514e53 |
files | templates/README.txt templates/script.py |
diffstat | 2 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/README.txt Wed Nov 10 15:43:00 2010 -0800 @@ -0,0 +1,1 @@ +Example single-file templates
--- /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()