Expand description
Optional cccc.toml configuration file.
A config file lets a project bake in the options it normally runs with (extensions, excludes, thresholds, …) so they don’t have to be repeated on every invocation. Resolution precedence is CLI flag > config file > built-in default: anything given explicitly on the command line always wins, the config file fills in the rest, and built-in defaults apply where neither speaks.
By default the file is discovered by walking up from the current directory,
looking for cccc.toml (then .cccc.toml) in each ancestor — so running
cccc from anywhere inside a project picks up the project’s config.
--config <path> points at an explicit file (which must exist) and
--no-config disables discovery entirely.
Structs§
- Config
- The deserialized
cccc.toml. Every field is optional; an absent field means “defer to the CLI flag or the built-in default”. Unknown keys are rejected so typos surface as errors instead of being silently ignored.