public static Task<int> RunAsync<TDefinition>(
string commandLine,
CliSettings settings = null,
CancellationToken cancellationToken = default
)
[Missing <param name="commandLine"/> documentation for "M:DotMake.CommandLine.Cli.RunAsync``1(System.String,DotMake.CommandLine.CliSettings,System.Threading.CancellationToken)"]
[Missing <param name="cancellationToken"/> documentation for "M:DotMake.CommandLine.Cli.RunAsync``1(System.String,DotMake.CommandLine.CliSettings,System.Threading.CancellationToken)"]
//In Program.cs, to go async, add this single line:
await Cli.RunAsync<RootCliCommand>("NewValueForArgument1 --option-1 NewValueForOption1");
//In Program.cs, to go async, add this single line for returning exit code:
return await Cli.RunAsync<RootCliCommand>("NewValueForArgument1 --option-1 NewValueForOption1");