pub fn complete_commands(
prefix: &str,
custom_names: &[(String, String)],
) -> Vec<CompletionCandidate>Expand description
Merge built-in and custom command completions for a given prefix. Results are sorted with built-ins first, then custom commands, each group sorted by name. Custom commands whose names collide with a built-in are suppressed.