symfony / symfony-docs

The Symfony documentation
https://symfony.com/doc
Other
2.15k stars 5.1k forks source link

Document Symfony CLI autocompletion #20056

Closed tucksaun closed 1 month ago

tucksaun commented 1 month ago

I recently implemented autocompletion for any tools based on symfony-cli/console including Symfony CLI (see https://github.com/symfony-cli/console/pull/11). I also added completion forwarding for composer and console (see https://github.com/symfony-cli/symfony-cli/pull/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.

OskarStark commented 1 month ago

Then let's target 🎯 5.4

javiereguiluz commented 1 month ago

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 commented 1 month ago

Thank you @javiereguiluz 🙏