stecman / symfony-console-completion

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

Rename hook environment variables #31

Closed stecman closed 9 years ago

stecman commented 9 years ago

The environment variables used to pass state from the shell hooks to EnvironmentCompletionContext currently use names from BASH's completion system, which are meaningless if you're not familiar with writing completion functions for BASH: COMP_LINE, COMP_POINT and COMP_WORDBREAKS.

Since completion isn't limited to the BASH shell any more, these environment variables should be given more meaningful, shell agnostic names. For example: