Bash completion for symfony (autocomplete)
I have just pushed into GitHub a bash autocomplete script for symfony.
This script allows to autocomplete your first level option when calling to symfony script. It is easy to install (just copy one and call it manually if you do not have access rights). All steps and working issues are in the wiki. It also accepts custom actions.
This is a working example once script is corretly installed and invoked:
Assuming symfony is in current folder and [tab] y tab key press action, this is an example of how symfony_complete works:
$ ./symfony con[tab]figure:[tab][tab]
author database
$ ./symfony doctrine:a[tab]uthor
We are pleased to know what you think and any issue you have. You can find us on GitHub.
Related links:
- symfony_complete GitHub repository
- Biko2 GitHub repository
- My personal and biko2 related profile on GitHub
¿Te ha parecido útil este post? Puedes ayudarme con unas monedillas usando dropcoin
febrero 27th, 2010 at 10:55
Nice, I’ll give it a shot !
There’s also a similar script available at http://particul.es/blog/index.php?post/Very-basic-completion-for-symfony-1.2-(zsh) that does autocomplete symfony cli. Bit it more specific to zsh (which I strongly advice by the way).
febrero 27th, 2010 at 15:51
Hi vinyll,
Nice and fast your script! Thanks to your sf-cache you get a symfony script actions and cache them. I think it is a good idea if you don’t change actions; i.e. if you have two different installs of symfony with different actions.
I cannot download your scripts from your webs… broken links?
enero 16th, 2011 at 21:03
[…] Burndowngenerator.com, Equation (con el July Innovation Award de PHPClasses incluído), Matrix, symfony autocompleter, etc. Y bueno, como colofón, uno de mis posts ha aparecido en meneame.net que, aunque no haya […]