MCPcopy
hub / github.com/helm/helm / newDependencyCmd

Function newDependencyCmd

pkg/cmd/dependency.go:86–100  ·  view source on GitHub ↗
(cfg *action.Configuration, out io.Writer)

Source from the content-addressed store, hash-verified

84`
85
86func newDependencyCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
87 cmd := &cobra.Command{
88 Use: "dependency update|build|list",
89 Aliases: []string{"dep", "dependencies"},
90 Short: "manage a chart's dependencies",
91 Long: dependencyDesc,
92 Args: require.NoArgs,
93 }
94
95 cmd.AddCommand(newDependencyListCmd(out))
96 cmd.AddCommand(newDependencyUpdateCmd(cfg, out))
97 cmd.AddCommand(newDependencyBuildCmd(out))
98
99 return cmd
100}
101
102func newDependencyListCmd(out io.Writer) *cobra.Command {
103 client := action.NewDependency()

Callers 1

newRootCmdWithConfigFunction · 0.85

Calls 3

newDependencyListCmdFunction · 0.85
newDependencyUpdateCmdFunction · 0.85
newDependencyBuildCmdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…