@@ -14,12 +14,12 @@ class ExerciseCreateCommand extends CommanderCommand {
...
@@ -14,12 +14,12 @@ class ExerciseCreateCommand extends CommanderCommand {
protecteddefineCommand(){
protecteddefineCommand(){
this.command
this.command
.description('create a new exercise from an assignment')
.description('create a new exercise from an assignment')
.requiredOption('-a, --assignment <value>','assignment source (Dojo assignment ID, Dojo assignment name or Gitlab assignment URL)')
.requiredOption('-a, --assignment <value>','assignment source (Dojo assignment ID, Dojo assignment name or Gitlab assignment URL)')
.option('-i, --members_id <ids...>','list of gitlab members ids (group\'s student) to add to the repository')
.option('-i, --members_id <ids...>','list of gitlab members ids (group\'s student) to add to the repository')
.option('-u, --members_username <usernames...>','list of gitlab members username (group\'s student) to add to the repository')
.option('-u, --members_username <usernames...>','list of gitlab members username (group\'s student) to add to the repository')
.option('-c, --clone [string]','automatically clone the repository (SSH required) in the specified directory (this will create a subdirectory with the assignment name)')
.option('-c, --clone [string]','automatically clone the repository (SSH required) in the specified directory (this will create a subdirectory with the assignment name)')