Skip to content

Commit f17ee08

Browse files
authored
Wrangler delete workflow (#9122)
* make workflows delete command not hidden * update wranglers workflow test to include delete command * fix wrangler workflows test * add changeset * update snapshot
1 parent ceeb375 commit f17ee08

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.changeset/wise-rules-roll.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": minor
3+
---
4+
5+
Unhide wrangler workflows delete command

packages/wrangler/src/__tests__/workflows.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ describe("wrangler workflows", () => {
113113
COMMANDS
114114
wrangler workflows list List Workflows associated to account
115115
wrangler workflows describe <name> Describe Workflow resource
116+
wrangler workflows delete <name> Delete workflow - when deleting a workflow, it will also delete it's own instances
116117
wrangler workflows trigger <name> [params] Trigger a workflow, creating a new instance. Can optionally take a JSON string to pass a parameter into the workflow instance
117118
wrangler workflows instances Manage Workflow instances
118119

packages/wrangler/src/workflows/commands/delete.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const workflowsDeleteCommand = createCommand({
99
"Delete workflow - when deleting a workflow, it will also delete it's own instances",
1010
owner: "Product: Workflows",
1111
status: "stable",
12-
hidden: true,
1312
},
1413

1514
args: {

0 commit comments

Comments
 (0)