public static void printCommandUsage(CliCommand command, PrintWriter writer) {
    writer.println(command.getCommandType().getUsage());
    writer.flush();
  }
Prints to input {@link PrintWriter} the usage string of the input {@link CliCommand}
@param command command to get its usage string
@param writer where to print usage
samza-sql-shell/src/main/java/org/apache/samza/sql/client/util/CliUtil.java