CLIuse
capxul use env
Use this environment from now on
Runs in: devnet · staging · production · Moves money: no
Usage
capxul use env [flags] <name>Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<name> | choice | yes | The environment: staging, devnet, beta, or production |
Every command also takes the global flags.
Examples
# Use the local DevNet
$ capxul use env devnet
$ capxul use env stagingReturns
The data of the result that --json prints:
the SDK valueErrors
| Code | Exit code |
|---|---|
CLI_USAGE | 2 |
CLI_CONFIG | 2 |
CLI_STORAGE | 2 |
CLI_DEFECT | 1 |
EXPERIMENTAL_NOT_ACCEPTED | 2 |
ENVIRONMENT_NOT_CHOSEN | 2 |
CAPABILITY_UNAVAILABLE | 6 |
Generated from capxul schema use env.