static void Main(string[] args) { XmlConfigurator.Configure(); CommandLineOptions = new MarchOptions(); CommandLineOptions.ProcessArgs(args); if (string.IsNullOrEmpty(CommandLineOptions.ArchPath) || !File.Exists(CommandLineOptions.ArchPath)) { var x = CommandLineOptions.DoUsage(); return; } switch (CommandLineOptions.JobType) { case "DCL": // deployment checklist CreateDeploymentChecklist(); break; default: break; } Console.WriteLine("done"); }
public void Setup() { CommandLineOptions = new MarchOptions(); CommandLineOptions.ProcessArgs(args); }