|
|
@ -33,24 +33,24 @@ func repoCommands() cli.Command {
|
|
|
|
return cli.Command{
|
|
|
|
return cli.Command{
|
|
|
|
Name: "repository",
|
|
|
|
Name: "repository",
|
|
|
|
Aliases: []string{"repo"},
|
|
|
|
Aliases: []string{"repo"},
|
|
|
|
Usage: "Perform repository operations.",
|
|
|
|
Usage: "Perform chart repository operations.",
|
|
|
|
Subcommands: []cli.Command{
|
|
|
|
Subcommands: []cli.Command{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name: "add",
|
|
|
|
Name: "add",
|
|
|
|
Usage: "Add a repository to the remote manager.",
|
|
|
|
Usage: "Add a chart repository to the remote manager.",
|
|
|
|
ArgsUsage: "REPOSITORY_URL",
|
|
|
|
ArgsUsage: "REPOSITORY_URL",
|
|
|
|
Action: func(c *cli.Context) { run(c, addRepo) },
|
|
|
|
Action: func(c *cli.Context) { run(c, addRepo) },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name: "list",
|
|
|
|
Name: "list",
|
|
|
|
Usage: "List the repositories on the remote manager.",
|
|
|
|
Usage: "List the chart repositories on the remote manager.",
|
|
|
|
ArgsUsage: "",
|
|
|
|
ArgsUsage: "",
|
|
|
|
Action: func(c *cli.Context) { run(c, listRepos) },
|
|
|
|
Action: func(c *cli.Context) { run(c, listRepos) },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name: "remove",
|
|
|
|
Name: "remove",
|
|
|
|
Aliases: []string{"rm"},
|
|
|
|
Aliases: []string{"rm"},
|
|
|
|
Usage: "Remove a repository from the remote manager.",
|
|
|
|
Usage: "Remove a chart repository from the remote manager.",
|
|
|
|
ArgsUsage: "REPOSITORY_URL",
|
|
|
|
ArgsUsage: "REPOSITORY_URL",
|
|
|
|
Action: func(c *cli.Context) { run(c, removeRepo) },
|
|
|
|
Action: func(c *cli.Context) { run(c, removeRepo) },
|
|
|
|
},
|
|
|
|
},
|
|
|
|