Skip to content

Instantly share code, notes, and snippets.

@rlcarrca
Created January 29, 2018 16:36
Show Gist options
  • Save rlcarrca/708f3619cce42078115812e04803b98c to your computer and use it in GitHub Desktop.
Save rlcarrca/708f3619cce42078115812e04803b98c to your computer and use it in GitHub Desktop.
loadCommandLineArgs
def loadCommandLineArgs():
parser = argparse.ArgumentParser()
parser.add_argument("-r", "--regen", help="Generate reports for all dates",
default=False, action="store_true")
return parser.parse_args()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment