Skip to main content

load_cli_config

Function load_cli_config 

Source
pub fn load_cli_config(path: &Path) -> Result<Option<CliConfig>, ConfigError>
Expand description

Load a user config from the given path.

Returns None if the file does not exist. Returns an error if the file exists but cannot be parsed or fails validation.