Skip to content

Commit 6712d73

Browse files
authored
Update(kv commands doc): Replace incorrect parameter description
1 parent c806794 commit 6712d73

File tree

1 file changed

+10
-10
lines changed
  • src/content/partials/workers/wrangler-commands

1 file changed

+10
-10
lines changed

src/content/partials/workers/wrangler-commands/kv.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ This command requires a `--binding` or `--namespace-id` flag.
173173
- `--path` <MetaInfo text="optional" />
174174
- When defined, the value is loaded from the file at `--path` rather than reading it from the `VALUE` argument. This is ideal for security-sensitive operations because it avoids saving keys and values into your terminal history.
175175
- `--binding` string
176-
- The binding name of the namespace, as stored in the `wrangler.toml` file, to delete.
176+
- The binding name of the namespace, as stored in the `wrangler.toml` file, to write to.
177177
- `--namespace-id` <Type text="string" />
178-
- The ID of the namespace to delete.
178+
- The ID of the namespace to write to.
179179
- `--env` <Type text="string" /> <MetaInfo text="optional" />
180180
- Perform on a specific environment.
181181
- `--preview` <Type text="boolean" /> <MetaInfo text="optional" />
@@ -245,9 +245,9 @@ This command requires `--binding` or `--namespace-id`.
245245
:::
246246
247247
- `--binding` <Type text="string" />
248-
- The binding name of the namespace, as stored in the `wrangler.toml` file, to delete.
248+
- The binding name of the namespace, as stored in the `wrangler.toml` file, to list from.
249249
- `--namespace-id` <Type text="string" />
250-
- The ID of the namespace to delete.
250+
- The ID of the namespace to list from.
251251
- `--env` <Type text="string" /> <MetaInfo text="optional" />
252252
- Perform on a specific environment.
253253
- `--preview` <Type text="boolean" /> <MetaInfo text="optional" />
@@ -333,9 +333,9 @@ Exactly one of `--binding` or `--namespace-id` is required.
333333
- `KEY` <Type text="string" /> <MetaInfo text="required" />
334334
- The key value to get.
335335
- `--binding` <Type text="string" />
336-
- The binding name of the namespace, as stored in the `wrangler.toml` file, to delete.
336+
- The binding name of the namespace, as stored in the `wrangler.toml` file, to delete from.
337337
- `--namespace-id` <Type text="string" />
338-
- The ID of the namespace to delete.
338+
- The ID of the namespace to delete from.
339339
- `--env` <Type text="string" /> <MetaInfo text="optional" />
340340
- Perform on a specific environment.
341341
- `--preview` <Type text="boolean" /> <MetaInfo text="optional" />
@@ -385,9 +385,9 @@ This command requires `--binding` or `--namespace-id`.
385385
- `FILENAME` <Type text="string" /> <MetaInfo text="required" />
386386
- The JSON file containing an array of key-value pairs to write to the namespace.
387387
- `--binding` <Type text="string" />
388-
- The binding name of the namespace, as stored in the `wrangler.toml` file, to delete.
388+
- The binding name of the namespace, as stored in the `wrangler.toml` file, to write to.
389389
- `--namespace-id` <Type text="string" />
390-
- The ID of the namespace to delete.
390+
- The ID of the namespace to write to.
391391
- `--env` <Type text="string" /> <MetaInfo text="optional" />
392392
- Perform on a specific environment.
393393
- `--preview` <Type text="boolean" /> <MetaInfo text="optional" />
@@ -467,9 +467,9 @@ This command requires `--binding` or `--namespace-id`.
467467
- `FILENAME` <Type text="string" /> <MetaInfo text="required" />
468468
- The JSON file containing an array of keys to delete from the namespace.
469469
- `--binding` <Type text="string" />
470-
- The binding name of the namespace, as stored in the `wrangler.toml` file, to delete.
470+
- The binding name of the namespace, as stored in the `wrangler.toml` file, to delete from.
471471
- `--namespace-id` <Type text="string" />
472-
- The ID of the namespace to delete.
472+
- The ID of the namespace to delete from.
473473
- `--env` <Type text="string" /> <MetaInfo text="optional" />
474474
- Perform on a specific environment.
475475
- `--preview` <Type text="boolean" /> <MetaInfo text="optional" />

0 commit comments

Comments
 (0)