Skip to main content

Module config

Module config 

Source
Expand description

Project configuration file support (.patchloom.toml).

Searches from the working directory upward for a .patchloom.toml file and parses it into ProjectConfig. CLI flags override config file values.

Structs§

Exclude
Output
ProjectConfig
Project-level configuration loaded from .patchloom.toml.
WritePolicy

Functions§

apply_config
Merge a ProjectConfig into [GlobalFlags], applying config values only where the CLI did not explicitly set them.
find_and_load
Search for .patchloom.toml starting from start and walking up to the filesystem root. Returns the parsed config and its directory, or None if no config file is found.