Make command line argument parsing callable
Command-line arguments are currently always parsed directly from sys
. Passing in optional argument to parse_args
will allow for easier testing and for the use of Midas programmatically from other Python programs in lieu of a proper API for now.