diff --git a/commander.py b/commander.py index af7658e..7905e94 100644 --- a/commander.py +++ b/commander.py @@ -1,6 +1,23 @@ #!/usr/bin/env python3 import logging import argparse +from store import Store +import importlib +import sys + +class Commander(CommandLine): + pass + + +store_file = 'data/store.db' +s = Store(store_file) if __name__ == '__main__': - print('hi!') \ No newline at end of file + while True: + importlib.reload(command_line) + from command_line import CommandLine + c = Commander() + c.run() + if c.reloading == False: + break +