diff --git a/lib/interface/cli/commands/gitops/install.cmd.js b/lib/interface/cli/commands/gitops/install.cmd.js index a173d50e2..4e4e5c726 100644 --- a/lib/interface/cli/commands/gitops/install.cmd.js +++ b/lib/interface/cli/commands/gitops/install.cmd.js @@ -98,6 +98,11 @@ const installArgoCmd = new Command({ }) .option('values', { describe: 'Specify values in a YAML file', + }) + .option('bypass-download', { + describe: 'Will bypass the attempt to download the installer. Instead, will immediately attempt to use the binary from the components folder', + default: false, + type: 'boolean', }), handler: async (argv) => { diff --git a/lib/interface/cli/commands/hybrid/helper.js b/lib/interface/cli/commands/hybrid/helper.js index 686def086..f63a411bc 100644 --- a/lib/interface/cli/commands/hybrid/helper.js +++ b/lib/interface/cli/commands/hybrid/helper.js @@ -360,7 +360,6 @@ async function getComponent(location = CODEFRESH_PATH, component, bypassDownload ); const downloadedBinLocation = path.join( - process.cwd(), location, _.get(component, 'local.dir', ''), _.get(component, 'local.bin', ''), diff --git a/package.json b/package.json index 389864fbe..3580dd7df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.80.1", + "version": "0.80.2", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true,