{"repo":"stecman/symfony-console-completion","free":true,"listed":false,"github":"https://github.com/stecman/symfony-console-completion","clone":"git clone https://github.com/stecman/symfony-console-completion.git","description":"Automatic tab-key completion for Symfony console application options, arguments and parameters","language":"PHP","stars":421,"topics":["shell","completion","tab-completion","zsh","bash","symfony-console","php"],"license":"MIT","category":"cli-tools","readme_excerpt":"BASH/ZSH auto-complete for Symfony Console applications This package provides automatic (tab) completion in BASH and ZSH for Symfony Console Component based applications. With zero configuration, this package allows completion of available command names and the options they provide. User code can define custom completion behaviour for argument and option values. Example of zero-config use with Composer: Zero-config use If you don't need any custom completion behaviour, you can simply add the completion command to your application: 1. Install stecman/symfony-console-completion using composer by running: 2. For standalone Symfony Console applications, add an instance of CompletionCommand to your application's Application::getDefaultCommands() method: For Symfony Framework applications, register the CompletionCommand as a service in app/config/services.yml : 3. Register completion for your application by running one of the following in a terminal, replacing [program] with the command you use to run your application (eg. 'composer'): By default this registers completion for the absolute path to you application, which will work if the program is accessible on your PATH. You can specify a program name to complete for instead using the --program option, which is required if you're using an alias to run the program. 4. If you want the completion to apply automatically for all new shell sessions, add the command from step 3 to your shell's profile (eg. /.bash profile or /.zshrc ) Note","default_branch":null,"files":null,"tree":[],"storefront":"/r/stecman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stecman/symfony-console-completion/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."}