feat(xatu): set CLI exit statuses #80

Merged
alexion merged 1 commits from feat/xatu-cli-exit-status into main 2026-09-19 17:07:12 -04:00
Owner

Summary

  • make xatu exit 0 for no findings, 1 for findings, and 2 for fatal errors
  • print No findings. on clean runs
  • keep findings on stdout and fatal errors on stderr
  • add a CLI integration test for clean, finding, and fatal parse-error cases

Validation

  • cargo fmt -p xatu --check
  • bazel test //src/xatu:all
## Summary - make `xatu` exit `0` for no findings, `1` for findings, and `2` for fatal errors - print `No findings.` on clean runs - keep findings on stdout and fatal errors on stderr - add a CLI integration test for clean, finding, and fatal parse-error cases ## Validation - `cargo fmt -p xatu --check` - `bazel test //src/xatu:all`
alexion added 1 commit 2026-09-19 17:06:13 -04:00
alexion force-pushed feat/xatu-cli-exit-status from f6474315f8 to 87dc93513b 2026-09-19 17:06:13 -04:00 Compare
alexion merged commit 87dc93513b into main 2026-09-19 17:07:12 -04:00
alexion deleted branch feat/xatu-cli-exit-status 2026-09-19 17:07:12 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#80