From 3a4b2a8db8c29fcab1819edaf17bb18d76fc10d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 3 Aug 2023 14:26:59 +0200 Subject: [PATCH] #38: add option --execute and --schedule to fixKeys command should work just by allowing the 2 options because fixKeys uses deploy method internally --- lib/cli.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/cli.js b/lib/cli.js index b12914767..8c198cf97 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -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) => {