Exit codes
Every command exits cleanly so you can gate on it from 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 |
The CI-style guard is the one-liner you expect:
sf Sliick docs import templates/ --target-org prod --fail-on-warnings || exit 1