Expand description
Configuration file support for the brush shell.
This module provides TOML-based configuration file loading with the following features:
- Forward-compatible: unknown fields are ignored
- Graceful degradation: parse errors are logged but don’t prevent shell startup
- Layered configuration: defaults < config file < command-line arguments
Structs§
- Config
- Root configuration structure for the brush shell.
- Config
Load Result - Result of attempting to load a configuration file.
- Experimental
Config - Experimental features configuration.
- UiConfig
- User interface configuration options.
Enums§
- Config
Load Error - Errors that can occur when loading configuration.
Functions§
- default_
config_ path - Returns the default configuration file path for the current platform.
- load_
config - Loads configuration based on the provided options.
- load_
from_ path - Loads configuration from the specified path.