Skip to content
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

Document Symfony CLI autocompletion #20056

Merged

Conversation

tucksaun
Copy link
Contributor

I recently implemented autocompletion for any tools based on symfony-cli/console including Symfony CLI (see symfony-cli/console#11).
I also added completion forwarding for composer and console (see symfony-cli/symfony-cli#493).

This means that you can have the autocompletion for the 3 tools by following symfony completion --help instructions and that it will automatically use the right configuration (ie. PHP version, php.ini, etc) when running it.

Note: I opened the PR against 7.1 but technically this is not related to any Symfony version, let me know if you want me to change the target version.

@tucksaun tucksaun force-pushed the cli/document-symfony-autocompletion branch from 2561ea6 to 51d55a3 Compare July 20, 2024 15:22
@OskarStark
Copy link
Contributor

Then let's target 🎯 5.4

@javiereguiluz javiereguiluz changed the base branch from 7.1 to 5.4 July 22, 2024 06:37
@javiereguiluz javiereguiluz force-pushed the cli/document-symfony-autocompletion branch from 51d55a3 to 52f1f00 Compare July 22, 2024 06:37
@javiereguiluz javiereguiluz merged commit f594cd3 into symfony:5.4 Jul 22, 2024
3 checks passed
@javiereguiluz
Copy link
Member

Thanks Tug! Yes, we merge all Symfony CLI related docs in 5.4 because they are independent from the current Symfony version. So, we did that with this PR. Thanks!

@tucksaun tucksaun deleted the cli/document-symfony-autocompletion branch July 22, 2024 16:10
@tucksaun
Copy link
Contributor Author

Thank you @javiereguiluz 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants