Skip to content

Commit 0b1361e

Browse files
committed
Implementing feedback
1 parent e7278e4 commit 0b1361e

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/content/docs/kv/get-started.mdx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -291,27 +291,23 @@ To access the value from your KV namespace using Wrangler:
291291

292292
In this tutorial, you will get the value of the key `user_1` from the KV namespace you created in [step 2](/kv/get-started/#2-create-a-kv-namespace).
293293

294-
```sh
295-
npx wrangler kv key get --binding=USERS_NOTIFICATION_CONFIG "user_1" --text
296-
```
297-
298294
:::note
299295
To view the value directly within the terminal, you use the `--text` flag.
300296
:::
301297

298+
```sh
299+
npx wrangler kv key get --binding=USERS_NOTIFICATION_CONFIG "user_1" --text
300+
```
301+
302302
Similar to the `put` command, the `get` command can also be used to access a KV namespace in two ways - with `--binding` or `--namespace-id`:
303303

304304
</Steps>
305305

306-
{/* You can add a `--preview` flag to interact with a preview namespace instead of a production namespace. */}
307-
308306
:::caution
309307

310308
Exactly **one** of `--binding` or `--namespace-id` is required.
311309
:::
312310

313-
314-
315311
Refer to the [`kv bulk` documentation](/kv/reference/kv-commands/#kv-bulk) to write a file of multiple key-value pairs to a given KV namespace.
316312

317313
</TabItem><TabItem label='Dashboard'>

0 commit comments

Comments
 (0)