Changed
- Updated exit code handling for consistency:
- Configuration errors now return exit code 2 (was 1)
- File not found errors now return exit code 2 (was 1)
- Invalid command arguments now return exit code 2 (was 1)
- Standardized exit codes across all error conditions:
- Exit code 1: Reserved for linting issues found
- Exit code 2: Tool errors (config parse errors, file not found, invalid arguments)
Fixed
- Improved consistency in exit code handling across the entire codebase
- Updated all tests to expect correct exit codes for different error scenarios