1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-02 02:53:32 +02:00
tldr/pages/common/wrangler.md
Managor 36735f324a
common*: refresh old pages part 8 (#16293)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2025-05-03 05:57:20 +03:00

24 lines
462 B
Markdown

# wrangler
> Cloudflare Workers command-line tool.
> More information: <https://developers.cloudflare.com/workers/wrangler/commands/>.
- Initialize a project with a skeleton configuration:
`wrangler init {{project_name}}`
- Authenticate with Cloudflare:
`wrangler login`
- Start a local development server:
`wrangler dev --host {{hostname}}`
- Publish the worker script:
`wrangler publish`
- Aggregate logs from the production worker:
`wrangler tail`