//constructor public SQLiteConnector(ParseCommandLine options) { QueryDBPath = options.QueryDBPath; LibraryDBPath = options.LibraryDBPath; outputFilename = options.outputFileName; QueryLibraryPairsDB = options.QueryLibraryPairsDBPath; GetItemsFromDatabase(); // this opens the database and grabs all of our actual data }
static void Main(string[] args) { var options = new ParseCommandLine(); if (CommandLine.Parser.Default.ParseArguments(args, options)) { // Values are available here Console.WriteLine("Starting Program."); new SQLiteConnector(options); Console.WriteLine("Finished."); } }