From 27bb1aaf4a5add207abb5fc721dd91365a2826e5 Mon Sep 17 00:00:00 2001 From: Dillon-Brown Date: Thu, 16 Jan 2020 17:11:30 +0000 Subject: [PATCH] Change the cli to use bin/console instead of bin/cli --- bin/{cli => console} | 2 +- core/modules/Administration/Cli/App/AppThemeRebuildCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename bin/{cli => console} (99%) mode change 100755 => 100644 diff --git a/bin/cli b/bin/console old mode 100755 new mode 100644 similarity index 99% rename from bin/cli rename to bin/console index 259ac0728..d28a313a9 --- a/bin/cli +++ b/bin/console @@ -21,7 +21,7 @@ use Doctrine\ORM\EntityManager; use Doctrine\ORM\Tools\Setup; use Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver; -if (count($argv) === 1 && $argv[0] === 'bin/cli') { +if (count($argv) === 1 && $argv[0] === 'bin/console') { echo " \033[38;5;167m OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO\033[38;5;240m00000000000000000000000000000000000000000 diff --git a/core/modules/Administration/Cli/App/AppThemeRebuildCommand.php b/core/modules/Administration/Cli/App/AppThemeRebuildCommand.php index 47344c2cb..a9f2112c3 100644 --- a/core/modules/Administration/Cli/App/AppThemeRebuildCommand.php +++ b/core/modules/Administration/Cli/App/AppThemeRebuildCommand.php @@ -36,7 +36,7 @@ class AppThemeRebuildCommand extends SuiteCommand { if (!file_exists(BASE_PATH . '/cache/app/engine/')) { throw new \RuntimeException( - 'Can\'t find application engine folder, Please run bin/cli app:rebuild' + "Can't find application engine folder, Please run bin/console app:rebuild" ); }