Пример #1
0
 static void Main(string[] args)
 {
     Console.WriteLine("HeatSite version: {0}", typeof (Program).Assembly.GetName().Version);
     var distiller = new SiteDistiller();
     if (!Parser.ParseArgumentsWithUsage(args, distiller))
     {
         Environment.Exit(2);
     }
     distiller.Execute();
 }
Пример #2
0
        private static void Main(string[] args)
        {
            Console.WriteLine("HeatSite version: {0}", typeof(Program).Assembly.GetName().Version);

            var distiller = new SiteDistiller();

            if (Parser.ParseArgumentsWithUsage(args, distiller) == false)
            {
                Environment.Exit(2);
            }

            distiller.Execute();
        }