Skip to content

Commit bd0f604

Browse files
authored
[wrangler] update wrangler global flags and secret:bulk -> secret bulk (#19495)
* update wrangler global flags * secret:bulk -> secret bulk
1 parent d9f03c0 commit bd0f604

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Wrangler offers a number of commands to manage your Cloudflare Workers.
2727
- [`r2 bucket`](#r2-bucket) - Manage Workers R2 buckets.
2828
- [`r2 object`](#r2-object) - Manage Workers R2 objects.
2929
- [`secret`](#secret) - Manage the secret variables for a Worker.
30-
- [`secret:bulk`](#secretbulk) - Manage multiple secret variables for a Worker.
30+
- [`secret bulk`](#secretbulk) - Manage multiple secret variables for a Worker.
3131
- [`workflows`](#workflows) - Manage and configure Workflows.
3232
- [`tail`](#tail) - Start a session to livestream logs from a deployed Worker.
3333
- [`pages`](#pages) - Configure Cloudflare Pages.
@@ -730,12 +730,12 @@ npx wrangler secret list
730730

731731
---
732732

733-
## `secret:bulk`
733+
## `secret bulk`
734734

735735
Upload multiple secrets for a Worker at once.
736736

737737
```txt
738-
wrangler secret:bulk [<FILENAME>] [OPTIONS]
738+
wrangler secret bulk [<FILENAME>] [OPTIONS]
739739
```
740740

741741
- `FILENAME` <Type text="string" /> <MetaInfo text="optional" />
@@ -758,7 +758,7 @@ The following is an example of uploading secrets from a JSON file redirected to
758758
```
759759

760760
```sh
761-
npx wrangler secret:bulk < secrets.json
761+
npx wrangler secret bulk < secrets.json
762762
```
763763

764764
```sh output

src/content/partials/workers/wrangler-commands/global-flags.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,5 @@ The following global flags work on every command:
88

99
- `--help` <Type text="boolean" />
1010
- Show help.
11-
- `--version` <Type text="boolean" />
12-
- Show version number.
1311
- `--config` <Type text="string" /> (not supported by Pages)
14-
- Path to `.toml` configuration file.
15-
- `--experimental-json-config` <Type text="boolean" /> (not supported by Pages)
16-
- ⚠️ 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).
12+
- Path to `wrangler.json` or `wrangler.toml` configuration file.

0 commit comments

Comments
 (0)