cloudflare / workers-sdk

โ›…๏ธ Home to Wrangler, the CLI for Cloudflare Workersยฎ
https://developers.cloudflare.com/workers/
Apache License 2.0
2.58k stars 665 forks source link

๐Ÿ› BUG: `wrangler build` documentation is missing from `wrangler --help` #5895

Closed maxprilutskiy closed 4 months ago

maxprilutskiy commented 4 months ago

Which Cloudflare product(s) does this pertain to?

Wrangler core

What version(s) of the tool(s) are you using?

3.57.0

What version of Node are you using?

20.12.2

What operating system and version are you using?

macOS 13.6.3

Describe the Bug

Observed behavior

wrangler build command documentation / description is missing from wrangler --help output.

Expected behavior

wrangler --help must show description of the wrangler build command.

Steps to reproduce

> wrangler --version
 โ›…๏ธ wrangler 3.57.0 (update available 3.57.1)
-------------------------------------------------------
> wrangler --help
wrangler

Commands:
  wrangler docs [command..]            ๐Ÿ“š Open wrangler's docs in your browser
  wrangler init [name]                 ๐Ÿ“ฅ Initialize a basic Worker project, including a wrangler.toml file
  wrangler generate [name] [template]  โœจ Generate a new Worker project from an existing Worker template. See https://github.com/cloudflare/workers-sdk/tree/main/templates
  wrangler dev [script]                ๐Ÿ‘‚ Start a local server for developing your worker
  wrangler deploy [script]             ๐Ÿ†™ Deploy your Worker to Cloudflare.  [aliases: publish]
  wrangler delete [script]             ๐Ÿ—‘  Delete your Worker from Cloudflare.
  wrangler tail [worker]               ๐Ÿฆš Starts a log tailing session for a published Worker.
  wrangler secret                      ๐Ÿคซ Generate a secret that can be referenced in a Worker
  wrangler secret:bulk [json]          ๐Ÿ—„๏ธ  Bulk upload secrets for a Worker
  wrangler kv:namespace                ๐Ÿ—‚๏ธ  Interact with your Workers KV Namespaces
  wrangler kv:key                      ๐Ÿ”‘ Individually manage Workers KV key-value pairs
  wrangler kv:bulk                     ๐Ÿ’ช Interact with multiple Workers KV key-value pairs at once
  wrangler pages                       โšก๏ธ Configure Cloudflare Pages
  wrangler queues                      ๐Ÿ‡ถ Configure Workers Queues
  wrangler r2                          ๐Ÿ“ฆ Interact with an R2 store
  wrangler dispatch-namespace          ๐Ÿ“ฆ Interact with a dispatch namespace
  wrangler d1                          ๐Ÿ—„  Interact with a D1 database
  wrangler hyperdrive                  ๐Ÿš€ Configure Hyperdrive databases
  wrangler ai                          ๐Ÿค– Interact with AI models
  wrangler vectorize                   ๐Ÿงฎ Interact with Vectorize indexes
  wrangler pubsub                      ๐Ÿ“ฎ Interact and manage Pub/Sub Brokers
  wrangler mtls-certificate            ๐Ÿชช Manage certificates used for mTLS connections
  wrangler login                       ๐Ÿ”“ Login to Cloudflare
  wrangler logout                      ๐Ÿšช Logout from Cloudflare
  wrangler whoami                      ๐Ÿ•ต๏ธ  Retrieve your user info and test your auth config
  wrangler types [path]                ๐Ÿ“ Generate types from bindings & module rules in config
  wrangler deployments                 ๐Ÿšข List and view details for deployments
  wrangler rollback [deployment-id]    ๐Ÿ”™ Rollback a deployment

Flags:
  -j, --experimental-json-config  Experimental: Support wrangler.json  [boolean]
  -c, --config                    Path to .toml configuration file  [string]
  -e, --env                       Environment to use for operations and .env files  [string]
  -h, --help                      Show help  [boolean]
  -v, --version                   Show version number  [boolean]

A git repo we can clone and run a test suit on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

maxprilutskiy commented 4 months ago

wrangler build is deprecated: https://developers.cloudflare.com/workers/wrangler/deprecations/#build

Closing.