-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
workspace.command.ts
34 lines (31 loc) · 1.16 KB
/
workspace.command.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import BaseCommand from '@/commands/base.command'
import CreateWorkspace from '@/commands/workspace/create.workspace'
import DeleteWorkspace from '@/commands/workspace/delete.workspace'
import ExportWorkspace from '@/commands/workspace/export.workspace'
import GetWorkspace from '@/commands/workspace/get.workspace'
import ListWorkspace from '@/commands/workspace/list.workspace'
import SearchWorkspace from '@/commands/workspace/search.workspace'
import UpdateWorkspace from '@/commands/workspace/update.workspace'
import WorkspaceRoleCommand from '@/commands/workspace/role.workspace'
import WorkspaceMembershipCommand from './workspace/membership.workspace'
export default class WorkspaceCommand extends BaseCommand {
getName(): string {
return 'workspace'
}
getDescription(): string {
return 'Manages the workspaces on keyshade'
}
getSubCommands(): BaseCommand[] {
return [
new CreateWorkspace(),
new DeleteWorkspace(),
new ExportWorkspace(),
new GetWorkspace(),
new ListWorkspace(),
new SearchWorkspace(),
new UpdateWorkspace(),
new WorkspaceRoleCommand(),
new WorkspaceMembershipCommand()
]
}
}