0ptr/commander.py
2023-06-08 18:49:00 +02:00

17 lines
288 B
Python

#!/usr/bin/env python3
import logging
import argparse
from store import Store
import importlib
import sys
from command_line import CommandLine
class Commander(CommandLine):
def do_foo(self):
store_file = 'data/store.db'
s = Store(store_file)
s.foo()
Commander().run()