Exit codes
Use the exit code to pass or fail a shell or CI step.
| Code | Meaning |
|---|---|
| 0 | Success, including non-gated warnings |
| 1 | Validation failure, or --fail-on-warnings tripped. The import was rolled back. |
| 2 | Unexpected error: auth, transport, or usage |
A typical CI guard:
sf sliick docs import templates/ --target-org prod --fail-on-warnings || exit 1