Files
cs249r_book/binder
Vijay Janapa Reddi f333d8d24b feat: restore all missing maintenance functionality
🔧 Restored Critical Commands:
- clean: Clean build artifacts and restore configs
- switch: Switch active configuration format
- setup: Setup development environment
- hello: Show welcome message and quick start
- about: Show project information and stats
- check: Check for build artifacts (legacy compatibility)
- check-tags: Check for orphaned git tags

 New Modular Architecture:
- CleanCommand: Handles artifact cleanup and config restoration
- MaintenanceCommand: Handles setup, switch, hello, about operations
- All commands properly integrated into main CLI

🎯 Feature Parity Achieved:
- All original binder functionality restored
- Enhanced with better error handling
- Improved user experience with Rich UI
- Modular design for easy maintenance

The CLI migration is now 100% complete with full feature parity
2025-08-27 15:27:48 +02:00

21 lines
450 B
Python
Executable File

#!/usr/bin/env python3
"""
MLSysBook CLI v2.0 - Modular Entry Point
A refactored, modular command-line interface for the MLSysBook project.
This is the new modular version of the original binder script.
"""
import sys
from pathlib import Path
# Add the cli directory to Python path
cli_dir = Path(__file__).parent / "cli"
sys.path.insert(0, str(cli_dir))
# Import and run the main CLI
from main import main
if __name__ == "__main__":
main()