// Path: src/main/java/com/socrata/datasync/PortMethod.java
// public enum PortMethod {
//     copy_data("Copy data only"),
// 
//     copy_schema("Copy schema only"),
// 
//     copy_all("Copy schema and data");
// 
//     /**
//      * The human-readable message to store.
//      */
//     private String humanReadableValue;
// 
//     /**
//      * Private constructor (to prevent re-construction).
//      *
//      * @param newHumanReadableValue
//      *            the message associated with this enum value
//      */
//     private PortMethod(final String newHumanReadableValue) {
//         humanReadableValue = newHumanReadableValue;
//     }
// 
//     public String toString() {
//         return humanReadableValue;
//     }
// }
// 
// Path: src/main/java/com/socrata/datasync/PublishMethod.java
// public enum PublishMethod {
//     replace, upsert, append, delete
// }
// 
// Path: src/main/java/com/socrata/datasync/job/Jobs.java
// public enum Jobs {
// 
//     INTEGRATION_JOB("IntegrationJob"),
//     PORT_JOB("PortJob"),
//     GIS_JOB("GISJob"),
//     LOAD_PREFERENCES_JOB("LoadPreferences");
// 
//     private String description;
//     private Jobs(String newDescription) { description = newDescription; }
// 
//     public String toString() { return description; }
// }


import com.socrata.datasync.PortMethod;
import com.socrata.datasync.PublishMethod;
import com.socrata.datasync.job.Jobs;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.PosixParser;
import java.util.Arrays;
package com.socrata.datasync.config;




public class CommandLineOptions {

    public static final String JOB_TYPE_FLAG = "jobType";
    public static final String CONFIG_FLAG = "config";
    public static final String USER_AGENT_FLAG = "userAgent";

    public static final String DATASET_ID_FLAG = "datasetID";
    public static final String FILE_TO_PUBLISH_FLAG = "fileToPublish";
    public static final String PUBLISH_METHOD_FLAG = "publishMethod";
    public static final String HAS_HEADER_ROW_FLAG = "fileToPublishHasHeaderRow";
    public static final String PUBLISH_VIA_FTP_FLAG = "publishViaFTP";
    public static final String PUBLISH_VIA_DI2_FLAG = "publishViaHttp";
    // TODO: remove at some point, ftp_control is deprecated in favor of control
    public static final String PATH_TO_FTP_CONTROL_FILE_FLAG = "pathToFTPControlFile";
    public static final String PATH_TO_CONTROL_FILE_FLAG = "pathToControlFile";
    public static final String PROXY_USERNAME_FLAG = "proxyUsername";
// Path: src/main/java/com/socrata/datasync/PortMethod.java
// public enum PortMethod {
//     copy_data("Copy data only"),
// 
//     copy_schema("Copy schema only"),
// 
//     copy_all("Copy schema and data");
// 
//     /**
//      * The human-readable message to store.
//      */
//     private String humanReadableValue;
// 
//     /**
//      * Private constructor (to prevent re-construction).
//      *
//      * @param newHumanReadableValue
//      *            the message associated with this enum value
//      */
//     private PortMethod(final String newHumanReadableValue) {
//         humanReadableValue = newHumanReadableValue;
//     }
// 
//     public String toString() {
//         return humanReadableValue;
//     }
// }
// 
// Path: src/main/java/com/socrata/datasync/PublishMethod.java
// public enum PublishMethod {
//     replace, upsert, append, delete
// }
// 
// Path: src/main/java/com/socrata/datasync/job/Jobs.java
// public enum Jobs {
// 
//     INTEGRATION_JOB("IntegrationJob"),
//     PORT_JOB("PortJob"),
//     GIS_JOB("GISJob"),
//     LOAD_PREFERENCES_JOB("LoadPreferences");
// 
//     private String description;
//     private Jobs(String newDescription) { description = newDescription; }
// 
//     public String toString() { return description; }
// }


// Path: src/main/java/com/socrata/datasync/config/CommandLineOptions.java
import com.socrata.datasync.PortMethod;
import com.socrata.datasync.PublishMethod;
import com.socrata.datasync.job.Jobs;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.PosixParser;
import java.util.Arrays;

package com.socrata.datasync.config;




public class CommandLineOptions {

    public static final String JOB_TYPE_FLAG = "jobType";
    public static final String CONFIG_FLAG = "config";
    public static final String USER_AGENT_FLAG = "userAgent";

    public static final String DATASET_ID_FLAG = "datasetID";
    public static final String FILE_TO_PUBLISH_FLAG = "fileToPublish";
    public static final String PUBLISH_METHOD_FLAG = "publishMethod";
    public static final String HAS_HEADER_ROW_FLAG = "fileToPublishHasHeaderRow";
    public static final String PUBLISH_VIA_FTP_FLAG = "publishViaFTP";
    public static final String PUBLISH_VIA_DI2_FLAG = "publishViaHttp";
    // TODO: remove at some point, ftp_control is deprecated in favor of control
    public static final String PATH_TO_FTP_CONTROL_FILE_FLAG = "pathToFTPControlFile";
    public static final String PATH_TO_CONTROL_FILE_FLAG = "pathToControlFile";
    public static final String PROXY_USERNAME_FLAG = "proxyUsername";
    public static final String PROXY_PASSWORD_FLAG = "proxyPassword";