Skip to main content

find_base_command

Function find_base_command 

Source
pub fn find_base_command(words: &[String]) -> String
Expand description

Extract the base command name from a word list, skipping env assignments and stripping path prefixes.