Pull changes from existing worker with Wrangler?

I have a worker script, I edited it with Quick Edit in the web interface, now how do I pull / download these changes with wrangler?

I’ve been googling this for 30 minutes and to my amazement I haven’t found a single relevant answer, can’t find anything in the documentation either.

Wrangler pushes code to Cloudflare, it cannot pull it. For that you’ll need to copy the changes from the web interface to your local setup.

https://developers.cloudflare.com/workers/cli-wrangler/commands has all the available commands.

Just out of curiosity, why is this basic functionality missing from wrangler?

I guess not needed or required so far. Taking the code from the web interface shouldn’t be an issue.

Feel free to open a product request thread.

There is an API call for that:
https://api.cloudflare.com/#worker-script-download-worker

If cURL is an option for you, you can use that GET endpoint. Wrangler does not support it.