From 17e8f5e39e737f9a7b4df72a5253f45f135cfd45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Wed, 8 Feb 2023 14:22:17 +0100 Subject: [PATCH] #723: convert deploy param fromRetrieve into option --fromRetrieve --- lib/cli.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cli.js b/lib/cli.js index 2ca652047..4b34ae9b1 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -40,7 +40,7 @@ yargs }, }) .command({ - command: 'deploy [BU] [TYPE] [KEY] [fromRetrieve]', + command: 'deploy [BU] [TYPE] [KEY] [--fromRetrieve]', aliases: ['d'], desc: 'deploys local metadata to a business unit', builder: (yargs) => { @@ -58,8 +58,8 @@ yargs type: 'string', describe: 'metadata key that shall be exclusively uploaded', }) - .positional('fromRetrieve', { - type: 'string', + .option('fromRetrieve', { + type: 'boolean', describe: 'optionally deploy from retrieve folder', }); },