chore(backend): refactor mono cli file into package

This commit is contained in:
2025-08-27 16:11:19 -04:00
parent a7b596e573
commit 602a338027
11 changed files with 507 additions and 331 deletions

17
backend/cli/__main__.py Normal file
View File

@@ -0,0 +1,17 @@
"""
Main entry point for the CLI package.
Allows running with: python -m backend.cli
"""
import sys
from pathlib import Path
# Add the project root to sys.path for backend imports
project_root = Path(__file__).parent.parent.parent
sys.path.insert(0, str(project_root))
# Import the main function from within the package
from .main import main
if __name__ == "__main__":
sys.exit(main())