pub fn get_cli_configuration() -> Result<Config, MantaError>Expand description
Load cli.toml. Fails loudly if the file is missing; the error
message includes a minimal example and (when a legacy config.toml is
detected) a field-by-field migration mapping.
Reads the file at get_cli_config_file_path and layers
MANTA_*-prefixed environment variables on top (env wins).
ยงErrors
MantaError::NotFoundwhen the resolved config file does not exist on disk; the message embedsCLI_CONFIG_SAMPLE-equivalent guidance.MantaError::MissingFieldif the resolved path is not valid UTF-8 (required by the underlyingconfigcrate).MantaError::ConfigErroron TOML parse, env-var type-coercion, or builder failures.