~/.rime/rime.toml.
rime config init
Create a new config file. Prompts for an API key interactively.
The generated file looks like:
default_env field designates which one is active by default.
Older config files without
default_env continue to work — the top-level api_url and api_key fields are still respected as the fallback default.rime config list
List all configured environments. The currently active default environment is marked with a * in the NAME column.
rime config default
Get or set the default environment.
default_env in ~/.rime/rime.toml and confirms:
rime config show
Show the fully resolved configuration for a given environment, including where the API key comes from (config file vs. environment variable).
Example output:
rime config add
Add a named environment to ~/.rime/rime.toml. Prompts interactively for API URL, API key (input hidden), and an optional auth prefix. You cannot add an environment named default — use rime config default to change which environment is the default.
Examples:
rime config rm
Remove a named environment from ~/.rime/rime.toml. Prompts for confirmation unless --yes is passed.
rime config edit
Open ~/.rime/rime.toml in your default editor ($VISUAL or $EDITOR, falling back to nano or vi).
rime config init first if needed.
