17 lines
394 B
Python
17 lines
394 B
Python
"""
|
|
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()) |