archaean / Random-crap

Random-crap
0 stars 0 forks source link

Utilize better commandline parsing #4

Closed archaean closed 10 years ago

archaean commented 10 years ago

http://www.tutorialspoint.com/python/python_command_line_arguments.htm

archaean commented 10 years ago

An effort was made to make a parameterized arg parser. A script can supply a configurable opt_set to define what args and options it is expecting

_default_opt_def = [("c","config","configfile",True),
                    ("d","db","dbtype",True)
                   ]

First Stab was fd0f97f2a7678b3477f15e6e616b0a626e9e14ea Implemented (/w tests) in 2127aa7bd6f840432d2a48c717a362e26de1ff0f