@API(status = API.Status.STABLE)
    public @NonNull Collection<@NonNull String> rootCommands() {
        return this.commandTree.rootNodes()
                .stream()
                .map(CommandNode::component)
                .filter(Objects::nonNull)
                .filter(component -> component.type() == CommandComponent.ComponentType.LITERAL)
                .map(CommandComponent::name)
                .collect(Collectors.toList());
    }
Returns all root command names.

@return Root command names.
cloud-core/src/main/java/org/incendo/cloud/CommandManager.java