Skip to content

Exit codes

Every command exits cleanly so you can gate on it from a shell or CI step.

CodeMeaning
0Success, including non-gated warnings
1Validation failure, or --fail-on-warnings tripped. The import was rolled back.
2Unexpected 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