Created
November 12, 2014 03:37
-
-
Save kmanalo/e46b13f9f7715548851c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# argparse section | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument("--email", help="send to specific email") | |
parser.add_argument("--console", action="store_true", default=False, help="push results to stdout") | |
# grab the options here from the command line, console overrides email | |
args = parser.parse_args() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment