Skip to main content

resolve

Function resolve 

Source
pub fn resolve<'a>(
    tree: &'a [CommandNode],
    query: &PaletteQuery,
) -> Option<&'a CommandNode>
Expand description

Resolve a parsed query against the command tree. Returns the leaf node’s name and its argument list if the path is complete, or None when the path refers to a group without a runnable command.