Function resolve_placeholders

Source
pub fn resolve_placeholders(
    input: &str,
    environment: &BTreeMap<String, Option<String>>,
) -> String
Expand description

Resolve all environment variable placeholders. If the variable is not found or is None, it is left unchanged.