Wrangler Workflows commands now support local development
All wrangler workflows commands now accept a --local flag to test Workflows in a local wrangler dev session instead of production, enabling the full Workflow lifecycle to be managed locally including triggering, listing, pausing, resuming, restarting, terminating, and sending events.
All wrangler workflows commands now accept a --local flag to target a Workflow running in a local wrangler dev session instead of the production API.
You can now manage the full Workflow lifecycle locally, including triggering Workflows, listing instances, pausing, resuming, restarting, terminating, and sending events:
npx wrangler workflows list --local
npx wrangler workflows trigger my-workflow --local
npx wrangler workflows instances list my-workflow --local
npx wrangler workflows instances pause my-workflow <INSTANCE_ID> --local
npx wrangler workflows instances send-event my-workflow <INSTANCE_ID> --type my-event --local
All commands also accept --port to target a specific wrangler dev session (defaults to 8787).
For more information, refer to Workflows local development.
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
Cloudflare One Client for Windows hotfix - trusted certificate chains
A new GA release for Windows Cloudflare One Client is available, addressing an issue with building trusted certificate chains.
Cloudflare One Client for macOS - Trusted Certificate Chain Fix
A new GA release of the macOS Cloudflare One Client is available. This hotfix addresses an issue with building trusted certificate chains.
Cloudflare One Client for Linux
A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.