Closed
Description
Inside my verb handlers I have async calls, and it'd be nice if there were support for async methods this way.
e.g.,
int Main(string[] args) {
return Parser.Default.ParseArguments<AddOptions, CommitOptions, CloneOptions>(args)
.MapResultAsync(
async (AddOptions opts) => RunAddAndReturnExitCodeAsync(opts),
async (CommitOptions opts) => RunCommitAndReturnExitCodeAsync(opts),
async (CloneOptions opts) => RunCloneAndReturnExitCodeAsync(opts),
errs => 1);
}