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
|
2023-06-08 16:49:00 +00:00
|
|
|
from command_line import CommandLine
|
2023-06-07 19:48:36 +00:00
|
|
|
|
|
|
|
class Commander(CommandLine):
|
2023-06-08 16:49:00 +00:00
|
|
|
def do_foo(self):
|
|
|
|
store_file = 'data/store.db'
|
|
|
|
s = Store(store_file)
|
|
|
|
s.foo()
|
2023-06-07 19:48:36 +00:00
|
|
|
|
|
|
|
|
2023-06-08 16:49:00 +00:00
|
|
|
Commander().run()
|