15 lines
367 B
Python
Executable File
15 lines
367 B
Python
Executable File
#!/usr/bin/env python3
|
|
import os
|
|
import sys
|
|
|
|
# Ensure the project root is in the Python path
|
|
SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
|
|
PROJECT_ROOT = os.path.abspath(os.path.join(SCRIPT_DIR, '..'))
|
|
if PROJECT_ROOT not in sys.path:
|
|
sys.path.insert(0, PROJECT_ROOT)
|
|
|
|
from ytops_client.cli import main
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|