cobo env, cobo auth, and cobo keys.
By default, Cobo CLI stores its configurations in your home directory (~/.cobo/config.toml). You can override this location by using the --config-file <path> option. For more information about this option, see Global options.
Configuration commands
Set configuration values
To set a configuration value, use the following command:Retrieve configuration values
To retrieve a configuration value, use the following command:List all configurations
To see all your current configuration settings, use thelist subcommand:
Delete configuration Values
To remove a configuration value, use thedelete subcommand:
Important configurations
While you can store any custom configuration values, there are some key settings that Cobo CLI uses:Environment
You can set the environment using thecobo config set environment <environment> command:
dev: For development purposesprod: For production use
This command has the same effect as running
cobo env dev.Authentication method
You can set the authentication method using thecobo config set auth_method <method> command:
apikey: Authenticate with an API key.user: Authenticate with your Cobo Portal account.org: Authenticate with an Org Access Token.
This command has the same effect as running
cobo auth apikey.