pub fn substitute_template(template: &str, unit_id: &str) -> StringExpand description
Replace {id} and {model} placeholders in a command template.
If model is Some, replaces {model} with the value.
If model is None, {model} is left as-is (backward compatible).