Saturday, 15 August 2015

php - Symfony Console tab completion -



php - Symfony Console tab completion -

i have application symfony console based cli. application not utilize symfony framework, symfony console component.

when execute

php app/myapp

i usual overview name, version, options , registered commands shown. suppose have 1 command, called "displaykittens". want able is

php app/myapp d <tab>

and have finish to

php app/myapp displaykittens

as kinda expected in modern unix environment. unfortunately there appears no tab completion whatsoever. console component provides utility allows doing along these lines in commands themselves. not help me getting tab completion commands though. possible somehow?

i don't know if possible normal bash shell. if utilize zsh can install oh-my-zsh. there great plugin inquire for: oh-my-zsh symfony2 plugin

php symfony2 command-line-interface tab-completion

No comments:

Post a Comment