use super::node::MeshNode;
use super::registry::FilterMesh;

/// Resolve a command string to the matching MeshNode (borrow from mesh).
pub fn resolve<'a>(mesh: &'a FilterMesh, program: &str, args: &[String]) -> Option<&'a MeshNode> {
    mesh.find(program, args)
}
