Skip to main content

command_score

Function command_score 

Source
pub fn command_score(c: &Command, needle: &str) -> Option<i32>
Expand description

Best fuzzy score of needle across a command’s name/aliases/desc, with the name weighted highest and the description lowest.