Skip to content

Commit fdbc17b

Browse files
committed
stub out wrangler docs
1 parent 2b4a860 commit fdbc17b

File tree

1 file changed

+4
-46
lines changed

1 file changed

+4
-46
lines changed

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

Lines changed: 4 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2045,6 +2045,8 @@ The minimum required Wrangler version to use this command is 3.66.0.
20452045
- The name of the interface to generate for the environment object.
20462046
- Not valid if the Worker uses the Service Worker syntax.
20472047

2048+
2049+
20482050
{/* <!--TODO Add examples of DTS generated output --> */}
20492051

20502052
## `workflows`
@@ -2061,7 +2063,7 @@ wrangler workflows list
20612063

20622064
### `view` | `describe`
20632065

2064-
Show the current state of a Workflow.
2066+
Get an existing Hyperdrive configuration.
20652067

20662068
```txt
20672069
wrangler workflows view <NAME>
@@ -2108,51 +2110,6 @@ Inspect and interact with specific instances of a Workflow.
21082110
wrangler workflows instances
21092111
```
21102112

2111-
### `instances list`
2112-
2113-
List all instances of a Workflow (running, failed, and completed).
2114-
2115-
```txt
2116-
wrangler workflows instances list <name>
2117-
```
2118-
2119-
* `NAME` - `string` (required)
2120-
* The name of the Workflow to list instances for.
2121-
* `--reverse` - `boolean` (optional)
2122-
* List instances from oldest to newest (newest at the bottom of the output).
2123-
2124-
### `instances describe`
2125-
2126-
Describe a specific Workflow instance. This is useful for debugging a specific run and inspecting its state.
2127-
2128-
```txt
2129-
wrangler workflows instances list <name> <id>
2130-
```
2131-
2132-
* `name` - `string` (required)
2133-
* The name of the Workflow.
2134-
* `id` - `string` (required)
2135-
* The specific instance ID to describe.
2136-
2137-
You can describe the most recent instance of a Workflow by using `latest` as a positional. This avoids you needing to get the ID to inspect the latest run of a Workflow.
2138-
2139-
```sh
2140-
wrangler workflows instances describe my-workflow latest
2141-
```
2142-
2143-
### `instances terminate`
2144-
2145-
Terminate a running Workflow instance.
2146-
2147-
```txt
2148-
wrangler workflows instances terminate <name> <id>
2149-
```
2150-
2151-
* `name` - `string` (required)
2152-
* The name of the Workflow.
2153-
* `id` - `string` (required)
2154-
* The specific instance ID to terminate.
2155-
21562113

21572114
***
21582115

@@ -4404,3 +4361,4 @@ wrangler types [<PATH>] [OPTIONS]
44044361
## `workflows`
44054362
44064363
Register, configure and manage your [Workflows](/workflows/) and Workflows instances.
4364+

0 commit comments

Comments
 (0)