Skip to main content

Module config

Module config 

Source
Expand description

TOML config file support (--config <PATH>).

Precedence: CLI flags > config values > built-in defaults. Lists replace (never concatenate) across layers so the effective whitelist stays auditable. Unknown keys, malformed TOML, and wrong types are fatal input errors — a typo that silently does nothing is worse than a loud failure. Deliberately absent from the schema: root, report, dry_run, url, output, quiet, verbose, ignore_file — options that select what gets written where or flip write behavior must stay visible on the command line.

Structs§

ConvertSection
[convert] section: conversion options for convert and fix.
FilterSection
[filter] section: mirrors the corresponding CLI flags.
ForgeConfig
Whole config document. Every section and field is optional.
OptionsSection
[options] section: run sizing.

Functions§

load
Load and parse the config file at path. Fatal on missing / unreadable / malformed input (exit 2) — the caller treats any Err as fatal.