Expanding Yii Console Commands Through Modules.

Hi everyone,

I’m working on various modules that are used by separate Yii 1.1.x applications. For quite some time now I have been writing custom bash scripts to install those since they usually need quite a lot of integration. My only problem is that this solution is quite painstaking. A better solution would be to be able to extend the command line application’s options with a module’s install/uninstall scripts or provide a layer for module management in the same way migration management is implemented.

Has anybody done such things?