{"repo":"bamarni/symfony-console-autocomplete","free":true,"listed":false,"github":"https://github.com/bamarni/symfony-console-autocomplete","clone":"git clone https://github.com/bamarni/symfony-console-autocomplete.git","description":"Shell autocompletion for Symfony Console based scripts","language":"PHP","stars":489,"topics":["php","symfony-console","symfony","completion","composer","phpspec","autocompletion","behat","bash","fish-shell"],"license":null,"category":"cli-tools","readme_excerpt":"Symfony console autocomplete Enables shell autocompletion for tools based on the Symfony Console (Symfony framework, Composer, PHPSpec, Behat, etc.) Prerequisites Make sure the global composer project is configured properly with your shell. Notably, the composer global bin directory needs to be in your path. See https://getcomposer.org/doc/03-cli.md#global for instructions on how todo that. If you're using bash, you'll have to make sure programmable completion functions are available. Linux distributions usually ship it and enable it by default. On Mac OSX, you can install it with brew ( brew install bash-completion ) and enable it by adding source $(brew --prefix)/etc/bash completion at the end of your .bashrc . Installation Install the tool globally with Composer : composer global require bamarni/symfony-console-autocomplete Quick setup Add the following line at the end of your shell configuration file ( /.bash profile or /.zshrc ) : eval \"$(symfony-autocomplete)\" Close / re-open your terminal window and you're ready to go! Note that quick setup only works for 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, you can dump a static completion file for a given tool : symfony-autocomplete composer This will print the completion script for Composer to stdout. The output should be saved at a specific location depending on your OS / setup. Here are a few examples : # BASH - Ubuntu / Debian symfony-autocompl","default_branch":null,"files":null,"tree":[],"storefront":"/r/bamarni","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bamarni/symfony-console-autocomplete/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}