./yiic shell config/main.php
Yii Interactive Tool v1.1 (based on Yii v1.1.1)
Please type ‘help’ for help. Type ‘exit’ to quit.
>> model Products crm_products
The following model classes are successfully generated:
If you have a ‘db’ database connection, you can test these models now with:
>> grud Products
Parse error: syntax error, unexpected T_STRING in /home/www/yii/framework/cli/commands/ShellCommand.php(147) : eval()'d code on line 1