Skip to main content

Module config

Module config 

Source

Structs§

Config
The top-level YAML configuration structure.
CustomChannel
Configuration for type: custom.
DesktopChannel
Configuration for type: desktop.
LoadedConfig
Fully-loaded config plus where it came from.
WebhookChannel
Configuration for type: webhook.

Enums§

ChannelConfig
A single channel definition.
ConfigError
Config loading/validation failures.
InitStatus
Result of running brb init.

Functions§

config_file_path
Returns the absolute path to the global config file.
init_config
Creates a default global config file if it does not already exist.
load_config
Loads config from the global config.yml and validates it.
load_config_from_path
Loads and validates config from an explicit file path.
validate_config
Validates static schema and cross-field constraints.