-
Notifications
You must be signed in to change notification settings - Fork 772
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: Add wrangler pages project list #757
feat: Add wrangler pages project list #757
Conversation
🦋 Changeset detectedLatest commit: 659fd5a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/2095938204/npm-package-wrangler-757 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/757/npm-package-wrangler-757 Or you can use npx https://prerelease-registry.developers.workers.dev/runs/2095938204/npm-package-wrangler-757 dev path/to/script.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some tests as well?
Can we get pagination or search on this project list as well? Quite possible people have more than whatever we serve by the default. |
Co-authored-by: Greg Brimble <[email protected]>
Co-authored-by: Greg Brimble <[email protected]>
This adds a
wrangler pages project list
command that lets you list your Cloudflare Pages for an account.It reuses the
requireAuth
helper (which I've moved into utils) to render an account selector.Here is what it renders: