public @NonNull CommandComponent<?> commandComponent() {
        return this.commandComponent;
    }
Returns the command component.

@return command component
cloud-core/src/main/java/org/incendo/cloud/exception/NoCommandInLeafException.java