mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-02 10:39:10 -05:00
refactor(tito): remove doctor alias, use health as single command
Remove the doctor/health alias duplication in favor of a single 'tito system health' command for environment validation. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
@@ -9,7 +9,7 @@ Usage:
|
||||
pytest tests/environment/test_setup_validation.py -v
|
||||
|
||||
Or via TITO:
|
||||
tito system doctor --verify
|
||||
tito system health --verify
|
||||
"""
|
||||
|
||||
import sys
|
||||
@@ -402,7 +402,7 @@ def run_all_validation_tests():
|
||||
"""
|
||||
Run all validation tests and provide a summary.
|
||||
|
||||
This is called by `tito system doctor --verify` to ensure
|
||||
This is called by `tito system health --verify` to ensure
|
||||
the environment is correctly configured.
|
||||
"""
|
||||
import pytest
|
||||
@@ -426,7 +426,7 @@ def run_all_validation_tests():
|
||||
else:
|
||||
print("\n" + "="*70)
|
||||
print("❌ Some validation tests failed")
|
||||
print("🔧 Please fix the issues above and run: tito system doctor --verify")
|
||||
print("🔧 Please fix the issues above and run: tito system health --verify")
|
||||
print("="*70)
|
||||
|
||||
return exit_code
|
||||
|
||||
Reference in New Issue
Block a user