pub fn inject_input(template: &str, input: Option<&str>) -> StringExpand description
Replace {{input}} placeholders in a template string with the given value.
If input is None, replaces with empty string.
The replacement is shell-escaped to prevent injection when the result
is passed to sh -c.