Configuration
Config is stored at~/.dria/config.json and created automatically by dria init. All values can be overridden with environment variables.
Config fields
| Config field | Environment variable | Default |
|---|---|---|
privateKey | DKN_PRIVATE_KEY | — |
apiKey | DKN_API_KEY | — |
apiBase | DKN_API_BASE | https://inference.dria.co |
network | DKN_NETWORK | base |
Example config
0o600) — only your user can read it.
Environment variable overrides
Environment variables take precedence over config file values:Output conventions
The CLI follows Unix conventions for piping:- Spinners and progress go to
stderr - Data (generated text, JSON) goes to
stdout - Spinners are suppressed when stdout is not a TTY (i.e., piped)
--jsonflag outputs raw JSON and suppresses all spinners