code: public int run(CommandLine cl) throws IOException {
      if (cl.hasOption(ReportCommand.HELP_OPTION_NAME)) {
        System.out.println(getUsage());
        return 0;
      }
  
      GetWorkerReportOptions options = getOptions(cl);
      generateCapacityReport(options);
      return 0;
    }
docs: Runs report capacity command.
  
  @param cl CommandLine to get client options
  @return 0 on success, 1 otherwise