Skip to content
Snippets Groups Projects
Commit 6833b61a authored by michael.minelli's avatar michael.minelli
Browse files

Commander => Change some descriptions

parent 23c242cb
Branches
Tags
No related merge requests found
......@@ -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));
}
......
......@@ -20,7 +20,7 @@ class SessionAppCommand extends CommanderCommand {
protected defineCommand() {
this.command
.description('manage application session.');
.description('manage application session');
}
protected defineSubCommands() {
......
......@@ -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));
}
......
......@@ -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));
}
......
......@@ -20,7 +20,7 @@ class SessionGitlabCommand extends CommanderCommand {
protected defineCommand() {
this.command
.description('manage Gitlab session.');
.description('manage Gitlab session');
}
protected defineSubCommands() {
......
......@@ -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));
}
......
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment