Was using Beta5-6 and Hosting 0.4:
await BuildCommandLine()
.UseHost((IHostBuilder host) =>
{
// ...
})
.InvokeAsync(args);
static CommandLineConfiguration BuildCommandLine()
{
var root = new RootCommand();
// ...
var config = new CommandLineConfiguration(root);
config.ThrowIfInvalid();
return config;
}
Are there any new documentation or samples available?
Was using Beta5-6 and Hosting 0.4:
Are there any new documentation or samples available?