~/.rime/rime.toml.
rime config init
Create a new config file. Prompts for an API key interactively.
| Flag | Default | Description |
|---|---|---|
--force | false | Overwrite an existing config file |
rime config list
List all configured environments.
| Flag | Default | Description |
|---|---|---|
--json | false | Output as JSON |
rime config show
Show the fully resolved configuration for a given environment, including where the API key comes from (config file vs. environment variable).
| Flag | Short | Default | Description |
|---|---|---|---|
--env | -e | default | Environment to show |
--json | — | false | Output as JSON |
--show-key | — | false | Display the full API key (redacted by default) |
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 init to modify the default.
| Flag | Description |
|---|---|
--url | API URL (default: https://users.rime.ai/v1/rime-tts) |
--key | API key (skips interactive prompt) |
--auth-prefix | Auth header prefix, e.g. Bearer (optional) |
rime config rm
Remove a named environment from ~/.rime/rime.toml. Prompts for confirmation unless --yes is passed.
| Flag | Short | Default | Description |
|---|---|---|---|
--yes | -y | false | Skip confirmation prompt |
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.
