Commit 4445cd22 authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

Merge pull request #2664 from technosophos/fix/2617-fetch-values

fix(helm): fix `helm get` subcommands
parents 0f8abb21 b671888f
......@@ -44,9 +44,10 @@ func newGetHooksCmd(client helm.Interface, out io.Writer) *cobra.Command {
client: client,
}
cmd := &cobra.Command{
Use: "hooks [flags] RELEASE_NAME",
Short: "download all hooks for a named release",
Long: getHooksHelp,
Use: "hooks [flags] RELEASE_NAME",
Short: "download all hooks for a named release",
Long: getHooksHelp,
PreRunE: setupConnection,
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) == 0 {
return errReleaseRequired
......
......@@ -46,9 +46,10 @@ func newGetManifestCmd(client helm.Interface, out io.Writer) *cobra.Command {
client: client,
}
cmd := &cobra.Command{
Use: "manifest [flags] RELEASE_NAME",
Short: "download the manifest for a named release",
Long: getManifestHelp,
Use: "manifest [flags] RELEASE_NAME",
Short: "download the manifest for a named release",
Long: getManifestHelp,
PreRunE: setupConnection,
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) == 0 {
return errReleaseRequired
......
......@@ -44,9 +44,10 @@ func newGetValuesCmd(client helm.Interface, out io.Writer) *cobra.Command {
client: client,
}
cmd := &cobra.Command{
Use: "values [flags] RELEASE_NAME",
Short: "download the values file for a named release",
Long: getValuesHelp,
Use: "values [flags] RELEASE_NAME",
Short: "download the values file for a named release",
Long: getValuesHelp,
PreRunE: setupConnection,
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) == 0 {
return errReleaseRequired
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment