CLI
Config
Read, write, and edit the CLI config file at ~/.expensicat/config.toml
The CLI persists environment, output preferences, and default org in ~/.expensicat/config.toml. See Configuration for available keys.
config list
Print all config values.
expensicat config list
expensicat config list --json| Flag | Description |
|---|---|
--json | Output as JSON |
config get
Read a single config value by key.
expensicat config get env
expensicat config get default_org_id| Arg | Description |
|---|---|
<key> | Config key (e.g. env, api_url, default_format, default_org_id) |
config set
Update a config value.
expensicat config set env staging
expensicat config set default_format json| Arg | Description |
|---|---|
<key> | Config key |
<value> | New value |
config edit
Open the config file in $EDITOR.
expensicat config edit