public @Nullable CommandNode<C> getNamedNode(final @Nullable String name) {
        for (final CommandNode<C> node : this.rootNodes()) {
            final CommandComponent<C> component = node.component();
            if (component == null || !(component.type() == CommandComponent.ComponentType.LITERAL)) {
                continue;
            }
            for (final String alias : component.aliases()) {
                if (alias.equalsIgnoreCase(name)) {
                    return node;
                }
            }
        }
        return null;
    }
Returns a named root node, if it exists

@param name root node name
@return the found root node, or {@code null}
cloud-core/src/main/java/org/incendo/cloud/CommandTree.java