From 6833b61a925099b43cb7e2f04491fe02ad91d33b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Fri, 30 Jun 2023 14:20:17 +0200
Subject: [PATCH] Commander => Change some descriptions

---
 NodeApp/src/commander/enonce/EnonceCreateCommand.ts    | 10 +++++-----
 NodeApp/src/commander/session/App/SessionAppCommand.ts |  2 +-
 .../commander/session/App/SessionAppLoginCommand.ts    |  6 +++---
 .../commander/session/App/SessionAppLogoutCommand.ts   |  4 ++--
 .../commander/session/Gitlab/SessionGitlabCommand.ts   |  2 +-
 .../session/Gitlab/SessionGitlabLoginCommand.ts        |  4 ++--
 .../session/Gitlab/SessionGitlabLogoutCommand.ts       |  4 ++--
 7 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/NodeApp/src/commander/enonce/EnonceCreateCommand.ts b/NodeApp/src/commander/enonce/EnonceCreateCommand.ts
index a5cf091..b4591ee 100644
--- a/NodeApp/src/commander/enonce/EnonceCreateCommand.ts
+++ b/NodeApp/src/commander/enonce/EnonceCreateCommand.ts
@@ -26,11 +26,11 @@ class EnonceCreateCommand extends CommanderCommand {
 
     protected defineCommand() {
         this.command
-        .description('Create a new repository for an enonce.')
-        .requiredOption('-n, --name <name>', 'name of the enonce.')
-        .option('-i, --members_id <ids...>', 'list of members ids (teaching staff) to add to the repository.')
-        .option('-m, --members_username <usernames...>', 'list of members username (teaching staff) to add to the repository.')
-        .option('-t, --template <string>', 'id or url of the template (http(s) and ssh urls are possible).')
+        .description('create a new repository for an enonce')
+        .requiredOption('-n, --name <name>', 'name of the enonce')
+        .option('-i, --members_id <ids...>', 'list of members ids (teaching staff) to add to the repository')
+        .option('-u, --members_username <usernames...>', 'list of members username (teaching staff) to add to the repository')
+        .option('-t, --template <string>', 'id or url of the template (http(s) and ssh urls are possible)')
         .action(this.commandAction.bind(this));
     }
 
diff --git a/NodeApp/src/commander/session/App/SessionAppCommand.ts b/NodeApp/src/commander/session/App/SessionAppCommand.ts
index 0aeda2f..29b3f08 100644
--- a/NodeApp/src/commander/session/App/SessionAppCommand.ts
+++ b/NodeApp/src/commander/session/App/SessionAppCommand.ts
@@ -20,7 +20,7 @@ class SessionAppCommand extends CommanderCommand {
 
     protected defineCommand() {
         this.command
-        .description('manage application session.');
+        .description('manage application session');
     }
 
     protected defineSubCommands() {
diff --git a/NodeApp/src/commander/session/App/SessionAppLoginCommand.ts b/NodeApp/src/commander/session/App/SessionAppLoginCommand.ts
index 5575036..cb98ef7 100644
--- a/NodeApp/src/commander/session/App/SessionAppLoginCommand.ts
+++ b/NodeApp/src/commander/session/App/SessionAppLoginCommand.ts
@@ -21,9 +21,9 @@ class SessionAppLoginCommand extends CommanderCommand {
 
     protected defineCommand() {
         this.command
-        .description('login into the application.')
-        .requiredOption('-u, --user <string>', '[required] username to use when connecting to server.')
-        .option('-p, --password <string>', 'password to use when connecting to server. If password is not given it\'s asked.')
+        .description('login into the application')
+        .requiredOption('-u, --user <string>', '[required] username to use when connecting to server')
+        .option('-p, --password <string>', 'password to use when connecting to server. If password is not given it\'s asked')
         .action(this.commandAction.bind(this));
     }
 
diff --git a/NodeApp/src/commander/session/App/SessionAppLogoutCommand.ts b/NodeApp/src/commander/session/App/SessionAppLogoutCommand.ts
index 6ab3f85..e91555d 100644
--- a/NodeApp/src/commander/session/App/SessionAppLogoutCommand.ts
+++ b/NodeApp/src/commander/session/App/SessionAppLogoutCommand.ts
@@ -21,8 +21,8 @@ class SessionAppLogoutCommand extends CommanderCommand {
 
     protected defineCommand() {
         this.command
-        .description('logout of the application.')
-        .option('-f, --force', 'attempt to logout without prompting for confirmation.')
+        .description('logout of the application')
+        .option('-f, --force', 'attempt to logout without prompting for confirmation')
         .action(this.commandAction.bind(this));
     }
 
diff --git a/NodeApp/src/commander/session/Gitlab/SessionGitlabCommand.ts b/NodeApp/src/commander/session/Gitlab/SessionGitlabCommand.ts
index 90b805b..58cb860 100644
--- a/NodeApp/src/commander/session/Gitlab/SessionGitlabCommand.ts
+++ b/NodeApp/src/commander/session/Gitlab/SessionGitlabCommand.ts
@@ -20,7 +20,7 @@ class SessionGitlabCommand extends CommanderCommand {
 
     protected defineCommand() {
         this.command
-        .description('manage Gitlab session.');
+        .description('manage Gitlab session');
     }
 
     protected defineSubCommands() {
diff --git a/NodeApp/src/commander/session/Gitlab/SessionGitlabLoginCommand.ts b/NodeApp/src/commander/session/Gitlab/SessionGitlabLoginCommand.ts
index d7f2f56..30c9241 100644
--- a/NodeApp/src/commander/session/Gitlab/SessionGitlabLoginCommand.ts
+++ b/NodeApp/src/commander/session/Gitlab/SessionGitlabLoginCommand.ts
@@ -20,8 +20,8 @@ class SessionGitlabLoginCommand extends CommanderCommand {
 
     protected defineCommand() {
         this.command
-        .description('Register the gitlab token.')
-        .argument('<token>', 'personal access token from GitLab with api scope.')
+        .description('register the gitlab token')
+        .argument('<token>', 'personal access token from GitLab with api scope')
         .action(this.commandAction.bind(this));
     }
 
diff --git a/NodeApp/src/commander/session/Gitlab/SessionGitlabLogoutCommand.ts b/NodeApp/src/commander/session/Gitlab/SessionGitlabLogoutCommand.ts
index 945cbc7..edd2b24 100644
--- a/NodeApp/src/commander/session/Gitlab/SessionGitlabLogoutCommand.ts
+++ b/NodeApp/src/commander/session/Gitlab/SessionGitlabLogoutCommand.ts
@@ -21,8 +21,8 @@ class SessionGitlabLogoutCommand extends CommanderCommand {
 
     protected defineCommand() {
         this.command
-        .description('logout of Gitlab.')
-        .option('-f, --force', 'attempt to logout without prompting for confirmation.')
+        .description('logout of Gitlab')
+        .option('-f, --force', 'attempt to logout without prompting for confirmation')
         .action(this.commandAction.bind(this));
     }
 
-- 
GitLab