diff --git a/NodeApp/src/commander/enonce/EnonceCreateCommand.ts b/NodeApp/src/commander/enonce/EnonceCreateCommand.ts index a5cf091bff811d220e56a480c3fa759c3d609382..b4591ee1a5d01d9cbe85e81bcc7b2ac15aea74e2 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 0aeda2f7c8f27aafd0882b2791a5ca2565475027..29b3f0836cdb9e25313d6dfa163379d71e136c6d 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 55750369fd20406f9990123a2814fa802a90116d..cb98ef788ced84135a6f9f99939a7185038b6486 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 6ab3f8579c42118e84ac5bfe38cc21ed6f4fc09d..e91555df8310801d02e2514de102a00aec6ee5e8 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 90b805b6adc898d22c857fd2a1bedc6a12decdd8..58cb860ae02f00e59751b2df309c83fe992a1fed 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 d7f2f5628b08d934488143f327f33e03df0e635a..30c92418c4a15d27d9dfc190a7e26d2418ebb2b9 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 945cbc73f5806d7f8af838e0dd52be7dc8163f20..edd2b24744c817e7b33d0e43d1e3ed9058a20020 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)); }