Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
58
func
NewCommand(parent string) *cobra.Command {
59
return
NewRunner(parent).Command
60
}
61
62
// Runner contains the run function
63
type
Runner
struct
{
Callers
2
GetAnthosCommands
Function · 0.92
GetPkgCommand
Function · 0.92
Calls
1
NewRunner
Function · 0.70
Tested by
no test coverage detected