Edit Worker Created Using Quick Edit Locally

Hi all, I have a Worker originally made using the Quick Edit editor in the Workers dashboad but I'm looking to make further changes to it and would prefer to do so in my IDE. Is there a way to pull a Worker down so that I can integrate it within Git and setup proper CI/CD? I'm not seeing a command for this with Wrangler. https://developers.cloudflare.com/workers/wrangler/commands/ Wrangler seems to work from local to cloudflare but not from cloudflare to local. Not a big deal to copy it from the quick editor into a new worker but it feels like there ought to be a better way that I'm overlooking.
Commands · Cloudflare Workers docs
Wrangler offers a number of commands to manage your Cloudflare Workers.
2 Replies
Cyb3r-Jak3
Cyb3r-Jak316mo ago
You used to be able to do --from-dash <WORKER_NAME> with wrangler init. Haven't tested with wrangler v3 through
Mackenly
MackenlyOP16mo ago
That's got it @cyb3rjak3! Thanks! Overlooked the flag in the docs: https://developers.cloudflare.com/workers/wrangler/commands/#init
Commands · Cloudflare Workers docs
Wrangler offers a number of commands to manage your Cloudflare Workers.
Want results from more Discord servers?
Add your server