Wrangler
wranglerCommand-line interface for all things Cloudflare Workers
Command-line interface for all things Cloudflare Workers
Develop, publish and tail a Cloudflare Worker using the commands in the Fig spec. KV, secrets and routes are left out.
wrangler devStart a local server for the worker.
configenvportpath--config-cstring--env-estring--host-hstring--ip-iinteger--port-pwrangler publishPublish the worker to Cloudflare.
configenvpath--config-cstring--env-eboolean--verbosewrangler tailAggregate logs from the production worker.
configenvformatpath--config-cstring--env-estring--format-fjsonprettyinteger--port-pboolean--verbosewrangler initCreate a wrangler.toml for an existing project.
nametypestring · positional 0path--config-cstring--env-eboolean--site-sstring--type-tfigcompletionfigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed wrangler against its version. A form that does not match your version is not offered.