stecman / symfony-console-completion

Automatic tab-key completion for Symfony console application options, arguments and parameters
MIT License
420 stars 26 forks source link

Support multi-app completion hook generation (not default behavior) #48

Closed aik099 closed 9 years ago

aik099 commented 9 years ago

The --multiple|-m option is added, that will:

Usage: /path/to/app _completion -gm results in hook generated for app alias and works even if you have 2 app in different projects.

I've also updated hook factory tests to check syntax for all generateHook parameter combinations. Before it was checking syntax for case, when all parameters were given.

Closes #44