docs: public void validate(CommandSegments commandSegments, CommandMethod commandMethod) throws CommandMethodSyntaxException {
  
          LettuceAssert.notEmpty(commandSegments.getCommandType().name(), "Command name must not be empty");
  
          CommandDetail commandDetail = findCommandDetail(commandSegments.getCommandType().name()).orElseThrow(
                  () -> syntaxException(commandSegments.getCommandType().name(), commandMethod));
  
          validateParameters(commandDetail, commandSegments, commandMethod);
      }