$ denoflare serve my-worker Compiling https://raw.githubusercontent.com/skymethod/denoflare/v0.5.2/cli-webworker/worker.ts into worker contents... Bundled https://raw.githubusercontent.com/skymethod/denoflare/v0.5.2/cli-webworker/worker.ts (process) in 1074ms runScript: my-worker/src/index.ts Bundled my-worker/src/index.ts (process) in 415ms worker: start Started in 1526ms (isolation=isolate) Local server running on http://localhost:8080
SUBCOMMANDS: list-scripts List Worker scripts get-worker-account-settings Get worker account settings put-worker-account-settings Set worker account settings list-flags List account-level flags list-zones List zones
put-key-value Set KV value get-key-value Get KV value
list-workers-domains List Workers domains put-workers-domain Create a Workers domain delete-workers-domain Delete a Worker domain
list-buckets List R2 buckets create-bucket Create a new R2 bucket delete-bucket Delete a R2 bucket
verify-token Verify an api token list-memberships List memberships list-accounts List accounts get-user Get user info list-durable-objects-namespaces List Durable Objects namespaces list-durable-objects List Durable Objects for a given namespace
list-pubsub-namespaces List Pub/Sub namespaces create-pubsub-namespace Create a Pub/Sub namespace delete-pubsub-namespace Delete a Pub/Sub namespace list-pubsub-brokers List Pub/Sub brokers create-pubsub-broker Create a Pub/Sub broker delete-pubsub-broker Delete a Pub/Sub broker generate-pubsub-credentials Generate credentials for a Pub/Sub broker revoke-pubsub-credentials Revoke credentials for a Pub/Sub broker list-pubsub-revocations List revocations for a Pub/Sub broker delete-pubsub-revocations Delete revocations for a Pub/Sub broker
For subcommand-specific help: denoflare cfapi <subcommand> --help