Mercurial > hg > MakeItSo
comparison makeitso/makeitso.py @ 176:668b01d04457
STUB: makeitso/makeitso.py makeitso/script2package.py
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Thu, 16 Jan 2014 15:44:31 -0800 |
| parents | cfd4f1e91090 |
| children | 0fd0cc154153 |
comparison
equal
deleted
inserted
replaced
| 175:5fa35ff86644 | 176:668b01d04457 |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 """ | 3 """ |
| 4 boilerplate automation: | |
| 5 | |
| 4 filesystem template interpreter | 6 filesystem template interpreter |
| 5 """ | 7 """ |
| 6 | 8 |
| 7 import inspect | 9 import inspect |
| 8 import os | 10 import os |
| 423 if dotfile: | 425 if dotfile: |
| 424 parser.add_option('--no-defaults', dest='use_defaults', | 426 parser.add_option('--no-defaults', dest='use_defaults', |
| 425 default=True, action='store_false', | 427 default=True, action='store_false', |
| 426 help="don't read ~/.makeitso") | 428 help="don't read ~/.makeitso") |
| 427 | 429 |
| 428 # TODO | 430 # TODO: |
| 429 # parser.add_option('-u', '--update', dest='update', | 431 # parser.add_option('-u', '--update', dest='update', |
| 430 # help="update the specified .ini file for variables read from this run") | 432 # help="update the specified .ini file for variables read from this run") |
| 431 # parser.add_option('-U', '--Update', dest='Update', | 433 # parser.add_option('-U', '--Update', dest='Update', |
| 432 # help="same as -u, but update the global [DEFAULTS] section") | 434 # help="same as -u, but update the global [DEFAULTS] section") |
| 433 # parser.add_option('--dry-run', dest='dry_run', | 435 # parser.add_option('--dry-run', dest='dry_run', |
