File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff 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
310308Exactly ** one** of ` --binding ` or ` --namespace-id ` is required.
311309:::
312310
313-
314-
315311Refer 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' >
You can’t perform that action at this time.
0 commit comments