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

Method Command

commands/applycmd.go:46–48  ·  view source on GitHub ↗

Command returns the wrapped ApplyRunner cobraCommand structure.

()

Source from the content-addressed store, hash-verified

44
45// Command returns the wrapped ApplyRunner cobraCommand structure.
46func (w *ApplyRunnerWrapper) Command() *cobra.Command {
47 return w.applyRunner.Command
48}
49
50func (w *ApplyRunnerWrapper) PreRunE(_ *cobra.Command, args []string) error {
51 if len(args) > 0 {

Callers 15

RunEMethod · 0.95
getShaFunction · 0.45
GetTTLCommandFunction · 0.45
GetLiveCommandFunction · 0.45
DeleteBranchMethod · 0.45
CopyDataFunction · 0.45
GetCommitMethod · 0.45
SetupTestGitRepoMethod · 0.45
checkoutBranchFunction · 0.45
replaceDataFunction · 0.45
copyAddDataFunction · 0.45
commitFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected