-
-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CommandLineApplication code smell - has too many APIs #298
Comments
Ping! Anyone have thoughts on this one? Agree, disagree? |
I think it would be a good idea to break up With regards to the ideas you proposed I feel that leaving |
Maybe I'm overly cautious as a result of starting my career on the .NET team at Microsoft, but I have a preference for minimizing breaking changes -- or at the very least, doing it gracefully. What do you think about a two-step breaking change? Step 1 - design the new API and release it in 3.0. Mark CommandLineApplication with Here's an example of one place I've used this approach:
|
That seems like a good approach. My worry was that you would keep the shoe-horned |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project. |
Closing as stale. At this point, I have no intention in addressing this problem. |
CommandLineApplication has grown into a god class. It has 116 APIs on it. I'd like to consider ways to refactor CommandLineApplication to simplify it.
The entire API as of 2.4: https://gist.github.com/natemcmaster/b524f050c7124fcf92011025a75243d3
Ideas:
Logical grouping
The text was updated successfully, but these errors were encountered: