public static void Main(string[] args) { var o = @" ,((((( #, /( (/ #, /( (/ ,#, /( #/#, (/ ,# /( .#(/ ,#, ,# ,# /( .#, // .#, ,# ,# #* .#, // .(/ ,# #, /( .#, // (/ ,( #,#. (#* (# (/.( # ,#. *# ,#. ,# (( .#. /( (( #* .#, /( .#, /#. (( #* *#, /( .#, ,#. (( #* *# /( .#/ ,#..#* *# #( (/ ,* /# #, (/ /# #, /#####, ***** .*** *** ***. **** *** **. / #@. # ,&@* # &@ %@% %@. (@( #@. # ,. @@, # &@ #,@# (/@. ,./@, #@. # ,. ,@@ # &@ # ,@@ ( /@. * %@/ (@. # ,. /@@.# &@ # *@@ ( /@. # @@. .@/ ,. *. *@& &@ # @@ /@. ( .@@ ./#((, *//* / ////. ///. . ////,/// .////. "; System.Console.WriteLine(string.Empty); System.Console.WriteLine(o); System.Console.WriteLine(string.Empty); var app = new CommandLineApplication { Name = "Unima.Console", FullName = "C# mutation testing" }; app.HelpOption("-?|-h|--help"); app.Command("local", a => MutateLocalConfiguration.Configure(a)); app.Command("git", a => MutateGitConfiguration.Configure(a)); app.OnExecute(() => new RootCommand(app).RunAsync().Wait()); var result = app.Execute(args); Environment.Exit(result); }
public static void Main(string[] args) { var o = @" __.....__ .-'' '. .| / .-''""'-. `. .| .-,.--. .' |_ / /________\ \ .' |_ | .-. | __ .' || | _ .' | _ _ | | | | .:--.'. '--. .-'\ .-------------' .' |'--. .-' | ' / | | | | |/ | \ | | | \ '-.____...---. . | / | | .' | .' | | | '- `"" __ | | | | `. .'.'.'| |// | | / | / | | | .'.''| | | '.' `''-...... -'.'.'.-' / | '.'| `'. | | | / / | |_ | / .' \_.' | / ' .'| '/|_| \ \._,\ '/ `'-' `'-' `-' `--' `--' `"""; System.Console.WriteLine(string.Empty); System.Console.WriteLine(o); System.Console.WriteLine(string.Empty); System.Console.WriteLine($"\t v{System.Reflection.Assembly.GetEntryAssembly().GetName().Version}"); System.Console.WriteLine(string.Empty); var app = new CommandLineApplication { Name = "Testura.Mutation.Console", FullName = "C# mutation testing" }; app.HelpOption("-?|-h|--help"); app.Command("local", a => MutateLocalConfiguration.Configure(a)); app.OnExecute(() => new RootCommand(app).RunAsync().Wait()); try { var result = app.Execute(args); Environment.Exit(result); } catch (Exception ex) { Log.Error(ex.Message); Environment.Exit(-1); } }