Skip to content

Commit

Permalink
Alias --wait on export commands to --watch and -w (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecooper authored Jan 17, 2025
1 parent d9e7be0 commit d19ca5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/export/wait.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit d19ca5d

Please sign in to comment.