You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was concern in our previous API review that the root namespace would be too cluttered for people to immediately find the most important "entry point" types in the library, which is why more namespaces were created. It would be good to simplify, though, and now before we remove the preview tag is the time to make breaking changes.
Here's a list of proposed changes, intended to move some of the most common types into the root System.CommandLine namespace while leaving other less commonly-used types in their more specific namespaces so as not to introduce clutter.
Remove the System.CommandLine.Builder namespace and move its two types to System.CommandLine.
Move System.CommandLine.Parsing.ParseResult to System.CommandLine.
Move System.CommandLine.Invocation.ICommandHandler to System.CommandLine.
I end up writing the following battery of namespaces into every project:
Should these namespaces be all folded into one?
This design is in conflict with .NET Framework design guidelines:
The text was updated successfully, but these errors were encountered: