[wrangler] feat: add pages deployment delete command#12474
[wrangler] feat: add pages deployment delete command#12474petebacondarwin merged 2 commits intomainfrom
pages deployment delete command#12474Conversation
🦋 Changeset detectedLatest commit: 92f08b4 The changes in this PR will be included in the next version bump. 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 |
|
Claude finished @petebacondarwin's task —— View job Changeset Review
✅ All changesets look good The changeset
Cuteness Report This is Darwin's raccoon. He's a trash panda in markdown form and represents this deployment delete feature perfectly—cleaning up after everyone. Excellent choice for a cleanup command. 13/10 would delete deployments with. |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
|
Tested manually with the PR preview to prove that the backend APIs are actually there and work as expected. |
9ba1967 to
481d45f
Compare
Add `wrangler pages deployment delete` command to allow users to delete Pages deployments via CLI. This is useful for CI/CD pipelines that need to clean up old preview deployments programmatically. Fixes #2438
481d45f to
3f95765
Compare
Fixes #2438.
Adds a new CLI command
wrangler pages deployment deletethat allows users to delete Pages deployments directly from the command line. This is particularly useful for CI/CD pipelines that need to programmatically clean up old preview deployments.Usage
Implementation Details
pagesDeploymentListCommandandpagesProjectDeleteCommand--force/-fflag to skip confirmation for automationwrangler pages deployment deletecommand cloudflare-docs#28200--helpand follows existing patternsA picture of a cute animal (not mandatory, but encouraged)
🦝