24 lines
452 B
Plaintext
24 lines
452 B
Plaintext
|
#!/bin/python3
|
||
|
import os
|
||
|
import sys
|
||
|
import argparse
|
||
|
import logging
|
||
|
import json
|
||
|
import requests
|
||
|
import re
|
||
|
from getpass import getpass
|
||
|
|
||
|
# Identity attributes
|
||
|
# {'username' : '', 'full_name' : '', 'email' : '', public_key : '' }
|
||
|
|
||
|
logging.basicConfig(format='%(levelname)s\t- %(message)s')
|
||
|
logger = logging.getLogger()
|
||
|
logger.setLevel(logging.INFO)
|
||
|
|
||
|
state = {}
|
||
|
|
||
|
def createSession(args):
|
||
|
pass
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
createSession(sys.argv[1:])
|