Beispiel #1
0
 internal static void Main(string[] args)
 {
     Parser.Default.ParseArguments <ScaffoldTest.ScaffoldTestOptions, CheckerOptions, IdentifyMissingTests.IdentifyMissingTestsOptions>(args)
     .WithParsed <ScaffoldTest.ScaffoldTestOptions>(o => ScaffoldTest.Run(o))
     .WithParsed <IdentifyMissingTests.IdentifyMissingTestsOptions>(o => IdentifyMissingTests.Run(o))
     .WithParsed <CheckerOptions>(o => RunApiChecker(o));
 }
Beispiel #2
0
 internal static void Main(string[] args)
 {
     Parser.Default.ParseArguments <ScaffoldTestOptions, CheckerOptions>(args)
     .WithParsed <ScaffoldTestOptions>(o => ScaffoldTest.Run(o))
     .WithParsed <CheckerOptions>(_ => Checker.Run());
 }