Exemplo n.º 1
0
        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");
        }
Exemplo n.º 2
0
 public void Setup()
 {
     CommandLineOptions = new MarchOptions();
     CommandLineOptions.ProcessArgs(args);
 }