static <C> @NonNull IndexCommandResult<C> of(
            final @NonNull HelpQuery<C> query,
            final @NonNull List<@NonNull CommandEntry<C>> entries
    ) {
        return IndexCommandResultImpl.of(query, entries);
    }
Creates a new result.

@param <C>     the command sender type
@param query   the query that prompted the result
@param entries the entries that were found for the query
@return the result
cloud-core/src/main/java/org/incendo/cloud/help/result/IndexCommandResult.java