From 2dcf8c694651b48b81dcbc6755ac258aba95d526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Mon, 3 Jul 2023 23:51:35 +0200 Subject: [PATCH] EnonceCreate => Color result of the command --- NodeApp/src/commander/enonce/EnonceCreateCommand.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NodeApp/src/commander/enonce/EnonceCreateCommand.ts b/NodeApp/src/commander/enonce/EnonceCreateCommand.ts index 262dcc3..1a1fd89 100644 --- a/NodeApp/src/commander/enonce/EnonceCreateCommand.ts +++ b/NodeApp/src/commander/enonce/EnonceCreateCommand.ts @@ -95,10 +95,10 @@ class EnonceCreateCommand extends CommanderCommand { }).start().info(); }; - oraInfo(`Name: ${ enonce.name }`); - oraInfo(`Web URL: ${ enonce.gitlabCreationInfo.web_url }`); - oraInfo(`HTTP Repo: ${ enonce.gitlabCreationInfo.http_url_to_repo }`); - oraInfo(`SSH Repo: ${ enonce.gitlabCreationInfo.ssh_url_to_repo }`); + oraInfo(`${ chalk.magenta('Name:') } ${ enonce.name }`); + oraInfo(`${ chalk.magenta('Web URL:') } ${ enonce.gitlabCreationInfo.web_url }`); + oraInfo(`${ chalk.magenta('HTTP Repo:') } ${ enonce.gitlabCreationInfo.http_url_to_repo }`); + oraInfo(`${ chalk.magenta('SSH Repo:') } ${ enonce.gitlabCreationInfo.ssh_url_to_repo }`); } catch ( error ) { return; } -- GitLab