I am a bit confused about the behaviour of a command if I do not have implemented an index action.
I get a unknown command message if I call
./yii command
without subaction.
Shouldnt it output something like the help from the help command (or at least a message which does not leave doubts about typos etc.)? Ist there a shortcut for it, or do I have to do something like the following to get what I want?
public function actionIndex()
{
$helpController = new HelpController('dummy','dummy');
$helpController->actionIndex($this->id);
}
I know I could use the help command if I am unsure about the possible actions, but I am not so happy with that.