feat(sec): initial release v1.0.0-alpha - ergonomic query routing engine
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
BASE_DIR = Path(__file__).resolve().parent
|
||||
if str(BASE_DIR) not in sys.path:
|
||||
sys.path.insert(0, str(BASE_DIR))
|
||||
if str(BASE_DIR.parent) not in sys.path:
|
||||
sys.path.insert(0, str(BASE_DIR.parent))
|
||||
|
||||
try:
|
||||
from sec.src.cli import run_cli
|
||||
except ImportError:
|
||||
from src.cli import run_cli
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(run_cli(sys.argv[1:]))
|
||||
Reference in New Issue
Block a user