-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add skip-tables, structure-tables and tables to @optionset_table_selection #3195
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
Conversation
…ctionTrait::getTableSelection
|
I get this result from Not sure why it's doing that. Probably because the default value is being provided by my Unfortunately, "hidden options" are aspirational; these are not supported by Symfony Console at the moment. |
|
I am going to suggest that we simply make these defaults be some config item that is not an option. In other words, instead of: we could instead define: I'm not sure about Note that arbitrary config may be set via |
|
Can you give me an example for a command with "some config item"? |
|
This is still pretty rare, but |
…ableSelectionTrait::getTableSelection" This reverts commit ac4e1cf.
|
Are we sure that these 3 options shouldn't be shown in help? Wouldnt it be useful to supply a comma delimited list of tables via the CLI? I think thats what these options are for. |
|
@weitzman. --skip-tables-list etc. is for this purpose |
|
+1 LGTM. We could potentially rename |
|
Awesome. Thanks! |
The three settings are missing in optionset_table_selection. Drush does not load the options otherwise.
@greg-1-anderson Should i add the
@optionannotation for these options? I think they should not be visible in the help section of the command. Because its not clear how to define an array via CLI. I saw other commands have@hidden-options. What you i use?It works fine without the annotation anyways.
I have checked the examples in
example.drush.ymland it works as expected with this small fix. 👍