Guys,
How can create console in modules?
We are discussing it here: https://github.com/yiisoft/yii2/issues/2821
see there https://github.com/zelenin/yii2-i18n-module/blob/master/Bootstrap.php#L23