Mercurial > hg > MakeItSo
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 3:8931be6d2c8a | 4:08a50935e941 |
|---|---|
| 1 #!/usr/bin/env | |
| 2 | |
| 3 """ | |
| 4 utlities related to getting JSON into couchdb | |
| 5 """ | |
| 6 | |
| 7 import sys | |
| 8 from optparse import OptionParser | |
| 9 | |
| 10 def main(args=sys.argv[:]): | |
| 11 usage = '%prog [options]' | |
| 12 parser = OptionParser(usage=usage, description=__doc__) | |
| 13 options, args = parser.parse_args(args) | |
| 14 | |
| 15 if __name__ == '__main__': | |
| 16 main() |
