FairwindsOps / pluto

A cli tool to help discover deprecated apiVersions in Kubernetes
https://fairwinds.com
Apache License 2.0
2.14k stars 124 forks source link

Exit code documentation mismatch between advanced.md docs and output.go code. #494

Closed kabam-zmohamad closed 1 year ago

kabam-zmohamad commented 1 year ago

In pluto/docs/advanced.md, there are only 3 exit codes shown, but in pluto/pkg/api/output.go, there are 4+1 exit codes possible.

Would it be possible to update the documentation to reflect this? Also would it be possible to provide an example on how to use the exit codes in other Github Action steps/workflows as well?

sudermanjr commented 1 year ago

I believe the last code was added after the documentation was written and needs to be updated. Would you be willing to contribute that fix?