MCPcopy
hub / github.com/helm/helm / newPluginCmd

Function newPluginCmd

pkg/cmd/plugin.go:30–45  ·  view source on GitHub ↗
(out io.Writer)

Source from the content-addressed store, hash-verified

28`
29
30func newPluginCmd(out io.Writer) *cobra.Command {
31 cmd := &cobra.Command{
32 Use: "plugin",
33 Short: "install, list, or uninstall Helm plugins",
34 Long: pluginHelp,
35 }
36 cmd.AddCommand(
37 newPluginInstallCmd(out),
38 newPluginListCmd(out),
39 newPluginUninstallCmd(out),
40 newPluginUpdateCmd(out),
41 newPluginPackageCmd(out),
42 newPluginVerifyCmd(out),
43 )
44 return cmd
45}
46
47// runHook will execute a plugin hook.
48func runHook(p plugin.Plugin, event string) error {

Callers 1

newRootCmdWithConfigFunction · 0.85

Calls 6

newPluginInstallCmdFunction · 0.85
newPluginListCmdFunction · 0.85
newPluginUninstallCmdFunction · 0.85
newPluginUpdateCmdFunction · 0.85
newPluginPackageCmdFunction · 0.85
newPluginVerifyCmdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…