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

CheckAccesses => Add imports

parent 5e37d411
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,11 @@ import CommanderCommand from '../CommanderCommand'; ...@@ -2,11 +2,11 @@ import CommanderCommand from '../CommanderCommand';
import chalk from 'chalk'; import chalk from 'chalk';
import ora from 'ora'; import ora from 'ora';
import GitlabManager from '../../managers/GitlabManager'; import GitlabManager from '../../managers/GitlabManager';
import SessionManager from '../../managers/SessionManager';
import GitlabUser from '../../shared/types/Gitlab/GitlabUser'; import GitlabUser from '../../shared/types/Gitlab/GitlabUser';
import DojoBackendManager from '../../managers/DojoBackendManager'; import DojoBackendManager from '../../managers/DojoBackendManager';
import Enonce from '../../types/Enonce'; import Enonce from '../../types/Enonce';
import Toolbox from '../../shared/helpers/Toolbox'; import Toolbox from '../../shared/helpers/Toolbox';
import AccessesHelper from '../../helpers/AccessesHelper';
class EnonceCreateCommand extends CommanderCommand { class EnonceCreateCommand extends CommanderCommand {
...@@ -18,7 +18,7 @@ class EnonceCreateCommand extends CommanderCommand { ...@@ -18,7 +18,7 @@ class EnonceCreateCommand extends CommanderCommand {
.requiredOption('-n, --name <name>', 'name of the enonce') .requiredOption('-n, --name <name>', 'name of the enonce')
.option('-i, --members_id <ids...>', 'list of gitlab members ids (teaching staff) to add to the repository') .option('-i, --members_id <ids...>', 'list of gitlab members ids (teaching staff) to add to the repository')
.option('-u, --members_username <usernames...>', 'list of gitlab members username (teaching staff) to add to the repository') .option('-u, --members_username <usernames...>', 'list of gitlab 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)') .option('-t, --template <string>', 'id or url of the template (http/s and ssh urls are possible)')
.action(this.commandAction.bind(this)); .action(this.commandAction.bind(this));
} }
......
...@@ -7,6 +7,7 @@ import Enonce from '../../types/Enonce'; ...@@ -7,6 +7,7 @@ import Enonce from '../../types/Enonce';
import ora from 'ora'; import ora from 'ora';
import DojoBackendManager from '../../managers/DojoBackendManager'; import DojoBackendManager from '../../managers/DojoBackendManager';
import Exercice from '../../types/Exercice'; import Exercice from '../../types/Exercice';
import AccessesHelper from '../../helpers/AccessesHelper';
class ExerciceCreateCommand extends CommanderCommand { class ExerciceCreateCommand extends CommanderCommand {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment