@Override
    public @NonNull ArgumentParseResult<Boolean> parse(
            final @NonNull CommandContext<C> commandContext,
            final @NonNull CommandInput commandInput
    ) {
        if (!commandInput.isValidBoolean(this.liberal)) {
            return ArgumentParseResult.failure(new BooleanParseException(
                    commandInput.peekString(),
                    this.liberal,
                    commandContext
            ));
        }
        return ArgumentParseResult.success(commandInput.readBoolean());
    }
Construct a new boolean parser

@param liberal Whether it'll accept boolean-esque strings, or just booleans
cloud-core/src/main/java/org/incendo/cloud/parser/standard/BooleanParser.java