Skip to content

Commit 0ff2450

Browse files
committed
include some more versions commands
1 parent 1734c9a commit 0ff2450

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,18 +1284,12 @@ Upload a new [version](/workers/configuration/versions-and-deployments/#versions
12841284
headingLevel={3}
12851285
/>
12861286

1287-
### `deploy`
1288-
1289-
Deploy a previously created [version](/workers/configuration/versions-and-deployments/#versions) of your Worker all at once or create a [gradual deployment](/workers/configuration/versions-and-deployments/gradual-deployments/) to incrementally shift traffic to a new version by following an interactive prompt.
1290-
1291-
```txt
1292-
wrangler versions deploy [OPTIONS]
1293-
```
1294-
1295-
- `--name` <Type text="string" /> <MetaInfo text="optional" />
1296-
- Perform on a specific Worker rather than inheriting from the [Wrangler configuration file](/workers/wrangler/configuration/).
1287+
<WranglerCommand
1288+
command="versions deploy"
1289+
description="Deploy a previously created [version](/workers/configuration/versions-and-deployments/#versions) of your Worker all at once or create a [gradual deployment](/workers/configuration/versions-and-deployments/gradual-deployments/) to incrementally shift traffic to a new version by following an interactive prompt."
1290+
headingLevel={3}
12971291

1298-
<Render file="wrangler-commands/global-flags" product="workers" />
1292+
/>
12991293

13001294
:::note
13011295

@@ -1306,18 +1300,19 @@ For example:
13061300

13071301
:::
13081302

1309-
### `list`
1303+
<WranglerCommand
1304+
command="versions list"
1305+
description="Retrieve details for the 10 most recent versions. Details include `Version ID`, `Created on`, `Author`, `Source`, and optionally, `Tag` or `Message`."
1306+
headingLevel={3}
13101307

1311-
Retrieve details for the 10 most recent versions. Details include `Version ID`, `Created on`, `Author`, `Source`, and optionally, `Tag` or `Message`.
1308+
/>
13121309

1313-
```txt
1314-
wrangler versions list [OPTIONS]
1315-
```
1310+
<WranglerCommand
1311+
command="versions view"
13161312

1317-
- `--name` <Type text="string" /> <MetaInfo text="optional" />
1318-
- Perform on a specific Worker rather than inheriting from the [Wrangler configuration file](/workers/wrangler/configuration/).
1313+
headingLevel={3}
13191314

1320-
<Render file="wrangler-commands/global-flags" product="workers" />
1315+
/>
13211316

13221317
### `secret put`
13231318

0 commit comments

Comments
 (0)