Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qbbr/symfony-bash-completion
Symfony and other bros console bash autocomplete
https://github.com/qbbr/symfony-bash-completion
artisan autocomplete composer deployer-php php-cs-fixer shell symfony
Last synced: about 1 month ago
JSON representation
Symfony and other bros console bash autocomplete
- Host: GitHub
- URL: https://github.com/qbbr/symfony-bash-completion
- Owner: qbbr
- License: mit
- Created: 2013-10-22T05:55:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-02-21T11:25:03.000Z (almost 6 years ago)
- Last Synced: 2023-03-10T21:02:09.222Z (almost 2 years ago)
- Topics: artisan, autocomplete, composer, deployer-php, php-cs-fixer, shell, symfony
- Language: Makefile
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Symfony and other bros console bash autocomplete
## Supports
* [Symfony Console component](https://symfony.com/doc/current/components/console.html)
* [The Symfony Installer](https://github.com/symfony/symfony-installer)
* [SensioLabs Security Checker](https://github.com/sensiolabs/security-checker)
* [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
* [Composer](https://getcomposer.org/)
* [Deployer](https://deployer.org/)
* [Laravel Artisan Console](https://laravel.com/docs/5.7/artisan)## Requirements
[bash-completion](https://github.com/scop/bash-completion) must be installed.
```bash
apt install bash-completion
```## Installation
```bash
make install
```Add the following line to your `~/.bashrc`:
```bash
# enable programmable completion features
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
```## Uninstall
```bash
make uninstall
```## Usage
Restart your bash and you should be able to autocomplete commands in a Symfony project console:
```bash
./bin/console [TAB]
console [TAB]
symfony [TAB]
./bin/security-checker
./bin/php-cs-fixer [TAB]
php-cs-fixer [TAB]
composer [TAB]
composer.phar [TAB]
deployer [TAB]
deployer.phar [TAB]
./artisan [TAB]
```