Skip to main content

command_parts

Function command_parts 

Source
pub fn command_parts(cmd: &Command) -> (&'static str, Option<&Vec<String>>)
Expand description

Returns the dot-notation command name and an optional reference to the passthrough args vec for the given command variant.