Skip to content

Commit

Permalink
#38: add option --execute and --schedule to fixKeys command
Browse files Browse the repository at this point in the history
should work just by allowing the 2 options because fixKeys uses deploy method internally
  • Loading branch information
JoernBerkefeld committed Aug 3, 2023
1 parent e7a0246 commit 3a4b2a8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,18 @@ yargs
group: 'Options for fixKeys:',
describe:
'filter metadata components (can include % as wildcard or _ for a single character)',
})
.option('execute', {
type: 'boolean',
group: 'Options for fixKeys:',
describe:
'optional: executes item after deploy; this will run the item once immediately',
})
.option('schedule', {
type: 'boolean',
group: 'Options for fixKeys:',
describe:
'optionally start existing schedule instead of running item once immediately (only works for automations)',
});
},
handler: (argv) => {
Expand Down

0 comments on commit 3a4b2a8

Please sign in to comment.