caplo config
Show and change CLI settings.
caplo configSettings are saved in config.yaml in the configuration directory: CAPLO_CONFIG_DIR, else ~/.config/caplo ($XDG_CONFIG_HOME/caplo), or %AppData%\caplo on Windows. caplo workspace use saves the selected workspace there too.
Examples
caplo config listcaplo config set credential-storage fileCommands
caplo config get
Section titled “caplo config get”Show one setting.
caplo config get <key>Examples
caplo config get api-urlcaplo config list
Section titled “caplo config list”Show every setting.
caplo config list [flags]Shows the saved settings, the production defaults for those not saved, and the selected workspace. Defaults are not saved.
Examples
caplo config listcaplo config list -o jsonFlags
| Flag | Value | Default | Description |
|---|---|---|---|
--output, -o |
string | table |
output format: table, json, or yaml |
caplo config set
Section titled “caplo config set”Change one setting: api-url, issuer, client-id, credential-storage.
caplo config set <key> <value>Changes a saved setting: api-url, issuer, client-id (the OAuth client, caplo-cli by default), or credential-storage (keychain or file). Changing api-url clears the selected workspace. Run caplo auth login afterwards to start a session with the new setting.
Examples
caplo config set credential-storage filecaplo config set api-url https://api.staging.example.com