2023-06-05 20:16:29 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
import logging
|
|
|
|
import argparse
|
2023-06-07 19:48:36 +00:00
|
|
|
from store import Store
|
|
|
|
import importlib
|
|
|
|
import sys
|
|
|
|
|
|
|
|
class Commander(CommandLine):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
store_file = 'data/store.db'
|
|
|
|
s = Store(store_file)
|
2023-06-05 20:16:29 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2023-06-07 19:48:36 +00:00
|
|
|
while True:
|
|
|
|
importlib.reload(command_line)
|
|
|
|
from command_line import CommandLine
|
|
|
|
c = Commander()
|
|
|
|
c.run()
|
|
|
|
if c.reloading == False:
|
|
|
|
break
|
|
|
|
|