diff --git a/cmd/helm/chart_list.go b/cmd/helm/chart_list.go index 87794c5d1..f3ac4e5f2 100644 --- a/cmd/helm/chart_list.go +++ b/cmd/helm/chart_list.go @@ -25,7 +25,9 @@ import ( ) 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 { diff --git a/cmd/helm/chart_pull.go b/cmd/helm/chart_pull.go index ced6273a9..af6c82318 100644 --- a/cmd/helm/chart_pull.go +++ b/cmd/helm/chart_pull.go @@ -26,7 +26,9 @@ import ( ) 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 { diff --git a/cmd/helm/chart_push.go b/cmd/helm/chart_push.go index e078b9069..eb6d8325a 100644 --- a/cmd/helm/chart_push.go +++ b/cmd/helm/chart_push.go @@ -26,7 +26,11 @@ import ( ) 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 { diff --git a/cmd/helm/chart_remove.go b/cmd/helm/chart_remove.go index 082d1ed12..672799d6c 100644 --- a/cmd/helm/chart_remove.go +++ b/cmd/helm/chart_remove.go @@ -26,7 +26,12 @@ import ( ) 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 { diff --git a/cmd/helm/chart_save.go b/cmd/helm/chart_save.go index 860a366d3..0bd451587 100644 --- a/cmd/helm/chart_save.go +++ b/cmd/helm/chart_save.go @@ -26,7 +26,10 @@ import ( ) 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 {