From d72bc9dc168fe2f24a89a2002efabc890393efea Mon Sep 17 00:00:00 2001 From: Egorka Date: Fri, 14 Sep 2018 17:00:00 +0300 Subject: [PATCH] Console ModuleController install colors --- console/controllers/ModuleController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/console/controllers/ModuleController.php b/console/controllers/ModuleController.php index 546521f..81116a6 100644 --- a/console/controllers/ModuleController.php +++ b/console/controllers/ModuleController.php @@ -62,6 +62,8 @@ class ModuleController extends Controller { $path = \Yii::getAlias('@common/modules/' . $name); + echo ConsoleColor::log('Installing module: ', 'yellow') . ConsoleColor::log($name, 'white') . PHP_EOL; + // check exists if (file_exists($path)) { echo ConsoleColor::log('Module ' . $name . ' already exists', 'red') . PHP_EOL;