Created
March 4, 2013 07:53
-
-
Save KartikTalwar/5080747 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
parser = argparse.ArgumentParser(description='Generic API') | |
parser.add_argument('--name', dest='name', help='full name') | |
parser.add_argument('--token', dest='fbtoken', help='firebase token') | |
args = parser.parse_args() | |
name = args.name | |
firebase = args.fbtoken | |
fname, lname = name.split() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment