pub fn complete(tree: &[CommandNode], input: &str) -> Vec<String>Expand description
Return candidate next-tokens for input against tree.
If input ends with a space the last segment is considered complete
and candidates are the children of the resolved parent. Otherwise the
last whitespace-delimited token is treated as a prefix and only
children whose names start with it are returned.