Skip to content

Commit c037d76

Browse files
author
olegs-codefresh
authored
Add more description on install-chart cmd
1 parent 3d44f9f commit c037d76

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

lib/interface/cli/commands/pipeline/dynamic/install-chart.cmd.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ const install = new Command({
99
root: true,
1010
command: 'install-chart',
1111
cliDocs: {
12-
description: 'Install or upgrade Helm chart',
13-
},
14-
webDocs: {
15-
category: 'Predefined Pipelines',
16-
title: 'Install or upgrade Helm chart',
12+
description: `Install or upgrade Helm chart
13+
Repository flag can be either absolute url or saved repository in Codefresh`,
1714
},
1815
builder: (yargs) => {
1916
return yargs
20-
.usage('Install or upgrade helm chart on cluster')
17+
.usage('Display one or many resources\n\n' +
18+
'Repository flag can be either absolute url or saved repository as context in Codefresh')
19+
.example('$0 install-chart --repo https://kubernetes-charts.storage.googleapis.com', 'Install chart from public helm repo')
20+
.example('$0 get ctx --type helm-repository', 'Get all helm repos')
21+
.example('$0 install-chart --repo my-help-repository', 'Install chart saved repo')
2122
.option('cluster', {
2223
description: 'Install on cluster',
2324
type: 'string',
@@ -34,7 +35,7 @@ const install = new Command({
3435
type: 'string',
3536
})
3637
.option('repository', {
37-
description: 'Helm repository',
38+
description: 'Helm repository (absolute url or name of context with type help-repository)',
3839
type: 'string',
3940
required: true,
4041
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)