@Override
    public @NonNull ArgumentParseResult<String> parse(
            final @NonNull CommandContext<C> commandContext,
            final @NonNull CommandInput commandInput
    ) {
        final String string = commandInput.peekString();
        if (this.allAcceptedAliases.contains(string)) {
            commandInput.readString();
            return ArgumentParseResult.success(this.name);
        }
        return ArgumentParseResult.failure(new IllegalArgumentException(string));
    }
Creates a new literal parser that accepts the given {@code name} and {@code aliases}.

@param name    the literal name
@param aliases the aliases
@param <C>     the command sender type
@return the created parser
cloud-core/src/main/java/org/incendo/cloud/parser/standard/LiteralParser.java