Skip to main content

Configuration

Config is stored at ~/.dria/config.json and created automatically by dria init. All values can be overridden with environment variables.

Config fields

Example config

The config file is saved with restrictive permissions (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)
  • --json flag outputs raw JSON and suppresses all spinners
This means you can safely pipe output: