From acf720cdefd65508fc0e5183271cff03009b7441 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Thu, 11 Mar 2021 09:35:03 +0100 Subject: [PATCH] fix(CLI): Output "Plugin: " prefix only for external plugin comands --- lib/classes/CLI.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/classes/CLI.js b/lib/classes/CLI.js index ae43762f2..118548d3c 100644 --- a/lib/classes/CLI.js +++ b/lib/classes/CLI.js @@ -297,7 +297,9 @@ functionalities related to given service or current environment.` } // print the name of the plugin - this.consoleLog(chalk.yellow.underline(`Plugin: ${command.pluginName}`)); + this.consoleLog( + chalk.yellow.underline(`${command.isExternal ? 'Plugin: ' : ''}${command.pluginName}`) + ); this.displayCommandUsage(command, commandName); this.displayCommandOptions(command);