MCPcopy Index your code
hub / github.com/coder/coder / tasksCommand

Method tasksCommand

cli/task.go:7–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5)
6
7func (r *RootCmd) tasksCommand() *serpent.Command {
8 cmd := &serpent.Command{
9 Use: "task",
10 Aliases: []string{"tasks"},
11 Short: "Manage tasks",
12 Handler: func(i *serpent.Invocation) error {
13 return i.Command.HelpHandler(i)
14 },
15 Children: []*serpent.Command{
16 r.taskCreate(),
17 r.taskDelete(),
18 r.taskList(),
19 r.taskLogs(),
20 r.taskPause(),
21 r.taskResume(),
22 r.taskSend(),
23 r.taskStatus(),
24 },
25 }
26 return cmd
27}

Callers 1

CoreSubcommandsMethod · 0.95

Calls 8

taskCreateMethod · 0.95
taskDeleteMethod · 0.95
taskListMethod · 0.95
taskLogsMethod · 0.95
taskPauseMethod · 0.95
taskResumeMethod · 0.95
taskSendMethod · 0.95
taskStatusMethod · 0.95

Tested by

no test coverage detected