File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
lib/interface/cli/commands Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ const command = new Command({
7
7
parent : componentsRoot ,
8
8
description : 'Update Codefresh CLI components' ,
9
9
webDocs : {
10
- category : 'Componenets ' ,
10
+ category : 'Components ' ,
11
11
title : 'Update' ,
12
12
} ,
13
13
builder : yargs => yargs
14
14
. env ( 'CF_ARG_' ) // this means that every process.env.CF_ARG_* will be passed to argv
15
15
. option ( 'location' , {
16
- describe : 'Override dowload folder location' ,
16
+ describe : 'Override download folder location' ,
17
17
} ) ,
18
18
handler : async ( argv ) => {
19
19
console . log ( 'Updating components' ) ;
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ const installArgoCmd = new Command({
79
79
default : 'https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml' ,
80
80
} )
81
81
. option ( 'set-argo-password' , {
82
- required : true ,
83
82
describe : 'set password for admin user of new argocd installation' ,
84
83
} ) ,
85
84
handler : async ( argv ) => {
@@ -99,6 +98,11 @@ const installArgoCmd = new Command({
99
98
} = argv ;
100
99
101
100
if ( provider === 'argocd' ) {
101
+ if ( ! setArgoPassword ) {
102
+ console . error ( '\nMissing required argument: set-argo-password' ) ;
103
+ process . exit ( 1 ) ;
104
+ }
105
+
102
106
const result = await installArgocd ( {
103
107
installManifest,
104
108
kubeNamespace,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " codefresh" ,
3
- "version" : " 0.73.25 " ,
3
+ "version" : " 0.73.26 " ,
4
4
"description" : " Codefresh command line utility" ,
5
5
"main" : " index.js" ,
6
6
"preferGlobal" : true ,
You can’t perform that action at this time.
0 commit comments