Using wrangler in ci/cd

Hi Team,

we have just move to cf workers.
referencing from: Running in CI/CD · Cloudflare Workers docs
we have successfully to update our worker. But we still cannot delete the worker in our shell script automatically.

1, run following cmd:

CLOUDFLARE_API_TOKEN=xxx wrangler delete -c /tmp/ttworker/wrangler.toml

but it will always prompt:

✖ Are you sure you want to delete xxxworker? This action cannot be undone.

is there a workaround to bypass this prompt in shell?

thx in advance

Looking at the source for this command it would appear not.

ok … thx buddy …