-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
mystery config command / help doesn't respond to command abbreviations #4151
Comments
Do you know why |
I don't know, as I can't figure out what command |
Oh, helps if I read the Workaround:
|
|
I just tried using --debug, but that doesn't say which command class is being run. Might be a useful addition? |
Bah, I thought that |
Oh, right, it's never worked for disabled modules. Forgot about that. |
But it's not actually about that. I get this:
even if I delete the whole of the config_devel folder. Some mystery command is picking up |
A PR to add a debug log showing the command class + namespace would be welcome. |
Looks to be non-simple, see issue I've just filed on AC ^^. |
Ok, getting weirder. For want of debug output, I added a dump() to CommandProcessor::runCommandCallback(), to output which class is about to be run for the command. And it's NOT RUN when I do |
You are running config:delete which has an alias |
Describe the bug
I ran into this problem on a new site I'd spun up, where I forgot to enable config_devel module. I was trying to use config_devel to export config to my module:
So some command is being run, but NOT the one in config_devel (since it's not enabled -- and I checked it's not being run by adding die() to the top of the PHP file: it's not being loaded at all).
But I don't know WHICH command is being run, because the help system won't tell me!
So the problem is this: if 'drush foo' causes a command to run, because it's perhaps
detecting that 'foo' partially matches a command name, then 'drush help foo' should also work.
Expected behavior
Either:
cde
doesn't exist and not try to run a commandcde
actually is when I ask for help on itSystem Configuration
The text was updated successfully, but these errors were encountered: