Expand description
Diagnostics command - Unified type checking and linting across languages
Session 6 Phase 10: CLI command for running diagnostic tools.
§Features
- Auto-detect available tools (pyright, ruff, tsc, eslint, etc.)
- Run type checkers and linters in parallel
- Unified diagnostic output format
- Severity filtering (error, warning, info, hint)
- Multiple output formats (JSON, text, SARIF, GitHub Actions)
§Exit Codes (documented in –help, S6-R52 mitigation)
- 0: Success (no errors, or only warnings without –strict)
- 1: Errors found (or warnings with –strict)
- 60: No diagnostic tools available
- 61: All tools failed to run
Structs§
- Diagnostics
Args - Run type checking and linting
Enums§
- Diagnostic
Output - Additional output formats for diagnostics
- Severity
Filter - Severity filter for CLI (maps to core Severity)