MCPcopy Create free account
hub / github.com/compozy/agh / newTaskStartCommand

Function newTaskStartCommand

internal/cli/task.go:616–625  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

614}
615
616func newTaskStartCommand(deps commandDeps) *cobra.Command {
617 return newTaskExecutionCommand(
618 deps,
619 "start <id>",
620 "Enqueue a run for an executable task",
621 func(ctx context.Context, client DaemonClient, id string, request TaskExecutionRequest) (TaskExecutionRecord, error) {
622 return client.StartTask(ctx, id, request)
623 },
624 )
625}
626
627func newTaskApproveCommand(deps commandDeps) *cobra.Command {
628 return newTaskExecutionCommand(

Callers 1

newTaskCommandFunction · 0.85

Calls 2

newTaskExecutionCommandFunction · 0.85
StartTaskMethod · 0.65

Tested by

no test coverage detected