static void Main(string[] args) { Log.Logger = new LoggerConfiguration() .WriteTo.Console(outputTemplate: "{Level:u1} {Message:lj}{NewLine}{Exception}") .CreateLogger(); if (args.Length != 1) { return; } switch (args[0]) { case "extractor-transparency-stats": TransparencyStats.Report(TransparencyStats.ExtractorTable()); break; } }
static void Main(string[] args) { Log.Logger = new LoggerConfiguration() .WriteTo.Console(outputTemplate: "{Message:lj}{NewLine}{Exception}") .CreateLogger(); if (args.Length < 1) { return; } switch (args[0]) { case "footprint": TemplateFootprint.Report(); break; case "accuracy": ScalarAccuracy.Report(); break; case "extractor-transparency-stats": TransparencyStats.Report(TransparencyStats.ExtractorTable()); break; case "extractor-transparency-files": if (args.Length < 2) { return; } TransparencyFile.Extractor(args[1]); break; case "normalized-extractor-transparency-files": if (args.Length < 2) { return; } TransparencyFile.ExtractorNormalized(args[1]); break; } }