Files
coder/cli/task.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
493 B
Go
Raw Normal View History

package cli
import (
"github.com/coder/serpent"
)
func (r *RootCmd) tasksCommand() *serpent.Command {
cmd := &serpent.Command{
Use: "task",
Aliases: []string{"tasks"},
Short: "Manage tasks",
Handler: func(i *serpent.Invocation) error {
return i.Command.HelpHandler(i)
},
Children: []*serpent.Command{
r.taskCreate(),
r.taskDelete(),
2025-09-26 10:37:52 +01:00
r.taskList(),
r.taskLogs(),
r.taskPause(),
r.taskResume(),
2025-09-25 15:40:02 +01:00
r.taskSend(),
2025-09-26 10:37:52 +01:00
r.taskStatus(),
},
}
return cmd
}