pub fn invocation(prompt: &str) -> Option<(&str, &str)>
The command name and arguments a prompt opens with, if it opens with one.
The arguments are trimmed and may be empty — a command invoked with nothing is still an invocation.