How To Generate Message File

If I remember well, in Yii 1.x it was

yiic message message/config.php

How can I automaticaly extract strings and create message files in Yii2.0?

Same way.

I am sorry for asking it is probably obvious, but I can’t find yiic.php file. I used find and there is no such a file. I am using advanced template. How should i invoke yiic?

It’s now named yii. When starting with advanced template you need to do “init” once then “yii” will be in root application dir.

Is there any other documentation than "yii help message" about this message generator?