-
Notifications
You must be signed in to change notification settings - Fork 483
Closed
Description
I'm using it CommandLineParser from and async Task Main method.
I would like to use verbs, so I would use the recommended syntax:
CommandLine.Parser.Default.ParseArguments<Options1, Options2, Options3>(args)
.MapResult(
(Options1opts) => Method1(opts),
(Options2opts) => Method2(opts),
(Options3opts) => Method2(opts),
errs => 1);
But in my case, the methods are async. Howo do I use the MapResult in this scenario?
The same problem occurs with the WithParsed methods.
Thanks!
fisenkodv, shravan2x, marius-stanescu-archive360, cirio, nawfalhasan and 2 more
Metadata
Metadata
Assignees
Labels
No labels