Exit code reference
The mapping is implemented in
src/lib/errors.ts (EXIT_CODES). Sub-classes (e.g. DevhelmAuthError, DevhelmNotFoundError) inherit their root’s exit code. Exit 2 comes from the oclif framework before the command runs, so it is not part of EXIT_CODES.
Quick decision table
Usage in CI
Gate merges on config drift
Use--detailed-exitcode with deploy --dry-run to detect config changes in a PR check:
Shell scripting
GitHub Actions
Next steps
Deploy commands
Full deploy, plan, and validate reference.
GitHub Actions
CI/CD integration with the setup-devhelm action.