- Sponsor
-
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
Support command completion (and adjust our DDEV config accordingly) #5097
Conversation
Using this natively on MacOS:
However, it doesn't work like this. Typing |
# Conflicts: # composer.json # composer.lock
Just looped back to this PR and the associated annotated-command PR. Its working well except for the fact that I have to hit tab twice. Dunno why. I havent tried testing with on OSX since I use ZSH there and that shell is not available until Drupal 10 is on Symfony 6.2. The DDEV environment in this repo is setup for testing. |
It turns out that Symfony Console 5.4+ enables completion by default and its working in Drush. This PR configures our DDEV to demonstrate that. You must have DDEV 1.19+ (recently released).
drush core:
and then TAB, I get no results on the first TAB and then good results on a second TAB. Anyone know whats up?--debug
option because Console ships with that option on itscompletion
command. Can anyone find a way to harmonize this without Drush globally removing the option?topic
command. Anyone available to help add completion for arguments and option values for other commands?This PR brings in a small change to annotated-command - consolidation/annotated-command#275. (already merged is initial work at consolidation/annotated-command#274)
Todo