Skip to main content

Module config

Module config 

Source
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.
ConfigLoadResult
Result of attempting to load a configuration file.
ExperimentalConfig
Experimental features configuration.
UiConfig
User interface configuration options.

Enums§

ConfigLoadError
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.