Skip to main content

resolve

Function resolve 

Source
pub fn resolve<I>(
    args: I,
    env_host: Option<String>,
    env_port: Option<String>,
    env_snapshot_path: Option<String>,
) -> Result<ConfigOutcome, ConfigError>
where I: IntoIterator<Item = String>,
Expand description

Resolve a ConfigOutcome from CLI args and explicit env values.

args includes the program name at position 0 (as produced by std::env::args); it is skipped internally.