yiic shell own templates for "model" command

Hi

Where is it recommended to put my own templates for my own shell commands, i.e the $templatePath, as in:


Yii::import('system.cli.commands.shell.ModelCommand');

class ExtmodelCommand extends ModelCommand

{

        /**

         * @var string the directory that contains templates for the model command.

         * Defaults to null, meaning using 'framework/cli/views/shell/model'.

         * If you set this path and some views are missing in the directory,

         * the default views will be used.

         */

        public $templatePath;

}

which is in protected/commands/shell/ExtmodelCommand.php?

The directory is all up to you and where you think it is logic to place it.

I have put my model-templates in: application.commands.shell.views.model

And my controller-templates in application.commands.shell.views.controller and so on…