- Fixed Bootstrap bg-dark class to use better contrasting color - Added comprehensive text-muted contrast fixes for various contexts - Improved dark theme colors for better accessibility - Fixed CSS inheritance issues for code elements in dark contexts - All color choices meet WCAG AA contrast requirements
29 lines
652 B
Python
Executable File
29 lines
652 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
UnitForge CLI Entry Point
|
|
|
|
This script provides a convenient way to run the UnitForge CLI tool
|
|
without requiring installation via pip.
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add the backend directory to the Python path
|
|
script_dir = Path(__file__).parent
|
|
backend_dir = script_dir / "backend"
|
|
sys.path.insert(0, str(backend_dir))
|
|
|
|
try:
|
|
from cli import cli
|
|
except ImportError as e:
|
|
print(f"Error importing CLI module: {e}", file=sys.stderr)
|
|
print(
|
|
"Make sure you're running this script from the unitforge directory.",
|
|
file=sys.stderr,
|
|
)
|
|
sys.exit(1)
|
|
|
|
if __name__ == "__main__":
|
|
cli()
|