Example #1
0
def signup(args):
    username = args[0]
    token = args[1]

    if not os.path.exists("GitBank/id_rsa.pub"):
        genKeys("GitBank")

        pub, priv = loadKeys()

        agh = Github(username, token)
        agh.issues.comment("blanu/CreditCoin", 1, pub)
Example #2
0
def signup(args):
  dir=args[0]
  genKeys(dir)