Skip to main content

extract_cd_target

Function extract_cd_target 

Source
pub fn extract_cd_target(words: &[String]) -> Option<&str>
Expand description

Return the first non-flag, non-cd argument from a cd command’s word list.