-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[Console] Bash completion integration #15947
Comments
Topics which make sense (to me) here: End users
Devs
|
This comment is descriptive enough for debugging, and can be transferred into the doc: symfony/symfony#43594 (comment) |
How would I go about adding autocompletion support to a project that uses symfony/console (i.e. Winter CMS, which is built on Laravel)? Is there something that users need to run in their terminals in order to be able to send and receive the autocomplete information when interacting with the CLI entrypoint of our application ( Is anyone able to help point me in the right directions for the above questions? This feature looks pretty amazing and I'm super excited to start using it; just need a bit of help to get started :) |
I noticed autocompletion for Laravel was being demoed in the blog post, but I can't seem to find any indication of it being present in Laravel nor how to add it. |
@LukeTowers if the application uses symfony/console 5.4+, you can read the set-up instructions in You need to install a bash script (provided by this command) and then you'll automatically have completion support for command names and options. |
@wouterj thanks so much, that works absolutely fantastically! I'm so excited to add support for this to @wintercms :) |
The text was updated successfully, but these errors were encountered: