13 lines
272 B
Python
13 lines
272 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
# Add applet root to sys.path
|
|
applet_root = Path(__file__).resolve().parent
|
|
if str(applet_root) not in sys.path:
|
|
sys.path.insert(0, str(applet_root))
|
|
|
|
from src.cli import run_cli
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(run_cli())
|