Skip to main content

expand_templates

Function expand_templates 

Source
pub fn expand_templates(
    source: &str,
    params: &HashMap<String, String>,
) -> String
Expand description

Expand all TEMPLATE(…) macros in a source string.

params provides externally supplied values (e.g., from CLI). Returns the expanded string.