pub fn expand_command(template: &str, arguments: &str) -> StringExpand description
v1 command template expansion (prompt.ts command()): $N placeholders (last
position swallows the remaining args), then $ARGUMENTS, then append rule.
!…`` shell snippets (ConfigMarkdown.shell) are NOT evaluated — neither
built-in template uses them (documented gap for exotic config commands).