From d19ca5d9cedf649f1128fb961a8e12dc3fc261d8 Mon Sep 17 00:00:00 2001 From: "E. Cooper" Date: Fri, 17 Jan 2025 10:31:00 -0800 Subject: [PATCH] Alias --wait on export commands to --watch and -w (#573) --- src/commands/export/wait.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/export/wait.mjs b/src/commands/export/wait.mjs index 28fe41a1..1125ffe6 100644 --- a/src/commands/export/wait.mjs +++ b/src/commands/export/wait.mjs @@ -13,12 +13,13 @@ const MAX_WAIT_MINS = 60 * 2; // 2 hours const WAITING_FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]; export const WAIT_OPTIONS = { wait: { + alias: ["w", "watch"], type: "boolean", required: false, description: "Wait for the export to complete or fail before exiting. Use '--max-wait' to set a timeout.", }, - maxWait: { + "max-wait": { type: "number", required: false, description: "Maximum wait time in minutes. Defaults to 120 minutes.",