Configuration Management
Understand how the Bricks CLI stores and loads configuration from ~/.bricks, including config.yaml, credentials.yaml, environment variables, and global flags.
Configuration directory
~/.bricks/
├── config.yaml # Persistent user preferences
├── credentials.yaml # Authentication token and user identity
└── logs/ # Daily log files (when logging is enabled)config.yaml
Key
Default
Description
# ~/.bricks/config.yaml
telemetry: true
log: false
log_level: "info"
log_format: "json"
skip_version_check: false
non_interactive: false
api_key: ""Command
Effect
credentials.yaml
Environment variable overrides
Variable
Overrides
Global CLI flags
Flag
Description
Configuration loading order
Log files
Last updated
Was this helpful?

