Skip to main content

prefer_aliases_for_command_candidates

Function prefer_aliases_for_command_candidates 

Source
pub fn prefer_aliases_for_command_candidates(
    candidates: &mut Vec<RenderedCandidate>,
    query: &str,
)
Expand description

5.5.G.23.cmdline: rewrite command candidates from canonical names to user-facing aliases. The parser accepts both forms; this is a pure UX rewrite. Public so the App-side test module’s existing prefer_aliases_* tests can call it through the re-export.