From 1427fa639894274d7a6e8a14547ec5955f5c89ec Mon Sep 17 00:00:00 2001 From: Jun Lee Date: Thu, 13 Nov 2025 10:39:30 +0000 Subject: [PATCH] Using WranglerCommand component for dispatch-namespace commands --- .../docs/workers/wrangler/commands.mdx | 64 ++----------------- 1 file changed, 5 insertions(+), 59 deletions(-) diff --git a/src/content/docs/workers/wrangler/commands.mdx b/src/content/docs/workers/wrangler/commands.mdx index 4c245666b611440..908c9cca93e35a8 100644 --- a/src/content/docs/workers/wrangler/commands.mdx +++ b/src/content/docs/workers/wrangler/commands.mdx @@ -1459,74 +1459,20 @@ wrangler rollback [] [OPTIONS] ## dispatch namespace -### `list` - -List all dispatch namespaces. - -```txt -wrangler dispatch-namespace list -``` - - - -### `get` - -Get information about a dispatch namespace. - -```txt -wrangler dispatch-namespace get -``` - -- `NAME` - - The name of the dispatch namespace to get details about. - - - -### `create` - -Create a dispatch namespace. + -```txt -wrangler dispatch-namespace create -``` - -- `NAME` - - The name of the dispatch namespace to create. - - + -### `delete` + -Delete a dispatch namespace. - -```txt -wrangler dispatch-namespace get -``` + :::note You must delete all user Workers in the dispatch namespace before it can be deleted. ::: -- `NAME` - - The name of the dispatch namespace to delete. - - - -### `rename` - -Rename a dispatch namespace. - -```txt -wrangler dispatch-namespace get -``` - -- `OLD_NAME` - - The previous name of the dispatch namespace. -- `NEW_NAME` - - The new name of the dispatch namespace. - - + ---