From 41f4705ec992ee63fc692586f4401024c8e5b2c9 Mon Sep 17 00:00:00 2001 From: Michelle Noorali <michellemolu@gmail.com> Date: Fri, 1 Apr 2016 10:04:59 -0600 Subject: [PATCH] feat(repo): add `repo add` command description --- cmd/helm/repository.go | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/cmd/helm/repository.go b/cmd/helm/repository.go index 549a39f46..7acfa6a6f 100644 --- a/cmd/helm/repository.go +++ b/cmd/helm/repository.go @@ -43,6 +43,14 @@ const repoDesc = `Helm repositories store Helm charts. For more details, use 'helm repo CMD -h'. ` +const addRepoDesc = `The add repository command is used to add a name a repository url to your + chart repository list. The repository url must begin with a valid protocoal. At the moment, + we only support google cloud storage for chart repositories. + + A valid command might look like: + $ helm repo add charts gs://kubernetes-charts +` + func repoCommands() cli.Command { return cli.Command{ Name: "repository", @@ -51,10 +59,11 @@ func repoCommands() cli.Command { Description: repoDesc, Subcommands: []cli.Command{ { - Name: "add", - Usage: "Add a chart repository to the remote manager.", - ArgsUsage: "[NAME] [REPOSITORY_URL]", - Action: func(c *cli.Context) { run(c, addRepo) }, + Name: "add", + Usage: "Add a chart repository to the remote manager.", + Description: addRepoDesc, + ArgsUsage: "[NAME] [REPOSITORY_URL]", + Action: func(c *cli.Context) { run(c, addRepo) }, }, { Name: "list", -- GitLab