pub fn handle_check_config_with<R: ConfigEnvironment>(
colors: Colors,
env: &R,
verbose: bool,
) -> Result<bool>Expand description
Handle the --check-config flag with a custom environment.
Validates all config files and displays effective merged settings. Returns error (non-zero exit) if validation fails.
§Arguments
colors- Terminal color configuration for outputenv- Config environment for path resolution and file operationsverbose- Whether to display full merged configuration
§Returns
Returns Ok(true) if validation succeeded, or an error if validation failed.
§Errors
Returns error if the operation fails.