24 lines
395 B
Python
24 lines
395 B
Python
#!/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__':
|
|
while True:
|
|
importlib.reload(command_line)
|
|
from command_line import CommandLine
|
|
c = Commander()
|
|
c.run()
|
|
if c.reloading == False:
|
|
break
|
|
|