(cfg *action.Configuration, out io.Writer)
| 84 | ` |
| 85 | |
| 86 | func 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 | |
| 102 | func newDependencyListCmd(out io.Writer) *cobra.Command { |
| 103 | client := action.NewDependency() |
no test coverage detected
searching dependent graphs…