public void Configure(TimeWarpCommandLineBuilder aTimeWarpCommandLineBuilder) { aTimeWarpCommandLineBuilder.AddVersionOption() // middleware .UseHelp() .UseParseDirective() .UseDebugDirective() .UseSuggestDirective() .RegisterWithDotnetSuggest() .UseParseErrorReporting() .UseExceptionHandler(); }
internal static async Task <int> Main(string[] aArgumentArray) { Parser parser = new TimeWarpCommandLineBuilder().Build(); return(await parser.InvokeAsync(aArgumentArray)); }
private static async Task Main(string[] args) { Parser parser = new TimeWarpCommandLineBuilder().Build(); await parser.InvokeAsync(args); }