public static async Task <int> Main(string[] args) { var command = CommandLineOptions.RootCommand(); command.Handler = CommandHandler.Create <CommandLineOptions>((CommandLineOptions options) => InnerMain(options)); return(await command.InvokeAsync(args)); }
public static async Task <int> Main(string[] args) { PerfEventSource.StartStopEvents.CommandLineProcessingStart(); var command = CommandLineOptions.RootCommand(); command.Handler = CommandHandler.Create <CommandLineOptions>((CommandLineOptions options) => InnerMain(options)); return(await command.InvokeAsync(args)); }