// Path: src/main/java/com/rolfje/anonimatron/Anonimatron.java
// public static String VERSION = "UNKNOWN";


import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import static com.rolfje.anonimatron.Anonimatron.VERSION;
    private static final String OPT_CONFIGEXAMPLE = "configexample";

    private static final Options options = new Options()
            .addOption(OPT_CONFIGFILE, true,
                    "The XML Configuration file describing what to anonymize.")
            .addOption(OPT_SYNONYMFILE, true,
                    "The XML file to read/write synonyms to. "
                            + "If the file does not exist it will be created.")
            .addOption(OPT_CONFIGEXAMPLE, false,
                    "Prints out a demo/template configuration file.")
            .addOption(OPT_DRYRUN, false, "Do not make changes to the database.")
            .addOption(OPT_JDBCURL, true,
                    "The JDBC URL to connect to. " +
                            "If provided, overrides the value in the config file.")
            .addOption(OPT_USERID, true,
                    "The user id for the database connection. " +
                            "If provided, overrides the value in the config file.")
            .addOption(OPT_PASSWORD, true,
                    "The password for the database connection. " +
                            "If provided, overrides the value in the config file.");

    private final org.apache.commons.cli.CommandLine clicommandLine;

    public CommandLine(String[] arguments) throws ParseException {
        CommandLineParser parser = new DefaultParser();
        clicommandLine = parser.parse(options, arguments);
    }

    public static void printHelp() {
        System.out
// Path: src/main/java/com/rolfje/anonimatron/Anonimatron.java
// public static String VERSION = "UNKNOWN";


// Path: src/main/java/com/rolfje/anonimatron/commandline/CommandLine.java
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import static com.rolfje.anonimatron.Anonimatron.VERSION;

    private static final String OPT_CONFIGEXAMPLE = "configexample";

    private static final Options options = new Options()
            .addOption(OPT_CONFIGFILE, true,
                    "The XML Configuration file describing what to anonymize.")
            .addOption(OPT_SYNONYMFILE, true,
                    "The XML file to read/write synonyms to. "
                            + "If the file does not exist it will be created.")
            .addOption(OPT_CONFIGEXAMPLE, false,
                    "Prints out a demo/template configuration file.")
            .addOption(OPT_DRYRUN, false, "Do not make changes to the database.")
            .addOption(OPT_JDBCURL, true,
                    "The JDBC URL to connect to. " +
                            "If provided, overrides the value in the config file.")
            .addOption(OPT_USERID, true,
                    "The user id for the database connection. " +
                            "If provided, overrides the value in the config file.")
            .addOption(OPT_PASSWORD, true,
                    "The password for the database connection. " +
                            "If provided, overrides the value in the config file.");

    private final org.apache.commons.cli.CommandLine clicommandLine;

    public CommandLine(String[] arguments) throws ParseException {
        CommandLineParser parser = new DefaultParser();
        clicommandLine = parser.parse(options, arguments);
    }

    public static void printHelp() {
        System.out
                .println("\nThis is Anonimatron " + VERSION + ", a command line tool to consistently \n"