static void Main(string[] args) { var utility = new ArtifactUtility(); utility.OnMessage += utility_OnMessage; if (CommandLine.Parser.ParseArgumentsWithUsage(args, utility)) { utility.Run(); } Console.ReadLine(); }