Skip to content

Commit

Permalink
Merge pull request #67 from danepowell/acli
Browse files Browse the repository at this point in the history
Support Acquia CLI
  • Loading branch information
ktomk authored Oct 24, 2021
2 parents aac1036 + c28782e commit 60c3474
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 22 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
11 changes: 6 additions & 5 deletions src/DumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
}

Expand Down
11 changes: 6 additions & 5 deletions tests/fixtures/bash/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 60c3474

Please sign in to comment.