public void printHelpMessage() {
    AttributedStringBuilder builder = new AttributedStringBuilder();
    builder.append("The following commands are supported by ")
        .append(CliConstants.APP_NAME)
        .append("by handler ")
        .append(this.getClass().getName())
        .append(" at the moment.\n\n");

    for (CliCommandType cmdType : CliCommandType.values()) {
      if (cmdType == CliCommandType.INVALID_COMMAND)
        continue;

      String cmdText = cmdType.getCommandName();
      String cmdDescription = cmdType.getDescription();

      builder.style(AttributedStyle.DEFAULT.bold())
          .append(cmdText)
          .append("\t\t")
          .style(AttributedStyle.DEFAULT)
          .append(cmdDescription)
          .append("\n");
    }
    writer.println(builder.toAnsi());
  }
Prints to terminal the help message of the commands this handler handles
samza-sql-shell/src/main/java/org/apache/samza/sql/client/impl/CliCommandHandler.java