Files
coder/cli/exp_task.go
T
2025-09-01 11:14:13 +03:00

24 lines
437 B
Go

package cli
import (
"github.com/coder/serpent"
)
func (r *RootCmd) tasksCommand() *serpent.Command {
cmd := &serpent.Command{
Use: "task",
Aliases: []string{"tasks"},
Short: "Experimental task commands.",
Handler: func(i *serpent.Invocation) error {
return i.Command.HelpHandler(i)
},
Children: []*serpent.Command{
r.taskList(),
r.taskCreate(),
r.taskStatus(),
r.taskDelete(),
},
}
return cmd
}