0ptr/commander.py

17 lines
288 B
Python
Raw Normal View History

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