Skip to content

Exit Codes

ActionXM CLI uses standard exit codes for scripting and CI/CD integration.

CodeNameDescription
0SuccessCommand completed successfully
1ErrorGeneral error (API failure, not found, etc.)
2Usage ErrorInvalid command syntax or missing arguments

Per-command exit codes

actionxm auth login

  • 0 — Authenticated successfully
  • 1 — Device code expired, denied, or network error

actionxm auth logout

  • 0 — Always (logged out or was not logged in)

actionxm auth status

  • 0 — Always (displays current state regardless)

actionxm projects list

  • 0 — Projects listed successfully
  • 1 — Not authenticated or API error

actionxm projects create

  • 0 — Project created
  • 1 — Validation error (duplicate domain, missing name) or API error

actionxm projects edit

  • 0 — Project updated
  • 1 — Project not found or API error

actionxm projects remove

  • 0 — Project removed
  • 1 — Project not found or API error

actionxm status

  • 0 — Always

actionxm config get/set/list/path

  • 0 — Success
  • 1 — Unknown config key

ActionXM Analytics Platform