MCPcopy
hub / github.com/docker/compose / Command

FuncType Command

cmd/compose/compose.go:101–101  ·  cmd/compose/compose.go::Command

Command defines a compose CLI command as a func with args

func(context.Context, []string) error

Source from the content-addressed store, hash-verified

99
100// Command defines a compose CLI command as a func with args
101type Command func(context.Context, []string) error
102
103// CobraCommand defines a cobra command function
104type CobraCommand func(context.Context, *cobra.Command, []string) error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected