Yiic controller functionality addition

Hello,

I find it the yiic very useful. I would like yiic to implement another small task. yiic controller does a great job at creating new controllers. I would like it to also be able to add actions to existing controllers. This is something that happens quite a few times during project development and this small change will speed things up.

Thanks in advance,

Kfir

The generation of controllers has been moved to Gii…

to add an action to a controller it would mean that the existing code be parsed to find places where to insert the access rules for the new action… so it’s very very dificult if not impossible to predict all combinations… becasue you can edit the controller… use a custom access control… and so on…