Configuration¶
Configuration file support for persistent CLI defaults.
Loading Config¶
load_config ¶
Load configuration from TOML file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config_path
|
Path | None
|
Path to config file. If None, uses the default location. |
None
|
Returns:
| Type | Description |
|---|---|
PkgdbConfig
|
PkgdbConfig with values from the file, or defaults if file doesn't exist. |
Config Data Class¶
PkgdbConfig
dataclass
¶
Configuration loaded from config.toml.
All fields are optional -- missing fields use the application defaults. CLI flags always override config values.