Example #1
0
 static int Main(string[] args)
 {
     using (var interactiveTaskRunner = new CommandLineTaskRunner())
     {
         try
         {
             return(interactiveTaskRunner.Run());
         }
         catch (Exception e)
         {
             Console.WriteLine(e);
             Console.ReadLine();
             return(1);
         }
     }
 }
Example #2
0
 static int Main(string[] args)
 {
     using (var interactiveTaskRunner = new CommandLineTaskRunner())
     {
         try
         {
             var main = interactiveTaskRunner.Run();
             Console.ReadLine();
             return main;
         }
         catch (Exception e)
         {
             Console.WriteLine(e);
             Console.ReadLine();
             return 1;
         }
     }
 }