-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython.py
More file actions
30 lines (22 loc) · 755 Bytes
/
python.py
File metadata and controls
30 lines (22 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/python
# EDITME
import argparse
import sys
def othermain():
"""HELP"""
print "We are good to go."""
def __main__():
"""Get this party started"""
parser = argparse.ArgumentParser(description='DESCRIPTION HERE')
parser.add_argument('--configuration-file', '-c', dest='configfile', default='balls.cfg', help='Configuration File Yo')
parser.add_argument('--all', '-a', dest='all', action="store_true", help='stuff')
parser.add_argument('--version', '-v', action='version', version='%(prog)s 0.1')
args = parser.parse_args()
configfile = args.configfile
ALL = args.all
if not args.file:
sys.exit(parser.print_help())
else:
othermain()
if __name__ == '__main__':
__main__()