Skip to content

Commit

Permalink
adjust cli info messages for new flags in helm subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
redradrat committed Nov 6, 2021
1 parent 32d9a63 commit 2e9ee51
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions cmd/helmConcept.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ var dir string

// helmImportCmd represents the import command
var helmConceptCmd = &cobra.Command{
Use: "concept",
Short: "Create a concept, wrapping a helm chart from a git repo",
Example: "kable helm concept --directory sentry sentry --repoName stable --version 4.3.0",
Use: "concept",
Short: "Create a concept, wrapping a helm chart from a git repo",
Example: `
kable helm concept --directory sentry sentry --repo stable --version 4.3.0
kable helm concept --directory cert-manager cert-manager --repo jetstack --repoURL https://charts.jetstack.io/ --version 1.6.1
`,
Args: func(cmd *cobra.Command, args []string) error {
if len(args) != 1 {
return errors.New("requires exactly ONE argument")
Expand Down
9 changes: 6 additions & 3 deletions cmd/helmImport.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ var importSubdir string

// helmImportCmd represents the import command
var helmImportCmd = &cobra.Command{
Use: "import",
Short: "Import a helm chart from a helm repo into the concept",
Example: "kable helm import sentry --repoName stable --version 4.3.0",
Use: "import",
Short: "Import a helm chart from a helm repo into the concept",
Example: `
kable helm import sentry --repo stable --version 4.3.0
kable helm import cert-manager --repo jetstack --repoURL https://charts.jetstack.io/ --version 1.6.1
`,
Args: func(cmd *cobra.Command, args []string) error {
if len(args) != 1 {
return errors.New("requires exactly ONE argument")
Expand Down

0 comments on commit 2e9ee51

Please sign in to comment.