-
Notifications
You must be signed in to change notification settings - Fork 422
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
Consider providing API for modifying the model at initialization #1259
Comments
So there is a single issue I see with this approach, the use case is possible, but it's centralized and not context aware ( e.g. all subcommands must be removed from root of command line ) , actually I though more about removing subcommands from a command that declares it. I'll do some initial implementation with preprocessors ( the preprocessor method will be called during model build time ), and than we'll have more concrete definition of how I picture it. |
Sorry for stalling on this, I'm currently busy, when I have spare time, I'll look into this. |
@MarkoMackic not at all, take your time! |
@remkop I finished inital proposal, now I need feedback. But you'll get the usecase from the tests. |
This reverts commit 2d64988.
This reverts commit bbb8e5e.
This reverts commit 2d64988.
This reverts commit bbb8e5e.
This is a follow-up ticket from discussion on #1256 and #1217.
The use case raised by @MarkoMackic is as follows (Marko, please comment if I missed anything):
My initial reaction is that this is already possible with code like this:
@MarkoMackic can you clarify why the above is unsatisfactory and what you would like to see instead?
The text was updated successfully, but these errors were encountered: