diff --git a/README.md b/README.md index 1b3fe4a..6fb47d2 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ Add the following line at the end of your shell configuration file (`~/.bash_pro Close / re-open your terminal window and you're ready to go! +Note that quick setup only works for [supported tools](#supported-tools). + ## Static setup If you don't like all the magic from the quick setup and want to go with a more standard way, @@ -103,15 +105,17 @@ A solution is to supply the `SHELL` environment variable as part of the `docker ## Supported tools -All tools using the Symfony Console component are supported, -here is a non-exhaustive list : - -* composer -* php-cs-fixer -* behat -* phpspec -* robo -* deployer -* laravel artisan -* roadiz -* magento 2 console +All tools using the Symfony Console component are supported. + +However, [quick setup](#quick-setup) only works if the entrypoint is named `console` or in the following list of tools: + +* [Acquia CLI (acli)](https://github.com/acquia/cli) +* [Behat](https://docs.behat.org/en/latest/) +* [Composer](https://getcomposer.org/) +* [Deployer](https://deployer.org/) +* [Laravel Artisan](https://laravel.com/docs/8.x/artisan) +* [Magento 2 console](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/cli-cmds/cli-howto.html) +* [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) +* [phpspec](http://www.phpspec.net/en/stable/) +* [Roadiz](https://www.roadiz.io/) +* [Robo](https://github.com/consolidation/Robo) diff --git a/src/DumpCommand.php b/src/DumpCommand.php index a748b9d..d15ca46 100644 --- a/src/DumpCommand.php +++ b/src/DumpCommand.php @@ -50,15 +50,16 @@ protected function execute(InputInterface $input, OutputInterface $output): int } else { $tools = array( 'console', + 'acli', + 'artisan', + 'behat', 'composer', + 'dep', + 'magento', 'php-cs-fixer', 'phpspec', - 'behat', - 'robo', - 'dep', - 'artisan', 'roadiz', - 'magento', + 'robo', ); } diff --git a/tests/fixtures/bash/default.txt b/tests/fixtures/bash/default.txt index c574310..15ac9cc 100644 --- a/tests/fixtures/bash/default.txt +++ b/tests/fixtures/bash/default.txt @@ -43,12 +43,13 @@ _symfony() } complete -o default -F _symfony console +complete -o default -F _symfony acli +complete -o default -F _symfony artisan +complete -o default -F _symfony behat complete -o default -F _symfony composer +complete -o default -F _symfony dep +complete -o default -F _symfony magento complete -o default -F _symfony php-cs-fixer complete -o default -F _symfony phpspec -complete -o default -F _symfony behat -complete -o default -F _symfony robo -complete -o default -F _symfony dep -complete -o default -F _symfony artisan complete -o default -F _symfony roadiz -complete -o default -F _symfony magento +complete -o default -F _symfony robo