static void Main(string[] args) { var options = new ParseCommandLine(); if (CommandLine.Parser.Default.ParseArguments(args, options)) { Console.WriteLine("Starting Program."); SQLiteConnector newConnection = new SQLiteConnector(options);//.ToFile(); // this creates a new SortPairs and outputs the info to file/ Console.WriteLine("Finished. Press any key to exit"); } }
//constructor public SQLiteConnector(ParseCommandLine options) { inputDir = options.InputDir; GetItemsFromDatabase(); }