Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(init): add interactive account selection for multiple accounts #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iw4p
Copy link

@iw4p iw4p commented Mar 25, 2025

This PR fixes the Uncaught exception: Error: Multiple accounts found issue when initializing Cloudflare Wrangler. Instead of throwing an error, the script now prompts the user to select an account interactively.

Changes:

  • Added a selection prompt when multiple Cloudflare accounts are detected.
  • Allowed users to choose the desired account instead of requiring manual intervention.
  • Ensured smoother authentication and initialization.
Screenshot 2025-03-25 at 7 11 53 PM Screenshot 2025-03-25 at 7 13 53 PM

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.

1 participant