Drift CLIOperate Drift with explicit commands

Exit-code reference

Use exit codes for coarse automation decisions and JSON error.kind, error.httpStatus, and error.code for detail.

CodeMeaning
0Command succeeded.
2CLI usage or configuration error.
3Missing/invalid credential or Drift HTTP 401.
4Drift HTTP 403 forbidden.
5Drift HTTP 404 not found in the authenticated tenant.
6Drift HTTP 409 state or version conflict.
7Transport, DNS, TLS, connection, or timeout failure.
8Other Drift API, response-contract, output, or internal failure.

The CLI does not automatically retry mutations after any error.