@playform/delete
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Delete stale Cloudflare Pages deployment.
https://developers.cloudflare.com/api/operations/pages-@playform/delete-deployment

Installation

npm install -g @playform/delete

CLI Usage

DeleteDeployment -e example@account.com -i accountId -k accountKey

Note

This will not delete your last running deployment.

Options

-V, --version output the version number
-e, --Email Account E-mail. < Email > Cloudflare
-i, --ID Account ID. < ID > Cloudflare
-k, --Key API key. < Key > Cloudflare
-h, --help display help for command

Worker

You can also publish it as a worker:

wrangler deploy

Deploy to Cloudflare Workers

Script

Source/Index.ts

await(await import("@playform/delete"))(Email, ID, Key);

.env

Email="example@account.com"
ID="accountId"
Key="accountKey"

Changelog

See CHANGELOG.md for a history of changes to this utility.

Package Sidebar

Install

npm i @playform/delete

Weekly Downloads

3

Version

0.0.1

License

SEE LICENSE IN LICENSE

Unpacked Size

12.1 kB

Total Files

26

Last publish

Collaborators

  • nikolarhristov