// Path: vault/vault-hold-migration-api/src/main/java/com/google/vault/chatmigration/MigrationHelper.java
// enum MigrationOptions {
//   GENERATE_REPORT("a", "genholdreport", "Generate Hold Report"),
//   DUPLICATE_HOLDS("b", "duplicateholds", "Duplicate Gmail Holds to Hangouts Chat"),
//   REPORT_FILE("f", "reportfile", "Path to holds report file"),
//   ERROR_FILE("e", "errorfile", "Path to error report file"),
//   INCLUDE_ROOMS("g", "includerooms", "Include Rooms when duplicating holds to Hangouts Chat"),
//   HELP("h", "help", "Options Help");
// 
//   private final String option;
//   private final String longOpt;
//   private final String description;
// 
//   MigrationOptions(String opt, String longOpt, String description) {
//     this.option = opt;
//     this.longOpt = longOpt;
//     this.description = description;
//   }
// 
//   public String getOption() {
//     return option;
//   }
// }


import com.google.api.services.admin.directory.Directory;
import com.google.api.services.vault.v1.Vault;
import com.google.vault.chatmigration.MigrationHelper.MigrationOptions;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVPrinter;
package com.google.vault.chatmigration;


public class QuickStart {

  private static final Logger LOGGER = Logger.getLogger(QuickStart.class.getName());

  private static boolean hasHelpOption(String... args) throws ParseException {
    boolean hasHelp = false;

    Options helpOptions = new Options().addOption(MigrationHelper.helpOption);
    CommandLine cl = new DefaultParser().parse(helpOptions, args, true);

// Path: vault/vault-hold-migration-api/src/main/java/com/google/vault/chatmigration/MigrationHelper.java
// enum MigrationOptions {
//   GENERATE_REPORT("a", "genholdreport", "Generate Hold Report"),
//   DUPLICATE_HOLDS("b", "duplicateholds", "Duplicate Gmail Holds to Hangouts Chat"),
//   REPORT_FILE("f", "reportfile", "Path to holds report file"),
//   ERROR_FILE("e", "errorfile", "Path to error report file"),
//   INCLUDE_ROOMS("g", "includerooms", "Include Rooms when duplicating holds to Hangouts Chat"),
//   HELP("h", "help", "Options Help");
// 
//   private final String option;
//   private final String longOpt;
//   private final String description;
// 
//   MigrationOptions(String opt, String longOpt, String description) {
//     this.option = opt;
//     this.longOpt = longOpt;
//     this.description = description;
//   }
// 
//   public String getOption() {
//     return option;
//   }
// }


// Path: vault/vault-hold-migration-api/src/main/java/com/google/vault/chatmigration/QuickStart.java
import com.google.api.services.admin.directory.Directory;
import com.google.api.services.vault.v1.Vault;
import com.google.vault.chatmigration.MigrationHelper.MigrationOptions;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVPrinter;

package com.google.vault.chatmigration;


public class QuickStart {

  private static final Logger LOGGER = Logger.getLogger(QuickStart.class.getName());

  private static boolean hasHelpOption(String... args) throws ParseException {
    boolean hasHelp = false;

    Options helpOptions = new Options().addOption(MigrationHelper.helpOption);
    CommandLine cl = new DefaultParser().parse(helpOptions, args, true);

    if (cl.hasOption(MigrationOptions.HELP.getOption())) {