Skip to main content

extract_command_path

Function extract_command_path 

Source
pub fn extract_command_path(matches: &ArgMatches) -> Vec<String>
Expand description

Extracts the command path from ArgMatches by following the subcommand chain.

For example, myapp db migrate produces ["db", "migrate"].