MCPcopy
hub / github.com/kptdev/kpt / NewCommand

Function NewCommand

internal/cmdinit/cmdinit.go:58–60  ·  view source on GitHub ↗
(parent string)

Source from the content-addressed store, hash-verified

56}
57
58func NewCommand(parent string) *cobra.Command {
59 return NewRunner(parent).Command
60}
61
62// Runner contains the run function
63type Runner struct {

Callers 2

GetAnthosCommandsFunction · 0.92
GetPkgCommandFunction · 0.92

Calls 1

NewRunnerFunction · 0.70

Tested by

no test coverage detected