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:
Vijay Janapa Reddi
2025-12-11 12:34:28 -08:00
parent 0063b539e5
commit ddf651970f
14 changed files with 28 additions and 41 deletions

View File

@@ -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