diff --git a/src/content/docs/workers/wrangler/commands.mdx b/src/content/docs/workers/wrangler/commands.mdx index cf1a317bae90ea9..a64c1adb150719e 100644 --- a/src/content/docs/workers/wrangler/commands.mdx +++ b/src/content/docs/workers/wrangler/commands.mdx @@ -713,7 +713,7 @@ As of Wrangler v3.2.0, `wrangler dev` is supported by any Linux distributions pr - Perform on a specific environment. - `--compatibility-date` - A date in the form yyyy-mm-dd, which will be used to determine which version of the Workers runtime is used. -- `--compatibility-flags`, `--compatibility-flag` +- `--compatibility-flags`, `--compatibility-flag` - Flags to use for compatibility checks. - `--latest` - Use the latest version of the Workers runtime. @@ -723,7 +723,7 @@ As of Wrangler v3.2.0, `wrangler dev` is supported by any Linux distributions pr - Port to listen on. - `--inspector-port` - Port for devtools to connect to. -- `--routes`, `--route` +- `--routes`, `--route` - Routes to upload. - For example: `--route example.com/*`. - `--host` @@ -746,9 +746,9 @@ As of Wrangler v3.2.0, `wrangler dev` is supported by any Linux distributions pr ::: - `--site` - Root folder of static assets for Workers Sites. -- `--site-include` +- `--site-include` - Array of `.gitignore`-style patterns that match file or directory names from the sites directory. Only matched items will be uploaded. -- `--site-exclude` +- `--site-exclude` - Array of `.gitignore`-style patterns that match file or directory names from the sites directory. Matched items will not be uploaded. - `--upstream-protocol` - Protocol to forward requests to host on. @@ -809,7 +809,7 @@ None of the options for this command are required. Also, many can be set in your - Path to directory where Wrangler will write the bundled Worker files. - `--compatibility-date` - A date in the form yyyy-mm-dd, which will be used to determine which version of the Workers runtime is used. -- `--compatibility-flags`, `--compatibility-flag` +- `--compatibility-flags`, `--compatibility-flag` - Flags to use for compatibility checks. - `--latest` - Use the latest version of the Workers runtime. @@ -823,9 +823,9 @@ None of the options for this command are required. Also, many can be set in your ::: - `--site` - Root folder of static assets for Workers Sites. -- `--site-include` +- `--site-include` - Array of `.gitignore`-style patterns that match file or directory names from the sites directory. Only matched items will be uploaded. -- `--site-exclude` +- `--site-exclude` - Array of `.gitignore`-style patterns that match file or directory names from the sites directory. Matched items will not be uploaded. - `--var` - Array of `key:value` pairs to inject as variables into your code. The value will always be passed as a string to your Worker. @@ -835,7 +835,7 @@ None of the options for this command are required. Also, many can be set in your - Array of `key:value` pairs to replace global identifiers in your code. - For example, `--define GIT_HASH:$(git rev-parse HEAD)` will replace all uses of `GIT_HASH` with the actual value at build time. - This flag is an alternative to defining [`define`](/workers/wrangler/configuration/#non-inheritable-keys) in your `wrangler.toml`. If defined in both places, this flag's values will be used. -- `--triggers`, `--schedule`, `--schedules` +- `--triggers`, `--schedule`, `--schedules` - Cron schedules to attach to the deployed Worker. Refer to [Cron Trigger Examples](/workers/configuration/cron-triggers/#examples). - `--routes`, `--route` string\[] optional - Routes where this Worker will be deployed. @@ -1323,19 +1323,19 @@ wrangler pages dev [] [OPTIONS] - IP address to listen on, defaults to `localhost`. - `--port` - The port to listen on (serve from). -- `--binding` +- `--binding` - Bind an environment variable or secret (for example, `--binding =`). -- `--kv` optional +- `--kv` optional - Binding name of [KV namespace](/kv/) to bind (for example, `--kv `). -- `--r2` +- `--r2` - Binding name of [R2 bucket](/pages/functions/bindings/#interact-with-your-r2-buckets-locally) to bind (for example, `--r2 `). -- `--d1` +- `--d1` - Binding name of [D1 database](/pages/functions/bindings/#interact-with-your-d1-databases-locally) to bind (for example, `--d1 `). -- `--do` +- `--do` - Binding name of Durable Object to bind (for example, `--do =`). - `--live-reload` - Auto reload HTML pages when change is detected. -- `--compatibility-flag` +- `--compatibility-flag` - Runtime compatibility flags to apply. - `--compatibility-date` - Runtime compatibility date to apply.