mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 05:02:06 +00:00
Update cheatsheets
This commit is contained in:
29
wrangler
Normal file
29
wrangler
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# wrangler
|
||||
|
||||
> Cloudflare Workers command-line tool.
|
||||
> More information: <https://developers.cloudflare.com/workers/>.
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user