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({
77 parent : componentsRoot ,
88 description : 'Update Codefresh CLI components' ,
99 webDocs : {
10- category : 'Componenets ' ,
10+ category : 'Components ' ,
1111 title : 'Update' ,
1212 } ,
1313 builder : yargs => yargs
1414 . env ( 'CF_ARG_' ) // this means that every process.env.CF_ARG_* will be passed to argv
1515 . option ( 'location' , {
16- describe : 'Override dowload folder location' ,
16+ describe : 'Override download folder location' ,
1717 } ) ,
1818 handler : async ( argv ) => {
1919 console . log ( 'Updating components' ) ;
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ const installArgoCmd = new Command({
7979 default : 'https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml' ,
8080 } )
8181 . option ( 'set-argo-password' , {
82- required : true ,
8382 describe : 'set password for admin user of new argocd installation' ,
8483 } ) ,
8584 handler : async ( argv ) => {
@@ -99,6 +98,11 @@ const installArgoCmd = new Command({
9998 } = argv ;
10099
101100 if ( provider === 'argocd' ) {
101+ if ( ! setArgoPassword ) {
102+ console . error ( '\nMissing required argument: set-argo-password' ) ;
103+ process . exit ( 1 ) ;
104+ }
105+
102106 const result = await installArgocd ( {
103107 installManifest,
104108 kubeNamespace,
Original file line number Diff line number Diff line change 11{
22 "name" : " codefresh" ,
3- "version" : " 0.73.25 " ,
3+ "version" : " 0.73.26 " ,
44 "description" : " Codefresh command line utility" ,
55 "main" : " index.js" ,
66 "preferGlobal" : true ,
You can’t perform that action at this time.
0 commit comments