Skip to content

Commit d19ca5d

Browse files
author
E. Cooper
authored
Alias --wait on export commands to --watch and -w (#573)
1 parent d9e7be0 commit d19ca5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/export/wait.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ const MAX_WAIT_MINS = 60 * 2; // 2 hours
1313
const WAITING_FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
1414
export const WAIT_OPTIONS = {
1515
wait: {
16+
alias: ["w", "watch"],
1617
type: "boolean",
1718
required: false,
1819
description:
1920
"Wait for the export to complete or fail before exiting. Use '--max-wait' to set a timeout.",
2021
},
21-
maxWait: {
22+
"max-wait": {
2223
type: "number",
2324
required: false,
2425
description: "Maximum wait time in minutes. Defaults to 120 minutes.",

0 commit comments

Comments
 (0)