Documentation
¶
Overview ¶
Package mbconfig centralizes Masterblaster configuration using Viper.
It provides XDG-compliant config directory resolution with the following precedence (highest to lowest):
- --config-dir CLI flag
- MB_CONFIG_DIR environment variable
- config.toml file in the config directory
- Default: $XDG_CONFIG_HOME/mb (falls back to ~/.config/mb)
The verbose flag follows the same pattern: --verbose flag > MB_VERBOSE env.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigDir ¶
func ConfigDir() string
ConfigDir returns the resolved config directory path. Must be called after Init.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.