MCPcopy Create free account
hub / github.com/araddon/qlbridge / NewCommand

Function NewCommand

exec/command.go:30–36  ·  view source on GitHub ↗

NewCommand creates new command exec task

(ctx *plan.Context, p *plan.Command)

Source from the content-addressed store, hash-verified

28
29// NewCommand creates new command exec task
30func NewCommand(ctx *plan.Context, p *plan.Command) *Command {
31 m := &Command{
32 TaskBase: NewTaskBase(ctx),
33 p: p,
34 }
35 return m
36}
37
38// Close Command
39func (m *Command) Close() error {

Callers 1

WalkCommandMethod · 0.85

Calls 1

NewTaskBaseFunction · 0.85

Tested by

no test coverage detected