populate chart command long descriptions

Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
pull/5243/head
Josh Dolitsky 7 years ago
parent acf5d63891
commit 164aa00716

@ -25,7 +25,9 @@ import (
) )
const chartListDesc = ` const chartListDesc = `
TODO List all charts in the local registry cache.
Charts are sorted by ref name, alphabetically.
` `
func newChartListCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { func newChartListCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {

@ -26,7 +26,9 @@ import (
) )
const chartPullDesc = ` const chartPullDesc = `
TODO Download a chart from a remote registry.
This will store the chart in the local registry cache to be used later.
` `
func newChartPullCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { func newChartPullCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {

@ -26,7 +26,11 @@ import (
) )
const chartPushDesc = ` const chartPushDesc = `
TODO Upload a chart to a remote registry.
Note: the ref must already exist in the local registry cache.
Must first run "helm chart save" or "helm chart pull".
` `
func newChartPushCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { func newChartPushCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {

@ -26,7 +26,12 @@ import (
) )
const chartRemoveDesc = ` const chartRemoveDesc = `
TODO Remove a chart from the local registry cache.
Note: the chart content will still exist in the cache,
but it will no longer appear in "helm chart list".
To remove all unlinked content, please run "helm chart prune". (TODO)
` `
func newChartRemoveCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { func newChartRemoveCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {

@ -26,7 +26,10 @@ import (
) )
const chartSaveDesc = ` const chartSaveDesc = `
TODO Store a copy of chart in local registry cache.
Note: modifying the chart after this operation will
not change the item as it exists in the cache.
` `
func newChartSaveCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { func newChartSaveCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {

Loading…
Cancel
Save