Skip to content

Commit c204287

Browse files
demosjarcothomasgauvin
authored andcommitted
Fix Wrangler CLI usage in queue docs (#23982)
Replaces incorrect 'npx run wrangler' commands with 'npx wrangler' in queue configuration and management documentation for clarity and accuracy.
1 parent 267eebc commit c204287

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/content/docs/queues/configuration/configure-queues.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Below are options for queues, refer to the Wrangler documentation for a full ref
3030
The following queue level settings can be configured using Wrangler:
3131

3232
```sh
33-
$ npx run wrangler queues update <QUEUE-NAME> --delivery-delay-secs 60 --message-retention-period-secs 3000
33+
$ npx wrangler queues update <QUEUE-NAME> --delivery-delay-secs 60 --message-retention-period-secs 3000
3434
```
3535

3636
* `--delivery-delay-secs` <Type text="number" /> <Type text="optional" />

src/content/docs/queues/configuration/pause-purge.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Pausing affects both [push-based consumer Workers](/queues/reference/how-queues-
1919
The following command will pause message delivery from your queue:
2020

2121
```sh
22-
$ npx run wrangler queues pause-delivery <QUEUE-NAME>
22+
$ npx wrangler queues pause-delivery <QUEUE-NAME>
2323
```
2424

2525
- `queue-name` <Type text="string" /> <MetaInfo text="required" />
@@ -28,7 +28,7 @@ $ npx run wrangler queues pause-delivery <QUEUE-NAME>
2828
The following command will resume message delivery:
2929

3030
```sh
31-
$ npx run wrangler queues resume-delivery <QUEUE-NAME>
31+
$ npx wrangler queues resume-delivery <QUEUE-NAME>
3232
```
3333

3434
- `queue-name` <Type text="string" /> <MetaInfo text="required" />
@@ -49,7 +49,7 @@ Purging a queue is an irreversible operation. Make sure to use this operation ca
4949
### Purge queue using Wrangler
5050
The following command will purge messages from your queue. You will be prompted to enter the queue name to confirm the operation.
5151
```sh
52-
$ npx run wrangler queues purge <QUEUE-NAME>
52+
$ npx wrangler queues purge <QUEUE-NAME>
5353

5454
This operation will permanently delete all the messages in Queue <QUEUE-NAME>. Type <QUEUE-NAME> to proceed.
5555
```

0 commit comments

Comments
 (0)