@API(status = API.Status.STABLE)
        public @NonNull Builder<C, T> withAliases(final @NonNull Collection<@NonNull String> aliases) {
            final Set<String> filteredAliases = new HashSet<>();
            for (final String alias : aliases) {
                if (alias.isEmpty()) {
                    continue;
                }
                if (alias.length() > 1) {
                    throw new IllegalArgumentException(
                            String.format(
                                    "Alias '%s' has name longer than one character. This is not allowed",
                                    alias
                            )
                    );
                }
                filteredAliases.add(alias);
            }
            return new Builder<>(
                    this.name,
                    filteredAliases.toArray(new String[0]),
                    this.description,
                    this.permission,
                    this.commandComponent,
                    this.mode
            );
        }
Create a new builder instance using the given flag aliases.
These may at most be one character in length

@param aliases Flag aliases
@return New builder instance
cloud-core/src/main/java/org/incendo/cloud/parser/flag/CommandFlag.java