import sys from munyal.client import MunyalClient from munyal.config import get_config from munyal.config import __get_config_folder def run_client(): try: client = MunyalClient() client.start() sys.exit(0) except BaseException as e: print(e) sys.exit(1) def run_config(): if "--restart" in sys.argv: if get_config(): shutil.rmtree(__get_config_folder()) print(get_config())