pub fn find<'a>(
spec: &'a Spec<'a>,
cmd: &Command<'_>,
) -> Option<(Vec<&'a str>, Vec<&'a CommandMeta<'a>>)>Expand description
The path and metadata for a command, found by identity within a spec.
Error::Help carries the Command the request was about, because the
parse tables are what a parse walks and the metadata is behind a feature. Rendering needs the
metadata and the path a user typed to reach it, and both are in the tree — so this walks it,
comparing addresses rather than names, which two commands can share.
None when the command is not in this spec, which means the two came from different CLIs.