Skip to content

Commit

Permalink
#723: convert deploy param fromRetrieve into option --fromRetrieve
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Feb 8, 2023
1 parent 128fbea commit 17e8f5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -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',
});
},
Expand Down

0 comments on commit 17e8f5e

Please sign in to comment.