Open calebkiage opened 1 year ago
An updated version of the app for the new structure also has that same issue:
using System.CommandLine;
var rootCommand = new CliRootCommand();
var cmd = new CliCommand("test");
var cmd2 = new CliCommand("test");
cmd.Add(cmd2);
rootCommand.Add(cmd);
return await new CliConfiguration(rootCommand).InvokeAsync(args);
System.CommandLine version: 2.0.0-beta4.23326.1
When trying to build the command structure above, the parser throws the below exception:
System.CommandLine version:
2.0.0-beta4.22272.1