Exit Codes
ActionXM CLI uses standard exit codes for scripting and CI/CD integration.
| Code | Name | Description |
|---|---|---|
0 | Success | Command completed successfully |
1 | Error | General error (API failure, not found, etc.) |
2 | Usage Error | Invalid command syntax or missing arguments |
Per-command exit codes
actionxm auth login
0— Authenticated successfully1— 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 sites list
0— Sites listed successfully1— Not authenticated or API error
actionxm sites select
0— Site selected1— Site not found or not authenticated
actionxm status
0— Always
actionxm config get/set/list/path
0— Success1— Unknown config key