pub fn substitute(template: &str, params: &HashMap<String, String>) -> String
Substitute {{param}} placeholders in a string using provided values.