feat(repo): add `repo add` command description

pull/489/head
Michelle Noorali 10 years ago
parent 434058c608
commit 41f4705ec9

@ -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",
@ -53,6 +61,7 @@ func repoCommands() cli.Command {
{
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) },
},

Loading…
Cancel
Save