Skip to main content

invocation

Function invocation 

Source
pub fn invocation(prompt: &str) -> Option<(&str, &str)>
Expand description

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.