Cobo CLI is designed for use in the development environment by default. Always exercise caution when using it in the production environment, and ensure you understand the implications of each command before execution.
View current environment
To check which environment is currently active, use:Set environment
To switch to a different environment, use the following command:<environment>
with your desired environment (dev
or prod
). This command will set the specified environment as the active one for subsequent CLI commands.
If you don’t specify an environment, Cobo CLI defaults to the “development” environment.
Override environment for a single command
You can override the current environment for a single command by using the global-e
or --env
option:
Feel free to share your feedback to improve our documentation!