Expand description
CliConfig and deps.toml loading.
Reuses deps_core::policy_config::PolicyConfig — the same type deps-lsp’s
DepsConfig composes — so deps-cli never parses a second, independently-maintained
copy of the policy schema (constitution principle 1).
Structs§
- CliConfig
deps-cli’s own top-level configuration, loaded fromdeps.toml.- Ignore
Rule - One
[update].ignoreentry: a dependency name, optionally scoped to specific update kinds. - Update
Config - The
[update]config section (#1119):deps-cli update’s ignore rules.
Enums§
- Config
Error - Error loading or parsing a
deps.tomlfile. - Update
Type Token - One
update_typestoken in an[update].ignoreentry.
Constants§
- DEFAULT_
CONFIG_ FILENAME - Default config file name looked up relative to the current working directory when
--configis not given (FR-014).
Functions§
- apply_
overrides - Applies
--offline/--cooldownCLI overrides onto a loadedCliConfigfor this run only (FR-015). - load
- Loads
CliConfigfromexplicit_path, or fromDEFAULT_CONFIG_FILENAMEinsidedefault_dirwhenexplicit_pathisNone. - safe_
auto_ discovered_ config - Reduces a
CliConfigloaded from an auto-discovereddeps.tomlto only the fields that cannot weaken what--fail-onobserves (spec 062 review, F1 follow-up).