Exit codes used by ComputeSphere
Exit codes used by ComputeSphere
The CLI uses exit codes to indicate the success or failure of a command. The normal convention is used:
- 0: The command completed successfully.
- 1: The command failed due to an error.
- 2: The command failed due to invalid input.
- 3: The command failed due to a network error.
- 4: The command failed due to an authentication error.
Examples
$ csph project list
$ echo $?
See also
- csph — ComputeSphere CLI
- csph auth — sign in, sign out, and manage API tokens
- csph apply — apply a computesphere.yaml manifest
- csph deploy — deploy an app in one shot
- csph context — show your active account, project, and environment
- csph import — import external config into a computesphere.yaml manifest
- csph accounts — manage accounts
- csph projects — manage projects
- csph environments — manage environments
- csph services — manage services
- csph deployments — manage deployments
- csph logs — view logs for a service or deployment
- csph alerts — manage alerts
- csph db — manage SphereDB databases
- csph cache — manage SphereCache caches
- csph queue — manage SphereQueue queues
- csph teams — manage teams
- csph activities — view activities
- csph profile — manage your profile
- csph configuration — Configuration via environment variables
- csph formatting — Output formatting
- csph completion — Generate the autocompletion script for the specified shell