MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / NewCmd

Function NewCmd

internal/cmd/manager/debug/cmd.go:30–40  ·  view source on GitHub ↗

NewCmd creates the new cobra command

()

Source from the content-addressed store, hash-verified

28
29// NewCmd creates the new cobra command
30func NewCmd() *cobra.Command {
31 cmd := cobra.Command{
32 Use: "debug [cmd]",
33 Short: "Command aimed to gather useful debug data",
34 SilenceErrors: true,
35 }
36
37 cmd.AddCommand(architectures.NewCmd())
38
39 return &cmd
40}

Callers 1

mainFunction · 0.92

Calls 1

NewCmdFunction · 0.92

Tested by

no test coverage detected