From 09fbcfee4b610594a9dea3dcc73dac443169763f Mon Sep 17 00:00:00 2001 From: emily-shen <69125074+emily-shen@users.noreply.github.com> Date: Tue, 28 Jan 2025 17:48:21 +0000 Subject: [PATCH 1/2] update wrangler global flags --- .../partials/workers/wrangler-commands/global-flags.mdx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/content/partials/workers/wrangler-commands/global-flags.mdx b/src/content/partials/workers/wrangler-commands/global-flags.mdx index c5b06f3211a3f1b..3de71a2fa23a1db 100644 --- a/src/content/partials/workers/wrangler-commands/global-flags.mdx +++ b/src/content/partials/workers/wrangler-commands/global-flags.mdx @@ -8,9 +8,5 @@ The following global flags work on every command: - `--help` - Show help. -- `--version` - - Show version number. - `--config` (not supported by Pages) - - Path to `.toml` configuration file. -- `--experimental-json-config` (not supported by Pages) - - ⚠️ This is an experimental command. Read configuration from a `wrangler.json` or `wrangler.jsonc` file, instead of `wrangler.toml`. In this case the config file is parsed as [JSONC](https://code.visualstudio.com/docs/languages/json#_json-with-comments). \ No newline at end of file + - Path to `wrangler.json` or `wrangler.toml` configuration file. \ No newline at end of file From 948aca16a3bd78e6ef3b18bcd9a39d86c15a96cc Mon Sep 17 00:00:00 2001 From: emily-shen <69125074+emily-shen@users.noreply.github.com> Date: Wed, 29 Jan 2025 12:03:14 +0000 Subject: [PATCH 2/2] secret:bulk -> secret bulk --- src/content/docs/workers/wrangler/commands.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/docs/workers/wrangler/commands.mdx b/src/content/docs/workers/wrangler/commands.mdx index 75678eb37116619..83be94343893db8 100644 --- a/src/content/docs/workers/wrangler/commands.mdx +++ b/src/content/docs/workers/wrangler/commands.mdx @@ -27,7 +27,7 @@ Wrangler offers a number of commands to manage your Cloudflare Workers. - [`r2 bucket`](#r2-bucket) - Manage Workers R2 buckets. - [`r2 object`](#r2-object) - Manage Workers R2 objects. - [`secret`](#secret) - Manage the secret variables for a Worker. -- [`secret:bulk`](#secretbulk) - Manage multiple secret variables for a Worker. +- [`secret bulk`](#secretbulk) - Manage multiple secret variables for a Worker. - [`workflows`](#workflows) - Manage and configure Workflows. - [`tail`](#tail) - Start a session to livestream logs from a deployed Worker. - [`pages`](#pages) - Configure Cloudflare Pages. @@ -730,12 +730,12 @@ npx wrangler secret list --- -## `secret:bulk` +## `secret bulk` Upload multiple secrets for a Worker at once. ```txt -wrangler secret:bulk [] [OPTIONS] +wrangler secret bulk [] [OPTIONS] ``` - `FILENAME` @@ -758,7 +758,7 @@ The following is an example of uploading secrets from a JSON file redirected to ``` ```sh -npx wrangler secret:bulk < secrets.json +npx wrangler secret bulk < secrets.json ``` ```sh output