yiisoft/yii — pull request #455 by eagleoneraptor (2012-03-06 02:34:19+00:00)
Title: Support for default value on CConsoleCommand::prompt.

With this patch you can use default value on CConsoleCommand::prompt.

For example, when you call to:
```
$this->prompt('Please enter the output directory', '/home/user/mydir');
```

The prompt output will be:
```
Please enter the output directory [/home/user/mydir]
```

If user does not write nothing, the returned value will be "/home/user/mydir".