dotnet / command-line-api

Command line parsing, invocation, and rendering of terminal output.
https://github.com/dotnet/command-line-api/wiki
MIT License
3.34k stars 375 forks source link

Tokenizer.Tokenize requires CliCommand rootCommand when it is already passed in via the CliConfiguration #2438

Open PonchoPowers opened 4 weeks ago

PonchoPowers commented 4 weeks ago

When calling Tokenizer.Tokenize, I'm not sure if there is a reason for why the CliCommand rootCommand is required when it is already set in CliConfiguration. Also, why is CliCommand the type instead of CliRootCommand?