Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kptdev/kpt
/ NewCommand
Function
NewCommand
internal/cmdget/cmdget.go:56–58 ·
view source on GitHub ↗
(parent string)
Source
from the content-addressed store, hash-verified
54
}
55
56
func
NewCommand(parent string) *cobra.Command {
57
return
NewRunner(parent).Command
58
}
59
60
// Runner contains the run function
61
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