Skip to content

Commit 60c3474

Browse files
authored
Merge pull request #67 from danepowell/acli
Support Acquia CLI
2 parents aac1036 + c28782e commit 60c3474

File tree

3 files changed

+28
-22
lines changed

3 files changed

+28
-22
lines changed

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Add the following line at the end of your shell configuration file (`~/.bash_pro
3939

4040
Close / re-open your terminal window and you're ready to go!
4141

42+
Note that quick setup only works for [supported tools](#supported-tools).
43+
4244
## Static setup
4345

4446
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
103105

104106
## Supported tools
105107

106-
All tools using the Symfony Console component are supported,
107-
here is a non-exhaustive list :
108-
109-
* composer
110-
* php-cs-fixer
111-
* behat
112-
* phpspec
113-
* robo
114-
* deployer
115-
* laravel artisan
116-
* roadiz
117-
* magento 2 console
108+
All tools using the Symfony Console component are supported.
109+
110+
However, [quick setup](#quick-setup) only works if the entrypoint is named `console` or in the following list of tools:
111+
112+
* [Acquia CLI (acli)](https://github.com/acquia/cli)
113+
* [Behat](https://docs.behat.org/en/latest/)
114+
* [Composer](https://getcomposer.org/)
115+
* [Deployer](https://deployer.org/)
116+
* [Laravel Artisan](https://laravel.com/docs/8.x/artisan)
117+
* [Magento 2 console](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/cli-cmds/cli-howto.html)
118+
* [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
119+
* [phpspec](http://www.phpspec.net/en/stable/)
120+
* [Roadiz](https://www.roadiz.io/)
121+
* [Robo](https://github.com/consolidation/Robo)

src/DumpCommand.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,16 @@ protected function execute(InputInterface $input, OutputInterface $output): int
5050
} else {
5151
$tools = array(
5252
'console',
53+
'acli',
54+
'artisan',
55+
'behat',
5356
'composer',
57+
'dep',
58+
'magento',
5459
'php-cs-fixer',
5560
'phpspec',
56-
'behat',
57-
'robo',
58-
'dep',
59-
'artisan',
6061
'roadiz',
61-
'magento',
62+
'robo',
6263
);
6364
}
6465

tests/fixtures/bash/default.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ _symfony()
4343
}
4444

4545
complete -o default -F _symfony console
46+
complete -o default -F _symfony acli
47+
complete -o default -F _symfony artisan
48+
complete -o default -F _symfony behat
4649
complete -o default -F _symfony composer
50+
complete -o default -F _symfony dep
51+
complete -o default -F _symfony magento
4752
complete -o default -F _symfony php-cs-fixer
4853
complete -o default -F _symfony phpspec
49-
complete -o default -F _symfony behat
50-
complete -o default -F _symfony robo
51-
complete -o default -F _symfony dep
52-
complete -o default -F _symfony artisan
5354
complete -o default -F _symfony roadiz
54-
complete -o default -F _symfony magento
55+
complete -o default -F _symfony robo

0 commit comments

Comments
 (0)