static IProgramOptions ParseCommandLine(string[] args)
 {
     var options = new CommandLineOptions.CommandLineOptions();
     var parser = new Parser(settings =>
     {
         settings.IgnoreUnknownArguments = true;
         settings.CaseSensitive = false;
     });
     if (!parser.ParseArguments(args, options))
     {
         Environment.Exit(1);
     }
     return options;
 }
        static IProgramOptions ParseCommandLine(string[] args)
        {
            var options = new CommandLineOptions.CommandLineOptions();
            var parser  = new Parser(settings =>
            {
                settings.IgnoreUnknownArguments = true;
                settings.CaseSensitive          = false;
            });

            if (!parser.ParseArguments(args, options))
            {
                Environment.Exit(1);
            }
            return(options);
        }