Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoCLI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
UI
DojoCLI
Commits
437e7ac9
Commit
437e7ac9
authored
1 year ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
CheckAccesses => Add imports
parent
5e37d411
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
NodeApp/src/commander/enonce/EnonceCreateCommand.ts
+2
-2
2 additions, 2 deletions
NodeApp/src/commander/enonce/EnonceCreateCommand.ts
NodeApp/src/commander/exercice/ExerciceCreateCommand.ts
+1
-0
1 addition, 0 deletions
NodeApp/src/commander/exercice/ExerciceCreateCommand.ts
with
3 additions
and
2 deletions
NodeApp/src/commander/enonce/EnonceCreateCommand.ts
+
2
−
2
View file @
437e7ac9
...
...
@@ -2,11 +2,11 @@ import CommanderCommand from '../CommanderCommand';
import
chalk
from
'
chalk
'
;
import
ora
from
'
ora
'
;
import
GitlabManager
from
'
../../managers/GitlabManager
'
;
import
SessionManager
from
'
../../managers/SessionManager
'
;
import
GitlabUser
from
'
../../shared/types/Gitlab/GitlabUser
'
;
import
DojoBackendManager
from
'
../../managers/DojoBackendManager
'
;
import
Enonce
from
'
../../types/Enonce
'
;
import
Toolbox
from
'
../../shared/helpers/Toolbox
'
;
import
AccessesHelper
from
'
../../helpers/AccessesHelper
'
;
class
EnonceCreateCommand
extends
CommanderCommand
{
...
...
@@ -18,7 +18,7 @@ class EnonceCreateCommand extends CommanderCommand {
.
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
(
'
-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
));
}
...
...
This diff is collapsed.
Click to expand it.
NodeApp/src/commander/exercice/ExerciceCreateCommand.ts
+
1
−
0
View file @
437e7ac9
...
...
@@ -7,6 +7,7 @@ import Enonce from '../../types/Enonce';
import
ora
from
'
ora
'
;
import
DojoBackendManager
from
'
../../managers/DojoBackendManager
'
;
import
Exercice
from
'
../../types/Exercice
'
;
import
AccessesHelper
from
'
../../helpers/AccessesHelper
'
;
class
ExerciceCreateCommand
extends
CommanderCommand
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment