Skip to content

fix: bypass config wizard when --config and --preset are provided - #37

Merged
brunozoric merged 1 commit into
mainfrom
bruno/fix/issue-29
Aug 28, 2026
Merged

fix: bypass config wizard when --config and --preset are provided#37
brunozoric merged 1 commit into
mainfrom
bruno/fix/issue-29

Conversation

@brunozoric

Copy link
Copy Markdown
Contributor

Summary

  • Skip the interactive TransferWizard when both --config and --preset CLI flags are provided
  • Add --preset and --dry-run flags to the default command (previously only available on process-segment)
  • Users can now run webiny-data-transfer --config path/to/config.ts --preset my-preset without the wizard

Closes #29

Test plan

  • yarn full passes (719 tests, flaky dynalite test excluded)
  • Verify --config + --preset bypasses wizard and calls handler directly
  • Verify running without flags still launches the wizard as before
  • Verify --dry-run flag is forwarded to the handler

🤖 Generated with Claude Code

Closes #29

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@brunozoric
brunozoric merged commit 92bdadb into main Aug 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webiny-data-transfer always runs the config wizard regardless of parameters.

1 participant