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)); }
internal static void Main(string[] args) { Parser.Default.ParseArguments <ScaffoldTestOptions, CheckerOptions>(args) .WithParsed <ScaffoldTestOptions>(o => ScaffoldTest.Run(o)) .WithParsed <CheckerOptions>(_ => Checker.Run()); }