pub fn read_config_toml() -> Result<(PathBuf, DocumentMut), MantaError>Expand description
Reads the manta CLI configuration file (cli.toml) and parses it as
TOML, honoring MANTA_CLI_CONFIG.
Returns both the file path (for later writing via
write_config_toml) and the parsed DocumentMut, which
preserves comments and formatting for in-place edits.
ยงErrors
MantaError::IoErrorif the file cannot be read.MantaError::TomlEditErrorif the contents are not valid TOML.