You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add json output format option to check command (#24)
* Implement json output format option. Validate against the included schema for check json output
* Control exit status for `check` command
This follows the convention used by linters like eslint, rubocop, and shellcheck.
Builds on clap's existing behavior.
All output formats (packwerk, json, csv) behave consistently:
- Exit 0 when no violations
- Exit 1 when violations found
- Exit 2 on internal errors
---------
Co-authored-by: Ivy Evans <ivy.evans@gusto.com>
Co-authored-by: Sweta Sanghavi <sweta.sanghavi@gusto.com>
0 commit comments