@workflow/cli 5.0.2 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base-world-close.test.d.ts +2 -0
- package/dist/base-world-close.test.d.ts.map +1 -0
- package/dist/base-world-close.test.js +30 -0
- package/dist/base.d.ts +4 -0
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +30 -8
- package/dist/base.test.d.ts +2 -0
- package/dist/base.test.d.ts.map +1 -0
- package/dist/base.test.js +54 -0
- package/dist/commands/inspect-flag-forwarding.test.js +24 -1
- package/dist/commands/inspect-flag-scope.test.js +103 -1
- package/dist/commands/inspect.d.ts +1 -0
- package/dist/commands/inspect.d.ts.map +1 -1
- package/dist/commands/inspect.js +22 -8
- package/dist/lib/config/types.d.ts +5 -0
- package/dist/lib/config/types.d.ts.map +1 -1
- package/dist/lib/config/types.js +1 -1
- package/dist/lib/inspect/flag-bounds.d.ts +19 -0
- package/dist/lib/inspect/flag-bounds.d.ts.map +1 -1
- package/dist/lib/inspect/flag-bounds.js +53 -3
- package/dist/lib/inspect/flag-bounds.test.js +73 -2
- package/dist/lib/inspect/output.d.ts +8 -0
- package/dist/lib/inspect/output.d.ts.map +1 -1
- package/dist/lib/inspect/output.js +186 -32
- package/dist/lib/inspect/output.test.js +413 -4
- package/dist/lib/inspect/pagination.d.ts +38 -0
- package/dist/lib/inspect/pagination.d.ts.map +1 -1
- package/dist/lib/inspect/pagination.js +79 -4
- package/dist/lib/inspect/pagination.test.d.ts +2 -0
- package/dist/lib/inspect/pagination.test.d.ts.map +1 -0
- package/dist/lib/inspect/pagination.test.js +94 -0
- package/dist/lib/inspect/stream.d.ts.map +1 -1
- package/dist/lib/inspect/stream.js +5 -1
- package/dist/lib/inspect/stream.test.d.ts +2 -0
- package/dist/lib/inspect/stream.test.d.ts.map +1 -0
- package/dist/lib/inspect/stream.test.js +63 -0
- package/dist/lib/inspect/workflow-name.d.ts +42 -0
- package/dist/lib/inspect/workflow-name.d.ts.map +1 -0
- package/dist/lib/inspect/workflow-name.js +112 -0
- package/dist/lib/inspect/workflow-name.test.d.ts +2 -0
- package/dist/lib/inspect/workflow-name.test.d.ts.map +1 -0
- package/dist/lib/inspect/workflow-name.test.js +168 -0
- package/dist/oclif-manifest.test.d.ts +2 -0
- package/dist/oclif-manifest.test.d.ts.map +1 -0
- package/dist/oclif-manifest.test.js +54 -0
- package/oclif.manifest.json +1678 -0
- package/package.json +14 -13
|
@@ -0,0 +1,1678 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"build": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"target": {
|
|
7
|
+
"description": "build target (deprecated, use --target flag)",
|
|
8
|
+
"name": "target",
|
|
9
|
+
"required": false
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"description": "Build workflow bundles for deployment",
|
|
13
|
+
"examples": [
|
|
14
|
+
"$ workflow build",
|
|
15
|
+
"$ workflow build --target vercel-build-output-api",
|
|
16
|
+
"$ workflow build standalone"
|
|
17
|
+
],
|
|
18
|
+
"flags": {
|
|
19
|
+
"json": {
|
|
20
|
+
"description": "Format output as json.",
|
|
21
|
+
"helpGroup": "GLOBAL",
|
|
22
|
+
"name": "json",
|
|
23
|
+
"allowNo": false,
|
|
24
|
+
"type": "boolean"
|
|
25
|
+
},
|
|
26
|
+
"target": {
|
|
27
|
+
"char": "t",
|
|
28
|
+
"description": "build target",
|
|
29
|
+
"name": "target",
|
|
30
|
+
"default": "standalone",
|
|
31
|
+
"hasDynamicHelp": false,
|
|
32
|
+
"multiple": false,
|
|
33
|
+
"options": [
|
|
34
|
+
"standalone",
|
|
35
|
+
"vercel-build-output-api"
|
|
36
|
+
],
|
|
37
|
+
"type": "option"
|
|
38
|
+
},
|
|
39
|
+
"workflow-manifest": {
|
|
40
|
+
"char": "m",
|
|
41
|
+
"description": "output location for workflow manifest",
|
|
42
|
+
"name": "workflow-manifest",
|
|
43
|
+
"default": "",
|
|
44
|
+
"hasDynamicHelp": false,
|
|
45
|
+
"multiple": false,
|
|
46
|
+
"type": "option"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"hasDynamicHelp": false,
|
|
50
|
+
"hiddenAliases": [],
|
|
51
|
+
"id": "build",
|
|
52
|
+
"pluginAlias": "@workflow/cli",
|
|
53
|
+
"pluginName": "@workflow/cli",
|
|
54
|
+
"pluginType": "core",
|
|
55
|
+
"strict": true,
|
|
56
|
+
"enableJsonFlag": true,
|
|
57
|
+
"isESM": true,
|
|
58
|
+
"relativePath": [
|
|
59
|
+
"dist",
|
|
60
|
+
"commands",
|
|
61
|
+
"build.js"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"cancel": {
|
|
65
|
+
"aliases": [
|
|
66
|
+
"c"
|
|
67
|
+
],
|
|
68
|
+
"args": {
|
|
69
|
+
"runId": {
|
|
70
|
+
"description": "ID of the run to cancel (omit for bulk mode with filters)",
|
|
71
|
+
"name": "runId",
|
|
72
|
+
"required": false
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"description": "Cancel a workflow run, or bulk-cancel runs by status/name",
|
|
76
|
+
"examples": [
|
|
77
|
+
"$ workflow cancel <run-id>",
|
|
78
|
+
"$ workflow cancel --status=running",
|
|
79
|
+
"$ workflow cancel --status=running --workflowName=myWorkflow",
|
|
80
|
+
"$ workflow cancel --status=running -y"
|
|
81
|
+
],
|
|
82
|
+
"flags": {
|
|
83
|
+
"json": {
|
|
84
|
+
"char": "j",
|
|
85
|
+
"description": "output JSON instead of human-readable tables/streams",
|
|
86
|
+
"helpGroup": "Output",
|
|
87
|
+
"helpLabel": "-j, --json",
|
|
88
|
+
"name": "json",
|
|
89
|
+
"required": false,
|
|
90
|
+
"allowNo": false,
|
|
91
|
+
"type": "boolean"
|
|
92
|
+
},
|
|
93
|
+
"verbose": {
|
|
94
|
+
"char": "v",
|
|
95
|
+
"description": "Verbose output",
|
|
96
|
+
"env": "DEBUG",
|
|
97
|
+
"helpGroup": "Output",
|
|
98
|
+
"helpLabel": "-v, --verbose",
|
|
99
|
+
"name": "verbose",
|
|
100
|
+
"required": false,
|
|
101
|
+
"allowNo": false,
|
|
102
|
+
"type": "boolean"
|
|
103
|
+
},
|
|
104
|
+
"cursor": {
|
|
105
|
+
"description": "pagination cursor for list commands",
|
|
106
|
+
"helpGroup": "Filtering",
|
|
107
|
+
"helpLabel": "--cursor",
|
|
108
|
+
"name": "cursor",
|
|
109
|
+
"required": false,
|
|
110
|
+
"default": "",
|
|
111
|
+
"hasDynamicHelp": false,
|
|
112
|
+
"helpValue": "CURSOR",
|
|
113
|
+
"multiple": false,
|
|
114
|
+
"type": "option"
|
|
115
|
+
},
|
|
116
|
+
"backend": {
|
|
117
|
+
"char": "b",
|
|
118
|
+
"description": "backend to inspect",
|
|
119
|
+
"env": "WORKFLOW_TARGET_WORLD",
|
|
120
|
+
"helpGroup": "Target",
|
|
121
|
+
"helpLabel": "-b, --backend",
|
|
122
|
+
"name": "backend",
|
|
123
|
+
"required": false,
|
|
124
|
+
"default": "local",
|
|
125
|
+
"hasDynamicHelp": false,
|
|
126
|
+
"helpValue": [
|
|
127
|
+
"local",
|
|
128
|
+
"vercel",
|
|
129
|
+
"<your-package-name>"
|
|
130
|
+
],
|
|
131
|
+
"multiple": false,
|
|
132
|
+
"type": "option"
|
|
133
|
+
},
|
|
134
|
+
"authToken": {
|
|
135
|
+
"char": "a",
|
|
136
|
+
"dependsOn": [
|
|
137
|
+
"backend"
|
|
138
|
+
],
|
|
139
|
+
"description": "Authentication token to be passed to the backend. If not provided and the backend is vercel, will fall back to the token generated by `vc login`.",
|
|
140
|
+
"env": "WORKFLOW_VERCEL_AUTH_TOKEN",
|
|
141
|
+
"helpGroup": "Target",
|
|
142
|
+
"helpLabel": "-a, --authToken",
|
|
143
|
+
"name": "authToken",
|
|
144
|
+
"required": false,
|
|
145
|
+
"default": "",
|
|
146
|
+
"hasDynamicHelp": false,
|
|
147
|
+
"helpValue": "TOKEN",
|
|
148
|
+
"multiple": false,
|
|
149
|
+
"type": "option"
|
|
150
|
+
},
|
|
151
|
+
"project": {
|
|
152
|
+
"dependsOn": [
|
|
153
|
+
"backend"
|
|
154
|
+
],
|
|
155
|
+
"description": "If backend is vercel, the vercel project to authenticate against",
|
|
156
|
+
"env": "WORKFLOW_VERCEL_PROJECT",
|
|
157
|
+
"helpGroup": "Target",
|
|
158
|
+
"helpLabel": "--project",
|
|
159
|
+
"name": "project",
|
|
160
|
+
"required": false,
|
|
161
|
+
"default": "",
|
|
162
|
+
"hasDynamicHelp": false,
|
|
163
|
+
"helpValue": "PROJECT",
|
|
164
|
+
"multiple": false,
|
|
165
|
+
"type": "option"
|
|
166
|
+
},
|
|
167
|
+
"team": {
|
|
168
|
+
"dependsOn": [
|
|
169
|
+
"backend"
|
|
170
|
+
],
|
|
171
|
+
"description": "If backend is vercel, the vercel team to authenticate against",
|
|
172
|
+
"env": "WORKFLOW_VERCEL_TEAM",
|
|
173
|
+
"helpGroup": "Target",
|
|
174
|
+
"helpLabel": "--team",
|
|
175
|
+
"name": "team",
|
|
176
|
+
"required": false,
|
|
177
|
+
"default": "",
|
|
178
|
+
"hasDynamicHelp": false,
|
|
179
|
+
"helpValue": "TEAM",
|
|
180
|
+
"multiple": false,
|
|
181
|
+
"type": "option"
|
|
182
|
+
},
|
|
183
|
+
"env": {
|
|
184
|
+
"char": "e",
|
|
185
|
+
"dependsOn": [
|
|
186
|
+
"backend"
|
|
187
|
+
],
|
|
188
|
+
"description": "If backend is vercel, the vercel environment to use",
|
|
189
|
+
"env": "WORKFLOW_VERCEL_ENV",
|
|
190
|
+
"helpGroup": "Target",
|
|
191
|
+
"helpLabel": "-e, --env",
|
|
192
|
+
"name": "env",
|
|
193
|
+
"required": false,
|
|
194
|
+
"default": "production",
|
|
195
|
+
"hasDynamicHelp": false,
|
|
196
|
+
"helpValue": [
|
|
197
|
+
"production",
|
|
198
|
+
"preview"
|
|
199
|
+
],
|
|
200
|
+
"multiple": false,
|
|
201
|
+
"options": [
|
|
202
|
+
"production",
|
|
203
|
+
"preview"
|
|
204
|
+
],
|
|
205
|
+
"type": "option"
|
|
206
|
+
},
|
|
207
|
+
"web": {
|
|
208
|
+
"char": "w",
|
|
209
|
+
"description": "Open the web UI instead of displaying in terminal",
|
|
210
|
+
"helpGroup": "Output",
|
|
211
|
+
"helpLabel": "-w, --web",
|
|
212
|
+
"name": "web",
|
|
213
|
+
"required": false,
|
|
214
|
+
"allowNo": false,
|
|
215
|
+
"type": "boolean"
|
|
216
|
+
},
|
|
217
|
+
"webPort": {
|
|
218
|
+
"description": "Port to use when launching the web UI (default: 3456)",
|
|
219
|
+
"env": "WORKFLOW_WEB_PORT",
|
|
220
|
+
"helpGroup": "Output",
|
|
221
|
+
"helpLabel": "--webPort",
|
|
222
|
+
"name": "webPort",
|
|
223
|
+
"required": false,
|
|
224
|
+
"default": 3456,
|
|
225
|
+
"hasDynamicHelp": false,
|
|
226
|
+
"helpValue": "WEB_PORT",
|
|
227
|
+
"multiple": false,
|
|
228
|
+
"type": "option"
|
|
229
|
+
},
|
|
230
|
+
"noBrowser": {
|
|
231
|
+
"description": "Disable automatic browser opening when launching web UI",
|
|
232
|
+
"env": "WORKFLOW_DISABLE_BROWSER_OPEN",
|
|
233
|
+
"helpGroup": "Output",
|
|
234
|
+
"helpLabel": "--noBrowser",
|
|
235
|
+
"name": "noBrowser",
|
|
236
|
+
"required": false,
|
|
237
|
+
"allowNo": false,
|
|
238
|
+
"type": "boolean"
|
|
239
|
+
},
|
|
240
|
+
"localUi": {
|
|
241
|
+
"description": "Use local web UI instead of Vercel dashboard (when backend is vercel)",
|
|
242
|
+
"env": "WORKFLOW_LOCAL_UI",
|
|
243
|
+
"helpGroup": "Output",
|
|
244
|
+
"helpLabel": "--localUi",
|
|
245
|
+
"name": "localUi",
|
|
246
|
+
"required": false,
|
|
247
|
+
"allowNo": false,
|
|
248
|
+
"type": "boolean"
|
|
249
|
+
},
|
|
250
|
+
"standalone": {
|
|
251
|
+
"description": "Always start the standalone web UI, even if an embedded dashboard (e.g. /_workflow) is already running",
|
|
252
|
+
"env": "WORKFLOW_STANDALONE_UI",
|
|
253
|
+
"helpGroup": "Output",
|
|
254
|
+
"helpLabel": "--standalone",
|
|
255
|
+
"name": "standalone",
|
|
256
|
+
"required": false,
|
|
257
|
+
"allowNo": false,
|
|
258
|
+
"type": "boolean"
|
|
259
|
+
},
|
|
260
|
+
"sort": {
|
|
261
|
+
"description": "sort order for list commands",
|
|
262
|
+
"helpGroup": "Filtering",
|
|
263
|
+
"helpLabel": "--sort",
|
|
264
|
+
"name": "sort",
|
|
265
|
+
"required": false,
|
|
266
|
+
"hasDynamicHelp": false,
|
|
267
|
+
"helpValue": [
|
|
268
|
+
"asc",
|
|
269
|
+
"desc"
|
|
270
|
+
],
|
|
271
|
+
"multiple": false,
|
|
272
|
+
"options": [
|
|
273
|
+
"asc",
|
|
274
|
+
"desc"
|
|
275
|
+
],
|
|
276
|
+
"type": "option"
|
|
277
|
+
},
|
|
278
|
+
"limit": {
|
|
279
|
+
"description": "Max runs to cancel in bulk mode (1-100)",
|
|
280
|
+
"helpGroup": "Bulk Cancel",
|
|
281
|
+
"helpLabel": "--limit",
|
|
282
|
+
"name": "limit",
|
|
283
|
+
"required": false,
|
|
284
|
+
"default": 50,
|
|
285
|
+
"hasDynamicHelp": false,
|
|
286
|
+
"helpValue": "NUMBER",
|
|
287
|
+
"multiple": false,
|
|
288
|
+
"type": "option"
|
|
289
|
+
},
|
|
290
|
+
"interactive": {
|
|
291
|
+
"char": "i",
|
|
292
|
+
"description": "Enable interactive pagination with keyboard controls",
|
|
293
|
+
"helpGroup": "Output",
|
|
294
|
+
"helpLabel": "-i, --interactive",
|
|
295
|
+
"name": "interactive",
|
|
296
|
+
"required": false,
|
|
297
|
+
"allowNo": false,
|
|
298
|
+
"type": "boolean"
|
|
299
|
+
},
|
|
300
|
+
"status": {
|
|
301
|
+
"description": "Filter runs by status for bulk cancel (pending or running)",
|
|
302
|
+
"helpGroup": "Bulk Cancel",
|
|
303
|
+
"helpLabel": "--status",
|
|
304
|
+
"name": "status",
|
|
305
|
+
"required": false,
|
|
306
|
+
"hasDynamicHelp": false,
|
|
307
|
+
"multiple": false,
|
|
308
|
+
"options": [
|
|
309
|
+
"pending",
|
|
310
|
+
"running"
|
|
311
|
+
],
|
|
312
|
+
"type": "option"
|
|
313
|
+
},
|
|
314
|
+
"workflowName": {
|
|
315
|
+
"char": "n",
|
|
316
|
+
"description": "Filter runs by workflow name for bulk cancel",
|
|
317
|
+
"helpGroup": "Bulk Cancel",
|
|
318
|
+
"helpLabel": "-n, --workflowName",
|
|
319
|
+
"name": "workflowName",
|
|
320
|
+
"required": false,
|
|
321
|
+
"hasDynamicHelp": false,
|
|
322
|
+
"multiple": false,
|
|
323
|
+
"type": "option"
|
|
324
|
+
},
|
|
325
|
+
"confirm": {
|
|
326
|
+
"char": "y",
|
|
327
|
+
"description": "Skip interactive confirmation prompt",
|
|
328
|
+
"helpGroup": "Bulk Cancel",
|
|
329
|
+
"helpLabel": "-y, --confirm",
|
|
330
|
+
"name": "confirm",
|
|
331
|
+
"required": false,
|
|
332
|
+
"allowNo": false,
|
|
333
|
+
"type": "boolean"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"hasDynamicHelp": false,
|
|
337
|
+
"hiddenAliases": [],
|
|
338
|
+
"id": "cancel",
|
|
339
|
+
"pluginAlias": "@workflow/cli",
|
|
340
|
+
"pluginName": "@workflow/cli",
|
|
341
|
+
"pluginType": "core",
|
|
342
|
+
"strict": true,
|
|
343
|
+
"enableJsonFlag": true,
|
|
344
|
+
"isESM": true,
|
|
345
|
+
"relativePath": [
|
|
346
|
+
"dist",
|
|
347
|
+
"commands",
|
|
348
|
+
"cancel.js"
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
"dev": {
|
|
352
|
+
"aliases": [],
|
|
353
|
+
"args": {},
|
|
354
|
+
"description": "Start development server with file watching (Coming soon)",
|
|
355
|
+
"examples": [
|
|
356
|
+
"$ workflow dev",
|
|
357
|
+
"$ workflow dev --port 3001"
|
|
358
|
+
],
|
|
359
|
+
"flags": {
|
|
360
|
+
"json": {
|
|
361
|
+
"description": "Format output as json.",
|
|
362
|
+
"helpGroup": "GLOBAL",
|
|
363
|
+
"name": "json",
|
|
364
|
+
"allowNo": false,
|
|
365
|
+
"type": "boolean"
|
|
366
|
+
},
|
|
367
|
+
"port": {
|
|
368
|
+
"char": "p",
|
|
369
|
+
"description": "port to run dev server on",
|
|
370
|
+
"name": "port",
|
|
371
|
+
"default": 3000,
|
|
372
|
+
"hasDynamicHelp": false,
|
|
373
|
+
"multiple": false,
|
|
374
|
+
"type": "option"
|
|
375
|
+
},
|
|
376
|
+
"target": {
|
|
377
|
+
"char": "t",
|
|
378
|
+
"description": "build target for development",
|
|
379
|
+
"name": "target",
|
|
380
|
+
"default": "standalone",
|
|
381
|
+
"hasDynamicHelp": false,
|
|
382
|
+
"multiple": false,
|
|
383
|
+
"options": [
|
|
384
|
+
"standalone",
|
|
385
|
+
"vercel-build-output-api"
|
|
386
|
+
],
|
|
387
|
+
"type": "option"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"hasDynamicHelp": false,
|
|
391
|
+
"hiddenAliases": [],
|
|
392
|
+
"id": "dev",
|
|
393
|
+
"pluginAlias": "@workflow/cli",
|
|
394
|
+
"pluginName": "@workflow/cli",
|
|
395
|
+
"pluginType": "core",
|
|
396
|
+
"strict": true,
|
|
397
|
+
"enableJsonFlag": true,
|
|
398
|
+
"isESM": true,
|
|
399
|
+
"relativePath": [
|
|
400
|
+
"dist",
|
|
401
|
+
"commands",
|
|
402
|
+
"dev.js"
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
"health": {
|
|
406
|
+
"aliases": [],
|
|
407
|
+
"args": {},
|
|
408
|
+
"description": "Check the workflow endpoint via a queue-based health check",
|
|
409
|
+
"examples": [
|
|
410
|
+
"$ workflow health",
|
|
411
|
+
"$ workflow health --timeout 60000",
|
|
412
|
+
"$ workflow health --backend vercel --project my-project --team my-team"
|
|
413
|
+
],
|
|
414
|
+
"flags": {
|
|
415
|
+
"json": {
|
|
416
|
+
"char": "j",
|
|
417
|
+
"description": "output JSON instead of human-readable tables/streams",
|
|
418
|
+
"helpGroup": "Output",
|
|
419
|
+
"helpLabel": "-j, --json",
|
|
420
|
+
"name": "json",
|
|
421
|
+
"required": false,
|
|
422
|
+
"allowNo": false,
|
|
423
|
+
"type": "boolean"
|
|
424
|
+
},
|
|
425
|
+
"timeout": {
|
|
426
|
+
"char": "t",
|
|
427
|
+
"description": "Timeout in milliseconds for health check",
|
|
428
|
+
"helpGroup": "Health Check",
|
|
429
|
+
"helpLabel": "-t, --timeout",
|
|
430
|
+
"name": "timeout",
|
|
431
|
+
"default": 30000,
|
|
432
|
+
"hasDynamicHelp": false,
|
|
433
|
+
"helpValue": "MS",
|
|
434
|
+
"multiple": false,
|
|
435
|
+
"type": "option"
|
|
436
|
+
},
|
|
437
|
+
"port": {
|
|
438
|
+
"char": "p",
|
|
439
|
+
"description": "Local server port (for local backend)",
|
|
440
|
+
"helpGroup": "Health Check",
|
|
441
|
+
"helpLabel": "-p, --port",
|
|
442
|
+
"name": "port",
|
|
443
|
+
"required": false,
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"helpValue": "PORT",
|
|
446
|
+
"multiple": false,
|
|
447
|
+
"type": "option"
|
|
448
|
+
},
|
|
449
|
+
"verbose": {
|
|
450
|
+
"char": "v",
|
|
451
|
+
"description": "Verbose output",
|
|
452
|
+
"env": "DEBUG",
|
|
453
|
+
"helpGroup": "Output",
|
|
454
|
+
"helpLabel": "-v, --verbose",
|
|
455
|
+
"name": "verbose",
|
|
456
|
+
"required": false,
|
|
457
|
+
"allowNo": false,
|
|
458
|
+
"type": "boolean"
|
|
459
|
+
},
|
|
460
|
+
"backend": {
|
|
461
|
+
"char": "b",
|
|
462
|
+
"description": "backend to inspect",
|
|
463
|
+
"env": "WORKFLOW_TARGET_WORLD",
|
|
464
|
+
"helpGroup": "Target",
|
|
465
|
+
"helpLabel": "-b, --backend",
|
|
466
|
+
"name": "backend",
|
|
467
|
+
"required": false,
|
|
468
|
+
"default": "local",
|
|
469
|
+
"hasDynamicHelp": false,
|
|
470
|
+
"helpValue": [
|
|
471
|
+
"local",
|
|
472
|
+
"vercel",
|
|
473
|
+
"<your-package-name>"
|
|
474
|
+
],
|
|
475
|
+
"multiple": false,
|
|
476
|
+
"type": "option"
|
|
477
|
+
},
|
|
478
|
+
"authToken": {
|
|
479
|
+
"char": "a",
|
|
480
|
+
"dependsOn": [
|
|
481
|
+
"backend"
|
|
482
|
+
],
|
|
483
|
+
"description": "Authentication token to be passed to the backend. If not provided and the backend is vercel, will fall back to the token generated by `vc login`.",
|
|
484
|
+
"env": "WORKFLOW_VERCEL_AUTH_TOKEN",
|
|
485
|
+
"helpGroup": "Target",
|
|
486
|
+
"helpLabel": "-a, --authToken",
|
|
487
|
+
"name": "authToken",
|
|
488
|
+
"required": false,
|
|
489
|
+
"default": "",
|
|
490
|
+
"hasDynamicHelp": false,
|
|
491
|
+
"helpValue": "TOKEN",
|
|
492
|
+
"multiple": false,
|
|
493
|
+
"type": "option"
|
|
494
|
+
},
|
|
495
|
+
"project": {
|
|
496
|
+
"dependsOn": [
|
|
497
|
+
"backend"
|
|
498
|
+
],
|
|
499
|
+
"description": "If backend is vercel, the vercel project to authenticate against",
|
|
500
|
+
"env": "WORKFLOW_VERCEL_PROJECT",
|
|
501
|
+
"helpGroup": "Target",
|
|
502
|
+
"helpLabel": "--project",
|
|
503
|
+
"name": "project",
|
|
504
|
+
"required": false,
|
|
505
|
+
"default": "",
|
|
506
|
+
"hasDynamicHelp": false,
|
|
507
|
+
"helpValue": "PROJECT",
|
|
508
|
+
"multiple": false,
|
|
509
|
+
"type": "option"
|
|
510
|
+
},
|
|
511
|
+
"team": {
|
|
512
|
+
"dependsOn": [
|
|
513
|
+
"backend"
|
|
514
|
+
],
|
|
515
|
+
"description": "If backend is vercel, the vercel team to authenticate against",
|
|
516
|
+
"env": "WORKFLOW_VERCEL_TEAM",
|
|
517
|
+
"helpGroup": "Target",
|
|
518
|
+
"helpLabel": "--team",
|
|
519
|
+
"name": "team",
|
|
520
|
+
"required": false,
|
|
521
|
+
"default": "",
|
|
522
|
+
"hasDynamicHelp": false,
|
|
523
|
+
"helpValue": "TEAM",
|
|
524
|
+
"multiple": false,
|
|
525
|
+
"type": "option"
|
|
526
|
+
},
|
|
527
|
+
"env": {
|
|
528
|
+
"char": "e",
|
|
529
|
+
"dependsOn": [
|
|
530
|
+
"backend"
|
|
531
|
+
],
|
|
532
|
+
"description": "If backend is vercel, the vercel environment to use",
|
|
533
|
+
"env": "WORKFLOW_VERCEL_ENV",
|
|
534
|
+
"helpGroup": "Target",
|
|
535
|
+
"helpLabel": "-e, --env",
|
|
536
|
+
"name": "env",
|
|
537
|
+
"required": false,
|
|
538
|
+
"default": "production",
|
|
539
|
+
"hasDynamicHelp": false,
|
|
540
|
+
"helpValue": [
|
|
541
|
+
"production",
|
|
542
|
+
"preview"
|
|
543
|
+
],
|
|
544
|
+
"multiple": false,
|
|
545
|
+
"options": [
|
|
546
|
+
"production",
|
|
547
|
+
"preview"
|
|
548
|
+
],
|
|
549
|
+
"type": "option"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"hasDynamicHelp": false,
|
|
553
|
+
"hiddenAliases": [],
|
|
554
|
+
"id": "health",
|
|
555
|
+
"pluginAlias": "@workflow/cli",
|
|
556
|
+
"pluginName": "@workflow/cli",
|
|
557
|
+
"pluginType": "core",
|
|
558
|
+
"strict": true,
|
|
559
|
+
"enableJsonFlag": true,
|
|
560
|
+
"isESM": true,
|
|
561
|
+
"relativePath": [
|
|
562
|
+
"dist",
|
|
563
|
+
"commands",
|
|
564
|
+
"health.js"
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
"init": {
|
|
568
|
+
"aliases": [],
|
|
569
|
+
"args": {},
|
|
570
|
+
"description": "Initialize a new workflow project (Coming soon)",
|
|
571
|
+
"examples": [
|
|
572
|
+
"$ workflow init",
|
|
573
|
+
"$ workflow init --template nextjs",
|
|
574
|
+
"$ workflow init --yes"
|
|
575
|
+
],
|
|
576
|
+
"flags": {
|
|
577
|
+
"json": {
|
|
578
|
+
"description": "Format output as json.",
|
|
579
|
+
"helpGroup": "GLOBAL",
|
|
580
|
+
"name": "json",
|
|
581
|
+
"allowNo": false,
|
|
582
|
+
"type": "boolean"
|
|
583
|
+
},
|
|
584
|
+
"template": {
|
|
585
|
+
"description": "template to use",
|
|
586
|
+
"name": "template",
|
|
587
|
+
"hasDynamicHelp": false,
|
|
588
|
+
"multiple": false,
|
|
589
|
+
"options": [
|
|
590
|
+
"standalone",
|
|
591
|
+
"nextjs",
|
|
592
|
+
"express"
|
|
593
|
+
],
|
|
594
|
+
"type": "option"
|
|
595
|
+
},
|
|
596
|
+
"yes": {
|
|
597
|
+
"char": "y",
|
|
598
|
+
"description": "skip prompts and use defaults",
|
|
599
|
+
"name": "yes",
|
|
600
|
+
"allowNo": false,
|
|
601
|
+
"type": "boolean"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
"hasDynamicHelp": false,
|
|
605
|
+
"hiddenAliases": [],
|
|
606
|
+
"id": "init",
|
|
607
|
+
"pluginAlias": "@workflow/cli",
|
|
608
|
+
"pluginName": "@workflow/cli",
|
|
609
|
+
"pluginType": "core",
|
|
610
|
+
"strict": true,
|
|
611
|
+
"enableJsonFlag": true,
|
|
612
|
+
"isESM": true,
|
|
613
|
+
"relativePath": [
|
|
614
|
+
"dist",
|
|
615
|
+
"commands",
|
|
616
|
+
"init.js"
|
|
617
|
+
]
|
|
618
|
+
},
|
|
619
|
+
"inspect": {
|
|
620
|
+
"aliases": [
|
|
621
|
+
"i"
|
|
622
|
+
],
|
|
623
|
+
"args": {
|
|
624
|
+
"resource": {
|
|
625
|
+
"description": "what to inspect: run(s) | step(s) | stream(s) | event(s) | hook(s) | sleep(s) | attribute(s)",
|
|
626
|
+
"name": "resource",
|
|
627
|
+
"options": [
|
|
628
|
+
"r",
|
|
629
|
+
"run",
|
|
630
|
+
"runs",
|
|
631
|
+
"s",
|
|
632
|
+
"step",
|
|
633
|
+
"steps",
|
|
634
|
+
"e",
|
|
635
|
+
"event",
|
|
636
|
+
"events",
|
|
637
|
+
"st",
|
|
638
|
+
"stream",
|
|
639
|
+
"streams",
|
|
640
|
+
"h",
|
|
641
|
+
"hook",
|
|
642
|
+
"hooks",
|
|
643
|
+
"w",
|
|
644
|
+
"web",
|
|
645
|
+
"sleep",
|
|
646
|
+
"sleeps",
|
|
647
|
+
"a",
|
|
648
|
+
"attr",
|
|
649
|
+
"attribute",
|
|
650
|
+
"attributes"
|
|
651
|
+
],
|
|
652
|
+
"required": true
|
|
653
|
+
},
|
|
654
|
+
"id": {
|
|
655
|
+
"description": "ID of the resource if inspecting a specific item",
|
|
656
|
+
"name": "id",
|
|
657
|
+
"required": false
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
"description": "Inspect runs, steps, streams, or events",
|
|
661
|
+
"examples": [
|
|
662
|
+
"$ workflow inspect runs",
|
|
663
|
+
"$ workflow inspect attributes",
|
|
664
|
+
"$ workflow inspect runs --attribute tenant=acme --status failed",
|
|
665
|
+
"$ workflow inspect events --step=step_01K5WAJZ8W367CV2RFKDSDNWB8",
|
|
666
|
+
"$ workflow inspect events --runId=wrun_01K5WAJZ8W367CV2RFKDSDNWB8 --json --all",
|
|
667
|
+
"$ workflow inspect event evnt_00000000000000000000000003 --runId=wrun_01K5WAJZ8W367CV2RFKDSDNWB8",
|
|
668
|
+
"$ workflow inspect hooks",
|
|
669
|
+
"$ workflow inspect hook hook_01K5WAJZ8W367CV2RFKDSDNWB8",
|
|
670
|
+
"$ workflow inspect sleeps --runId=run_01K5WAJZ8W367CV2RFKDSDNWB8"
|
|
671
|
+
],
|
|
672
|
+
"flags": {
|
|
673
|
+
"json": {
|
|
674
|
+
"char": "j",
|
|
675
|
+
"description": "output JSON instead of human-readable tables/streams",
|
|
676
|
+
"helpGroup": "Output",
|
|
677
|
+
"helpLabel": "-j, --json",
|
|
678
|
+
"name": "json",
|
|
679
|
+
"required": false,
|
|
680
|
+
"allowNo": false,
|
|
681
|
+
"type": "boolean"
|
|
682
|
+
},
|
|
683
|
+
"runId": {
|
|
684
|
+
"aliases": [
|
|
685
|
+
"run"
|
|
686
|
+
],
|
|
687
|
+
"char": "r",
|
|
688
|
+
"description": "Run ID to filter by (required for steps, sleeps, and events. Optional for hooks.)",
|
|
689
|
+
"helpGroup": "Filtering",
|
|
690
|
+
"helpLabel": "-r, --runId",
|
|
691
|
+
"name": "runId",
|
|
692
|
+
"required": false,
|
|
693
|
+
"hasDynamicHelp": false,
|
|
694
|
+
"helpValue": "RUN_ID",
|
|
695
|
+
"multiple": false,
|
|
696
|
+
"type": "option"
|
|
697
|
+
},
|
|
698
|
+
"stepId": {
|
|
699
|
+
"aliases": [
|
|
700
|
+
"step"
|
|
701
|
+
],
|
|
702
|
+
"char": "s",
|
|
703
|
+
"description": "step ID to filter by (only for events)",
|
|
704
|
+
"helpGroup": "Filtering",
|
|
705
|
+
"helpLabel": "-s, --stepId",
|
|
706
|
+
"name": "stepId",
|
|
707
|
+
"required": false,
|
|
708
|
+
"hasDynamicHelp": false,
|
|
709
|
+
"helpValue": "STEP_ID",
|
|
710
|
+
"multiple": false,
|
|
711
|
+
"type": "option"
|
|
712
|
+
},
|
|
713
|
+
"hookId": {
|
|
714
|
+
"aliases": [
|
|
715
|
+
"hook"
|
|
716
|
+
],
|
|
717
|
+
"description": "hook ID to filter by (only for events)",
|
|
718
|
+
"helpGroup": "Filtering",
|
|
719
|
+
"helpLabel": "--hookId",
|
|
720
|
+
"name": "hookId",
|
|
721
|
+
"required": false,
|
|
722
|
+
"hasDynamicHelp": false,
|
|
723
|
+
"helpValue": "HOOK_ID",
|
|
724
|
+
"multiple": false,
|
|
725
|
+
"type": "option"
|
|
726
|
+
},
|
|
727
|
+
"attribute": {
|
|
728
|
+
"description": "filter runs by attribute, as key=value; repeatable up to 8 times",
|
|
729
|
+
"helpGroup": "Filtering",
|
|
730
|
+
"helpLabel": "--attribute",
|
|
731
|
+
"name": "attribute",
|
|
732
|
+
"required": false,
|
|
733
|
+
"hasDynamicHelp": false,
|
|
734
|
+
"helpValue": "KEY=VALUE",
|
|
735
|
+
"multiple": true,
|
|
736
|
+
"type": "option"
|
|
737
|
+
},
|
|
738
|
+
"workflowName": {
|
|
739
|
+
"aliases": [
|
|
740
|
+
"workflow"
|
|
741
|
+
],
|
|
742
|
+
"char": "n",
|
|
743
|
+
"description": "workflow name to filter by, in full or the short name the runs table shows (runs and attributes)",
|
|
744
|
+
"helpGroup": "Filtering",
|
|
745
|
+
"helpLabel": "-n, --workflowName",
|
|
746
|
+
"name": "workflowName",
|
|
747
|
+
"required": false,
|
|
748
|
+
"hasDynamicHelp": false,
|
|
749
|
+
"multiple": false,
|
|
750
|
+
"type": "option"
|
|
751
|
+
},
|
|
752
|
+
"status": {
|
|
753
|
+
"description": "filter runs by status (only for runs)",
|
|
754
|
+
"helpGroup": "Filtering",
|
|
755
|
+
"helpLabel": "--status",
|
|
756
|
+
"name": "status",
|
|
757
|
+
"required": false,
|
|
758
|
+
"hasDynamicHelp": false,
|
|
759
|
+
"multiple": false,
|
|
760
|
+
"options": [
|
|
761
|
+
"pending",
|
|
762
|
+
"running",
|
|
763
|
+
"completed",
|
|
764
|
+
"failed",
|
|
765
|
+
"cancelled"
|
|
766
|
+
],
|
|
767
|
+
"type": "option"
|
|
768
|
+
},
|
|
769
|
+
"since": {
|
|
770
|
+
"description": "list items active since a relative duration (30m, 12h, 7d, 2w) or timestamp; defaults to the backend window (runs and attributes)",
|
|
771
|
+
"helpGroup": "Filtering",
|
|
772
|
+
"helpLabel": "--since",
|
|
773
|
+
"name": "since",
|
|
774
|
+
"required": false,
|
|
775
|
+
"hasDynamicHelp": false,
|
|
776
|
+
"helpValue": "DURATION|TIMESTAMP",
|
|
777
|
+
"multiple": false,
|
|
778
|
+
"type": "option"
|
|
779
|
+
},
|
|
780
|
+
"until": {
|
|
781
|
+
"description": "end of the --since listing window, as a relative duration or timestamp; defaults to now (runs and attributes)",
|
|
782
|
+
"helpGroup": "Filtering",
|
|
783
|
+
"helpLabel": "--until",
|
|
784
|
+
"name": "until",
|
|
785
|
+
"required": false,
|
|
786
|
+
"hasDynamicHelp": false,
|
|
787
|
+
"helpValue": "DURATION|TIMESTAMP",
|
|
788
|
+
"multiple": false,
|
|
789
|
+
"type": "option"
|
|
790
|
+
},
|
|
791
|
+
"withData": {
|
|
792
|
+
"char": "d",
|
|
793
|
+
"description": "include full input/output data in list views (deprecated for list views — use `inspect <resource> <id>` to view payloads)",
|
|
794
|
+
"helpGroup": "Display",
|
|
795
|
+
"helpLabel": "-d, --withData",
|
|
796
|
+
"name": "withData",
|
|
797
|
+
"required": false,
|
|
798
|
+
"allowNo": false,
|
|
799
|
+
"type": "boolean"
|
|
800
|
+
},
|
|
801
|
+
"decrypt": {
|
|
802
|
+
"description": "decrypt encrypted values (triggers audit-logged key retrieval)",
|
|
803
|
+
"helpGroup": "Display",
|
|
804
|
+
"helpLabel": "--decrypt",
|
|
805
|
+
"name": "decrypt",
|
|
806
|
+
"required": false,
|
|
807
|
+
"allowNo": false,
|
|
808
|
+
"type": "boolean"
|
|
809
|
+
},
|
|
810
|
+
"all": {
|
|
811
|
+
"description": "follow cursors to the last page and print every row (steps, events, and sleeps); --limit sets the page size",
|
|
812
|
+
"helpGroup": "Filtering",
|
|
813
|
+
"helpLabel": "--all",
|
|
814
|
+
"name": "all",
|
|
815
|
+
"required": false,
|
|
816
|
+
"allowNo": false,
|
|
817
|
+
"type": "boolean"
|
|
818
|
+
},
|
|
819
|
+
"verbose": {
|
|
820
|
+
"char": "v",
|
|
821
|
+
"description": "Verbose output",
|
|
822
|
+
"env": "DEBUG",
|
|
823
|
+
"helpGroup": "Output",
|
|
824
|
+
"helpLabel": "-v, --verbose",
|
|
825
|
+
"name": "verbose",
|
|
826
|
+
"required": false,
|
|
827
|
+
"allowNo": false,
|
|
828
|
+
"type": "boolean"
|
|
829
|
+
},
|
|
830
|
+
"cursor": {
|
|
831
|
+
"description": "pagination cursor for list commands",
|
|
832
|
+
"helpGroup": "Filtering",
|
|
833
|
+
"helpLabel": "--cursor",
|
|
834
|
+
"name": "cursor",
|
|
835
|
+
"required": false,
|
|
836
|
+
"default": "",
|
|
837
|
+
"hasDynamicHelp": false,
|
|
838
|
+
"helpValue": "CURSOR",
|
|
839
|
+
"multiple": false,
|
|
840
|
+
"type": "option"
|
|
841
|
+
},
|
|
842
|
+
"backend": {
|
|
843
|
+
"char": "b",
|
|
844
|
+
"description": "backend to inspect",
|
|
845
|
+
"env": "WORKFLOW_TARGET_WORLD",
|
|
846
|
+
"helpGroup": "Target",
|
|
847
|
+
"helpLabel": "-b, --backend",
|
|
848
|
+
"name": "backend",
|
|
849
|
+
"required": false,
|
|
850
|
+
"default": "local",
|
|
851
|
+
"hasDynamicHelp": false,
|
|
852
|
+
"helpValue": [
|
|
853
|
+
"local",
|
|
854
|
+
"vercel",
|
|
855
|
+
"<your-package-name>"
|
|
856
|
+
],
|
|
857
|
+
"multiple": false,
|
|
858
|
+
"type": "option"
|
|
859
|
+
},
|
|
860
|
+
"authToken": {
|
|
861
|
+
"char": "a",
|
|
862
|
+
"dependsOn": [
|
|
863
|
+
"backend"
|
|
864
|
+
],
|
|
865
|
+
"description": "Authentication token to be passed to the backend. If not provided and the backend is vercel, will fall back to the token generated by `vc login`.",
|
|
866
|
+
"env": "WORKFLOW_VERCEL_AUTH_TOKEN",
|
|
867
|
+
"helpGroup": "Target",
|
|
868
|
+
"helpLabel": "-a, --authToken",
|
|
869
|
+
"name": "authToken",
|
|
870
|
+
"required": false,
|
|
871
|
+
"default": "",
|
|
872
|
+
"hasDynamicHelp": false,
|
|
873
|
+
"helpValue": "TOKEN",
|
|
874
|
+
"multiple": false,
|
|
875
|
+
"type": "option"
|
|
876
|
+
},
|
|
877
|
+
"project": {
|
|
878
|
+
"dependsOn": [
|
|
879
|
+
"backend"
|
|
880
|
+
],
|
|
881
|
+
"description": "If backend is vercel, the vercel project to authenticate against",
|
|
882
|
+
"env": "WORKFLOW_VERCEL_PROJECT",
|
|
883
|
+
"helpGroup": "Target",
|
|
884
|
+
"helpLabel": "--project",
|
|
885
|
+
"name": "project",
|
|
886
|
+
"required": false,
|
|
887
|
+
"default": "",
|
|
888
|
+
"hasDynamicHelp": false,
|
|
889
|
+
"helpValue": "PROJECT",
|
|
890
|
+
"multiple": false,
|
|
891
|
+
"type": "option"
|
|
892
|
+
},
|
|
893
|
+
"team": {
|
|
894
|
+
"dependsOn": [
|
|
895
|
+
"backend"
|
|
896
|
+
],
|
|
897
|
+
"description": "If backend is vercel, the vercel team to authenticate against",
|
|
898
|
+
"env": "WORKFLOW_VERCEL_TEAM",
|
|
899
|
+
"helpGroup": "Target",
|
|
900
|
+
"helpLabel": "--team",
|
|
901
|
+
"name": "team",
|
|
902
|
+
"required": false,
|
|
903
|
+
"default": "",
|
|
904
|
+
"hasDynamicHelp": false,
|
|
905
|
+
"helpValue": "TEAM",
|
|
906
|
+
"multiple": false,
|
|
907
|
+
"type": "option"
|
|
908
|
+
},
|
|
909
|
+
"env": {
|
|
910
|
+
"char": "e",
|
|
911
|
+
"dependsOn": [
|
|
912
|
+
"backend"
|
|
913
|
+
],
|
|
914
|
+
"description": "If backend is vercel, the vercel environment to use",
|
|
915
|
+
"env": "WORKFLOW_VERCEL_ENV",
|
|
916
|
+
"helpGroup": "Target",
|
|
917
|
+
"helpLabel": "-e, --env",
|
|
918
|
+
"name": "env",
|
|
919
|
+
"required": false,
|
|
920
|
+
"default": "production",
|
|
921
|
+
"hasDynamicHelp": false,
|
|
922
|
+
"helpValue": [
|
|
923
|
+
"production",
|
|
924
|
+
"preview"
|
|
925
|
+
],
|
|
926
|
+
"multiple": false,
|
|
927
|
+
"options": [
|
|
928
|
+
"production",
|
|
929
|
+
"preview"
|
|
930
|
+
],
|
|
931
|
+
"type": "option"
|
|
932
|
+
},
|
|
933
|
+
"web": {
|
|
934
|
+
"char": "w",
|
|
935
|
+
"description": "Open the web UI instead of displaying in terminal",
|
|
936
|
+
"helpGroup": "Output",
|
|
937
|
+
"helpLabel": "-w, --web",
|
|
938
|
+
"name": "web",
|
|
939
|
+
"required": false,
|
|
940
|
+
"allowNo": false,
|
|
941
|
+
"type": "boolean"
|
|
942
|
+
},
|
|
943
|
+
"webPort": {
|
|
944
|
+
"description": "Port to use when launching the web UI (default: 3456)",
|
|
945
|
+
"env": "WORKFLOW_WEB_PORT",
|
|
946
|
+
"helpGroup": "Output",
|
|
947
|
+
"helpLabel": "--webPort",
|
|
948
|
+
"name": "webPort",
|
|
949
|
+
"required": false,
|
|
950
|
+
"default": 3456,
|
|
951
|
+
"hasDynamicHelp": false,
|
|
952
|
+
"helpValue": "WEB_PORT",
|
|
953
|
+
"multiple": false,
|
|
954
|
+
"type": "option"
|
|
955
|
+
},
|
|
956
|
+
"noBrowser": {
|
|
957
|
+
"description": "Disable automatic browser opening when launching web UI",
|
|
958
|
+
"env": "WORKFLOW_DISABLE_BROWSER_OPEN",
|
|
959
|
+
"helpGroup": "Output",
|
|
960
|
+
"helpLabel": "--noBrowser",
|
|
961
|
+
"name": "noBrowser",
|
|
962
|
+
"required": false,
|
|
963
|
+
"allowNo": false,
|
|
964
|
+
"type": "boolean"
|
|
965
|
+
},
|
|
966
|
+
"localUi": {
|
|
967
|
+
"description": "Use local web UI instead of Vercel dashboard (when backend is vercel)",
|
|
968
|
+
"env": "WORKFLOW_LOCAL_UI",
|
|
969
|
+
"helpGroup": "Output",
|
|
970
|
+
"helpLabel": "--localUi",
|
|
971
|
+
"name": "localUi",
|
|
972
|
+
"required": false,
|
|
973
|
+
"allowNo": false,
|
|
974
|
+
"type": "boolean"
|
|
975
|
+
},
|
|
976
|
+
"standalone": {
|
|
977
|
+
"description": "Always start the standalone web UI, even if an embedded dashboard (e.g. /_workflow) is already running",
|
|
978
|
+
"env": "WORKFLOW_STANDALONE_UI",
|
|
979
|
+
"helpGroup": "Output",
|
|
980
|
+
"helpLabel": "--standalone",
|
|
981
|
+
"name": "standalone",
|
|
982
|
+
"required": false,
|
|
983
|
+
"allowNo": false,
|
|
984
|
+
"type": "boolean"
|
|
985
|
+
},
|
|
986
|
+
"sort": {
|
|
987
|
+
"description": "sort order for list commands",
|
|
988
|
+
"helpGroup": "Filtering",
|
|
989
|
+
"helpLabel": "--sort",
|
|
990
|
+
"name": "sort",
|
|
991
|
+
"required": false,
|
|
992
|
+
"hasDynamicHelp": false,
|
|
993
|
+
"helpValue": [
|
|
994
|
+
"asc",
|
|
995
|
+
"desc"
|
|
996
|
+
],
|
|
997
|
+
"multiple": false,
|
|
998
|
+
"options": [
|
|
999
|
+
"asc",
|
|
1000
|
+
"desc"
|
|
1001
|
+
],
|
|
1002
|
+
"type": "option"
|
|
1003
|
+
},
|
|
1004
|
+
"limit": {
|
|
1005
|
+
"description": "number of items to return per page",
|
|
1006
|
+
"helpGroup": "Filtering",
|
|
1007
|
+
"helpLabel": "--limit",
|
|
1008
|
+
"name": "limit",
|
|
1009
|
+
"required": false,
|
|
1010
|
+
"default": 20,
|
|
1011
|
+
"hasDynamicHelp": false,
|
|
1012
|
+
"helpValue": "NUMBER",
|
|
1013
|
+
"multiple": false,
|
|
1014
|
+
"type": "option"
|
|
1015
|
+
},
|
|
1016
|
+
"interactive": {
|
|
1017
|
+
"char": "i",
|
|
1018
|
+
"description": "Enable interactive pagination with keyboard controls",
|
|
1019
|
+
"helpGroup": "Output",
|
|
1020
|
+
"helpLabel": "-i, --interactive",
|
|
1021
|
+
"name": "interactive",
|
|
1022
|
+
"required": false,
|
|
1023
|
+
"allowNo": false,
|
|
1024
|
+
"type": "boolean"
|
|
1025
|
+
},
|
|
1026
|
+
"url": {
|
|
1027
|
+
"description": "Print the deep-link URL to the run/dashboard and exit (no browser, no server)",
|
|
1028
|
+
"helpGroup": "Output",
|
|
1029
|
+
"helpLabel": "--url",
|
|
1030
|
+
"name": "url",
|
|
1031
|
+
"required": false,
|
|
1032
|
+
"allowNo": false,
|
|
1033
|
+
"type": "boolean"
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"hiddenAliases": [],
|
|
1038
|
+
"id": "inspect",
|
|
1039
|
+
"pluginAlias": "@workflow/cli",
|
|
1040
|
+
"pluginName": "@workflow/cli",
|
|
1041
|
+
"pluginType": "core",
|
|
1042
|
+
"strict": true,
|
|
1043
|
+
"enableJsonFlag": true,
|
|
1044
|
+
"isESM": true,
|
|
1045
|
+
"relativePath": [
|
|
1046
|
+
"dist",
|
|
1047
|
+
"commands",
|
|
1048
|
+
"inspect.js"
|
|
1049
|
+
]
|
|
1050
|
+
},
|
|
1051
|
+
"start": {
|
|
1052
|
+
"aliases": [
|
|
1053
|
+
"s"
|
|
1054
|
+
],
|
|
1055
|
+
"args": {
|
|
1056
|
+
"workflowName": {
|
|
1057
|
+
"description": "Name of a workflow to start. Providing a run ID will create a new run on that workflow.",
|
|
1058
|
+
"name": "workflowName",
|
|
1059
|
+
"required": true
|
|
1060
|
+
},
|
|
1061
|
+
"args": {
|
|
1062
|
+
"description": "Arguments to pass to the workflow. All arguments will be parsed as JSON.\nE.g. `wf start example 123 \"'123'\" \"{\"a\": 1}\"` will start the \"example\" workflow with 123 (a number), \"123\" (a string), and {\"a\": 1} (an object)",
|
|
1063
|
+
"name": "args",
|
|
1064
|
+
"required": false
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"description": "Start a workflow",
|
|
1068
|
+
"examples": [
|
|
1069
|
+
"$ workflow start <workflow-name> <args>",
|
|
1070
|
+
"$ wf start <workflow-name> <args>"
|
|
1071
|
+
],
|
|
1072
|
+
"flags": {
|
|
1073
|
+
"json": {
|
|
1074
|
+
"char": "j",
|
|
1075
|
+
"description": "output JSON instead of human-readable tables/streams",
|
|
1076
|
+
"helpGroup": "Output",
|
|
1077
|
+
"helpLabel": "-j, --json",
|
|
1078
|
+
"name": "json",
|
|
1079
|
+
"required": false,
|
|
1080
|
+
"allowNo": false,
|
|
1081
|
+
"type": "boolean"
|
|
1082
|
+
},
|
|
1083
|
+
"verbose": {
|
|
1084
|
+
"char": "v",
|
|
1085
|
+
"description": "Verbose output",
|
|
1086
|
+
"env": "DEBUG",
|
|
1087
|
+
"helpGroup": "Output",
|
|
1088
|
+
"helpLabel": "-v, --verbose",
|
|
1089
|
+
"name": "verbose",
|
|
1090
|
+
"required": false,
|
|
1091
|
+
"allowNo": false,
|
|
1092
|
+
"type": "boolean"
|
|
1093
|
+
},
|
|
1094
|
+
"cursor": {
|
|
1095
|
+
"description": "pagination cursor for list commands",
|
|
1096
|
+
"helpGroup": "Filtering",
|
|
1097
|
+
"helpLabel": "--cursor",
|
|
1098
|
+
"name": "cursor",
|
|
1099
|
+
"required": false,
|
|
1100
|
+
"default": "",
|
|
1101
|
+
"hasDynamicHelp": false,
|
|
1102
|
+
"helpValue": "CURSOR",
|
|
1103
|
+
"multiple": false,
|
|
1104
|
+
"type": "option"
|
|
1105
|
+
},
|
|
1106
|
+
"backend": {
|
|
1107
|
+
"char": "b",
|
|
1108
|
+
"description": "backend to inspect",
|
|
1109
|
+
"env": "WORKFLOW_TARGET_WORLD",
|
|
1110
|
+
"helpGroup": "Target",
|
|
1111
|
+
"helpLabel": "-b, --backend",
|
|
1112
|
+
"name": "backend",
|
|
1113
|
+
"required": false,
|
|
1114
|
+
"default": "local",
|
|
1115
|
+
"hasDynamicHelp": false,
|
|
1116
|
+
"helpValue": [
|
|
1117
|
+
"local",
|
|
1118
|
+
"vercel",
|
|
1119
|
+
"<your-package-name>"
|
|
1120
|
+
],
|
|
1121
|
+
"multiple": false,
|
|
1122
|
+
"type": "option"
|
|
1123
|
+
},
|
|
1124
|
+
"authToken": {
|
|
1125
|
+
"char": "a",
|
|
1126
|
+
"dependsOn": [
|
|
1127
|
+
"backend"
|
|
1128
|
+
],
|
|
1129
|
+
"description": "Authentication token to be passed to the backend. If not provided and the backend is vercel, will fall back to the token generated by `vc login`.",
|
|
1130
|
+
"env": "WORKFLOW_VERCEL_AUTH_TOKEN",
|
|
1131
|
+
"helpGroup": "Target",
|
|
1132
|
+
"helpLabel": "-a, --authToken",
|
|
1133
|
+
"name": "authToken",
|
|
1134
|
+
"required": false,
|
|
1135
|
+
"default": "",
|
|
1136
|
+
"hasDynamicHelp": false,
|
|
1137
|
+
"helpValue": "TOKEN",
|
|
1138
|
+
"multiple": false,
|
|
1139
|
+
"type": "option"
|
|
1140
|
+
},
|
|
1141
|
+
"project": {
|
|
1142
|
+
"dependsOn": [
|
|
1143
|
+
"backend"
|
|
1144
|
+
],
|
|
1145
|
+
"description": "If backend is vercel, the vercel project to authenticate against",
|
|
1146
|
+
"env": "WORKFLOW_VERCEL_PROJECT",
|
|
1147
|
+
"helpGroup": "Target",
|
|
1148
|
+
"helpLabel": "--project",
|
|
1149
|
+
"name": "project",
|
|
1150
|
+
"required": false,
|
|
1151
|
+
"default": "",
|
|
1152
|
+
"hasDynamicHelp": false,
|
|
1153
|
+
"helpValue": "PROJECT",
|
|
1154
|
+
"multiple": false,
|
|
1155
|
+
"type": "option"
|
|
1156
|
+
},
|
|
1157
|
+
"team": {
|
|
1158
|
+
"dependsOn": [
|
|
1159
|
+
"backend"
|
|
1160
|
+
],
|
|
1161
|
+
"description": "If backend is vercel, the vercel team to authenticate against",
|
|
1162
|
+
"env": "WORKFLOW_VERCEL_TEAM",
|
|
1163
|
+
"helpGroup": "Target",
|
|
1164
|
+
"helpLabel": "--team",
|
|
1165
|
+
"name": "team",
|
|
1166
|
+
"required": false,
|
|
1167
|
+
"default": "",
|
|
1168
|
+
"hasDynamicHelp": false,
|
|
1169
|
+
"helpValue": "TEAM",
|
|
1170
|
+
"multiple": false,
|
|
1171
|
+
"type": "option"
|
|
1172
|
+
},
|
|
1173
|
+
"env": {
|
|
1174
|
+
"char": "e",
|
|
1175
|
+
"dependsOn": [
|
|
1176
|
+
"backend"
|
|
1177
|
+
],
|
|
1178
|
+
"description": "If backend is vercel, the vercel environment to use",
|
|
1179
|
+
"env": "WORKFLOW_VERCEL_ENV",
|
|
1180
|
+
"helpGroup": "Target",
|
|
1181
|
+
"helpLabel": "-e, --env",
|
|
1182
|
+
"name": "env",
|
|
1183
|
+
"required": false,
|
|
1184
|
+
"default": "production",
|
|
1185
|
+
"hasDynamicHelp": false,
|
|
1186
|
+
"helpValue": [
|
|
1187
|
+
"production",
|
|
1188
|
+
"preview"
|
|
1189
|
+
],
|
|
1190
|
+
"multiple": false,
|
|
1191
|
+
"options": [
|
|
1192
|
+
"production",
|
|
1193
|
+
"preview"
|
|
1194
|
+
],
|
|
1195
|
+
"type": "option"
|
|
1196
|
+
},
|
|
1197
|
+
"web": {
|
|
1198
|
+
"char": "w",
|
|
1199
|
+
"description": "Open the web UI instead of displaying in terminal",
|
|
1200
|
+
"helpGroup": "Output",
|
|
1201
|
+
"helpLabel": "-w, --web",
|
|
1202
|
+
"name": "web",
|
|
1203
|
+
"required": false,
|
|
1204
|
+
"allowNo": false,
|
|
1205
|
+
"type": "boolean"
|
|
1206
|
+
},
|
|
1207
|
+
"webPort": {
|
|
1208
|
+
"description": "Port to use when launching the web UI (default: 3456)",
|
|
1209
|
+
"env": "WORKFLOW_WEB_PORT",
|
|
1210
|
+
"helpGroup": "Output",
|
|
1211
|
+
"helpLabel": "--webPort",
|
|
1212
|
+
"name": "webPort",
|
|
1213
|
+
"required": false,
|
|
1214
|
+
"default": 3456,
|
|
1215
|
+
"hasDynamicHelp": false,
|
|
1216
|
+
"helpValue": "WEB_PORT",
|
|
1217
|
+
"multiple": false,
|
|
1218
|
+
"type": "option"
|
|
1219
|
+
},
|
|
1220
|
+
"noBrowser": {
|
|
1221
|
+
"description": "Disable automatic browser opening when launching web UI",
|
|
1222
|
+
"env": "WORKFLOW_DISABLE_BROWSER_OPEN",
|
|
1223
|
+
"helpGroup": "Output",
|
|
1224
|
+
"helpLabel": "--noBrowser",
|
|
1225
|
+
"name": "noBrowser",
|
|
1226
|
+
"required": false,
|
|
1227
|
+
"allowNo": false,
|
|
1228
|
+
"type": "boolean"
|
|
1229
|
+
},
|
|
1230
|
+
"localUi": {
|
|
1231
|
+
"description": "Use local web UI instead of Vercel dashboard (when backend is vercel)",
|
|
1232
|
+
"env": "WORKFLOW_LOCAL_UI",
|
|
1233
|
+
"helpGroup": "Output",
|
|
1234
|
+
"helpLabel": "--localUi",
|
|
1235
|
+
"name": "localUi",
|
|
1236
|
+
"required": false,
|
|
1237
|
+
"allowNo": false,
|
|
1238
|
+
"type": "boolean"
|
|
1239
|
+
},
|
|
1240
|
+
"standalone": {
|
|
1241
|
+
"description": "Always start the standalone web UI, even if an embedded dashboard (e.g. /_workflow) is already running",
|
|
1242
|
+
"env": "WORKFLOW_STANDALONE_UI",
|
|
1243
|
+
"helpGroup": "Output",
|
|
1244
|
+
"helpLabel": "--standalone",
|
|
1245
|
+
"name": "standalone",
|
|
1246
|
+
"required": false,
|
|
1247
|
+
"allowNo": false,
|
|
1248
|
+
"type": "boolean"
|
|
1249
|
+
},
|
|
1250
|
+
"sort": {
|
|
1251
|
+
"description": "sort order for list commands",
|
|
1252
|
+
"helpGroup": "Filtering",
|
|
1253
|
+
"helpLabel": "--sort",
|
|
1254
|
+
"name": "sort",
|
|
1255
|
+
"required": false,
|
|
1256
|
+
"hasDynamicHelp": false,
|
|
1257
|
+
"helpValue": [
|
|
1258
|
+
"asc",
|
|
1259
|
+
"desc"
|
|
1260
|
+
],
|
|
1261
|
+
"multiple": false,
|
|
1262
|
+
"options": [
|
|
1263
|
+
"asc",
|
|
1264
|
+
"desc"
|
|
1265
|
+
],
|
|
1266
|
+
"type": "option"
|
|
1267
|
+
},
|
|
1268
|
+
"limit": {
|
|
1269
|
+
"description": "number of items to return per page",
|
|
1270
|
+
"helpGroup": "Filtering",
|
|
1271
|
+
"helpLabel": "--limit",
|
|
1272
|
+
"name": "limit",
|
|
1273
|
+
"required": false,
|
|
1274
|
+
"default": 20,
|
|
1275
|
+
"hasDynamicHelp": false,
|
|
1276
|
+
"helpValue": "NUMBER",
|
|
1277
|
+
"multiple": false,
|
|
1278
|
+
"type": "option"
|
|
1279
|
+
},
|
|
1280
|
+
"interactive": {
|
|
1281
|
+
"char": "i",
|
|
1282
|
+
"description": "Enable interactive pagination with keyboard controls",
|
|
1283
|
+
"helpGroup": "Output",
|
|
1284
|
+
"helpLabel": "-i, --interactive",
|
|
1285
|
+
"name": "interactive",
|
|
1286
|
+
"required": false,
|
|
1287
|
+
"allowNo": false,
|
|
1288
|
+
"type": "boolean"
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
"hasDynamicHelp": false,
|
|
1292
|
+
"hiddenAliases": [],
|
|
1293
|
+
"id": "start",
|
|
1294
|
+
"pluginAlias": "@workflow/cli",
|
|
1295
|
+
"pluginName": "@workflow/cli",
|
|
1296
|
+
"pluginType": "core",
|
|
1297
|
+
"strict": true,
|
|
1298
|
+
"enableJsonFlag": true,
|
|
1299
|
+
"isESM": true,
|
|
1300
|
+
"relativePath": [
|
|
1301
|
+
"dist",
|
|
1302
|
+
"commands",
|
|
1303
|
+
"start.js"
|
|
1304
|
+
]
|
|
1305
|
+
},
|
|
1306
|
+
"transform": {
|
|
1307
|
+
"aliases": [],
|
|
1308
|
+
"args": {
|
|
1309
|
+
"file": {
|
|
1310
|
+
"description": "The file to transform",
|
|
1311
|
+
"name": "file",
|
|
1312
|
+
"required": true
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
"description": "Show SWC transform output for a workflow file. Useful for inspecting what code runs in each execution context.",
|
|
1316
|
+
"examples": [
|
|
1317
|
+
"$ workflow transform src/MyClass.ts",
|
|
1318
|
+
"$ workflow transform src/MyClass.ts --mode workflow",
|
|
1319
|
+
"$ workflow transform src/MyClass.ts --mode step",
|
|
1320
|
+
"$ workflow transform src/MyClass.ts --check-serde",
|
|
1321
|
+
"$ workflow transform src/MyClass.ts --json"
|
|
1322
|
+
],
|
|
1323
|
+
"flags": {
|
|
1324
|
+
"json": {
|
|
1325
|
+
"description": "Format output as json.",
|
|
1326
|
+
"helpGroup": "GLOBAL",
|
|
1327
|
+
"name": "json",
|
|
1328
|
+
"allowNo": false,
|
|
1329
|
+
"type": "boolean"
|
|
1330
|
+
},
|
|
1331
|
+
"mode": {
|
|
1332
|
+
"char": "m",
|
|
1333
|
+
"description": "Transform mode (workflow, step, or all)",
|
|
1334
|
+
"name": "mode",
|
|
1335
|
+
"default": "all",
|
|
1336
|
+
"hasDynamicHelp": false,
|
|
1337
|
+
"multiple": false,
|
|
1338
|
+
"options": [
|
|
1339
|
+
"workflow",
|
|
1340
|
+
"step",
|
|
1341
|
+
"all"
|
|
1342
|
+
],
|
|
1343
|
+
"type": "option"
|
|
1344
|
+
},
|
|
1345
|
+
"check-serde": {
|
|
1346
|
+
"description": "Run serde compliance analysis on the transformed output",
|
|
1347
|
+
"name": "check-serde",
|
|
1348
|
+
"allowNo": false,
|
|
1349
|
+
"type": "boolean"
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
"hasDynamicHelp": false,
|
|
1353
|
+
"hiddenAliases": [],
|
|
1354
|
+
"id": "transform",
|
|
1355
|
+
"pluginAlias": "@workflow/cli",
|
|
1356
|
+
"pluginName": "@workflow/cli",
|
|
1357
|
+
"pluginType": "core",
|
|
1358
|
+
"strict": true,
|
|
1359
|
+
"enableJsonFlag": true,
|
|
1360
|
+
"isESM": true,
|
|
1361
|
+
"relativePath": [
|
|
1362
|
+
"dist",
|
|
1363
|
+
"commands",
|
|
1364
|
+
"transform.js"
|
|
1365
|
+
]
|
|
1366
|
+
},
|
|
1367
|
+
"validate": {
|
|
1368
|
+
"aliases": [],
|
|
1369
|
+
"args": {},
|
|
1370
|
+
"description": "Validate workflow files for correctness, including serde compliance checks",
|
|
1371
|
+
"examples": [
|
|
1372
|
+
"$ workflow validate",
|
|
1373
|
+
"$ workflow validate --dir src/workflows",
|
|
1374
|
+
"$ workflow validate --strict",
|
|
1375
|
+
"$ workflow validate --json"
|
|
1376
|
+
],
|
|
1377
|
+
"flags": {
|
|
1378
|
+
"json": {
|
|
1379
|
+
"description": "Format output as json.",
|
|
1380
|
+
"helpGroup": "GLOBAL",
|
|
1381
|
+
"name": "json",
|
|
1382
|
+
"allowNo": false,
|
|
1383
|
+
"type": "boolean"
|
|
1384
|
+
},
|
|
1385
|
+
"strict": {
|
|
1386
|
+
"description": "exit with code 1 if any validation issues are found",
|
|
1387
|
+
"name": "strict",
|
|
1388
|
+
"allowNo": false,
|
|
1389
|
+
"type": "boolean"
|
|
1390
|
+
},
|
|
1391
|
+
"dir": {
|
|
1392
|
+
"char": "d",
|
|
1393
|
+
"description": "directory to validate",
|
|
1394
|
+
"name": "dir",
|
|
1395
|
+
"default": ".",
|
|
1396
|
+
"hasDynamicHelp": false,
|
|
1397
|
+
"multiple": false,
|
|
1398
|
+
"type": "option"
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1401
|
+
"hasDynamicHelp": false,
|
|
1402
|
+
"hiddenAliases": [],
|
|
1403
|
+
"id": "validate",
|
|
1404
|
+
"pluginAlias": "@workflow/cli",
|
|
1405
|
+
"pluginName": "@workflow/cli",
|
|
1406
|
+
"pluginType": "core",
|
|
1407
|
+
"strict": true,
|
|
1408
|
+
"enableJsonFlag": true,
|
|
1409
|
+
"isESM": true,
|
|
1410
|
+
"relativePath": [
|
|
1411
|
+
"dist",
|
|
1412
|
+
"commands",
|
|
1413
|
+
"validate.js"
|
|
1414
|
+
]
|
|
1415
|
+
},
|
|
1416
|
+
"web": {
|
|
1417
|
+
"aliases": [
|
|
1418
|
+
"w"
|
|
1419
|
+
],
|
|
1420
|
+
"args": {
|
|
1421
|
+
"id": {
|
|
1422
|
+
"description": "Optional run ID to open directly",
|
|
1423
|
+
"name": "id",
|
|
1424
|
+
"required": false
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
"description": "Open the web UI to inspect workflow runs",
|
|
1428
|
+
"examples": [
|
|
1429
|
+
"$ workflow web",
|
|
1430
|
+
"$ workflow web run_01K5WAJZ8W367CV2RFKDSDNWB8",
|
|
1431
|
+
"$ workflow web --backend=vercel"
|
|
1432
|
+
],
|
|
1433
|
+
"flags": {
|
|
1434
|
+
"json": {
|
|
1435
|
+
"char": "j",
|
|
1436
|
+
"description": "output JSON instead of human-readable tables/streams",
|
|
1437
|
+
"helpGroup": "Output",
|
|
1438
|
+
"helpLabel": "-j, --json",
|
|
1439
|
+
"name": "json",
|
|
1440
|
+
"required": false,
|
|
1441
|
+
"allowNo": false,
|
|
1442
|
+
"type": "boolean"
|
|
1443
|
+
},
|
|
1444
|
+
"verbose": {
|
|
1445
|
+
"char": "v",
|
|
1446
|
+
"description": "Verbose output",
|
|
1447
|
+
"env": "DEBUG",
|
|
1448
|
+
"helpGroup": "Output",
|
|
1449
|
+
"helpLabel": "-v, --verbose",
|
|
1450
|
+
"name": "verbose",
|
|
1451
|
+
"required": false,
|
|
1452
|
+
"allowNo": false,
|
|
1453
|
+
"type": "boolean"
|
|
1454
|
+
},
|
|
1455
|
+
"cursor": {
|
|
1456
|
+
"description": "pagination cursor for list commands",
|
|
1457
|
+
"helpGroup": "Filtering",
|
|
1458
|
+
"helpLabel": "--cursor",
|
|
1459
|
+
"name": "cursor",
|
|
1460
|
+
"required": false,
|
|
1461
|
+
"default": "",
|
|
1462
|
+
"hasDynamicHelp": false,
|
|
1463
|
+
"helpValue": "CURSOR",
|
|
1464
|
+
"multiple": false,
|
|
1465
|
+
"type": "option"
|
|
1466
|
+
},
|
|
1467
|
+
"backend": {
|
|
1468
|
+
"char": "b",
|
|
1469
|
+
"description": "backend to inspect",
|
|
1470
|
+
"env": "WORKFLOW_TARGET_WORLD",
|
|
1471
|
+
"helpGroup": "Target",
|
|
1472
|
+
"helpLabel": "-b, --backend",
|
|
1473
|
+
"name": "backend",
|
|
1474
|
+
"required": false,
|
|
1475
|
+
"default": "local",
|
|
1476
|
+
"hasDynamicHelp": false,
|
|
1477
|
+
"helpValue": [
|
|
1478
|
+
"local",
|
|
1479
|
+
"vercel",
|
|
1480
|
+
"<your-package-name>"
|
|
1481
|
+
],
|
|
1482
|
+
"multiple": false,
|
|
1483
|
+
"type": "option"
|
|
1484
|
+
},
|
|
1485
|
+
"authToken": {
|
|
1486
|
+
"char": "a",
|
|
1487
|
+
"dependsOn": [
|
|
1488
|
+
"backend"
|
|
1489
|
+
],
|
|
1490
|
+
"description": "Authentication token to be passed to the backend. If not provided and the backend is vercel, will fall back to the token generated by `vc login`.",
|
|
1491
|
+
"env": "WORKFLOW_VERCEL_AUTH_TOKEN",
|
|
1492
|
+
"helpGroup": "Target",
|
|
1493
|
+
"helpLabel": "-a, --authToken",
|
|
1494
|
+
"name": "authToken",
|
|
1495
|
+
"required": false,
|
|
1496
|
+
"default": "",
|
|
1497
|
+
"hasDynamicHelp": false,
|
|
1498
|
+
"helpValue": "TOKEN",
|
|
1499
|
+
"multiple": false,
|
|
1500
|
+
"type": "option"
|
|
1501
|
+
},
|
|
1502
|
+
"project": {
|
|
1503
|
+
"dependsOn": [
|
|
1504
|
+
"backend"
|
|
1505
|
+
],
|
|
1506
|
+
"description": "If backend is vercel, the vercel project to authenticate against",
|
|
1507
|
+
"env": "WORKFLOW_VERCEL_PROJECT",
|
|
1508
|
+
"helpGroup": "Target",
|
|
1509
|
+
"helpLabel": "--project",
|
|
1510
|
+
"name": "project",
|
|
1511
|
+
"required": false,
|
|
1512
|
+
"default": "",
|
|
1513
|
+
"hasDynamicHelp": false,
|
|
1514
|
+
"helpValue": "PROJECT",
|
|
1515
|
+
"multiple": false,
|
|
1516
|
+
"type": "option"
|
|
1517
|
+
},
|
|
1518
|
+
"team": {
|
|
1519
|
+
"dependsOn": [
|
|
1520
|
+
"backend"
|
|
1521
|
+
],
|
|
1522
|
+
"description": "If backend is vercel, the vercel team to authenticate against",
|
|
1523
|
+
"env": "WORKFLOW_VERCEL_TEAM",
|
|
1524
|
+
"helpGroup": "Target",
|
|
1525
|
+
"helpLabel": "--team",
|
|
1526
|
+
"name": "team",
|
|
1527
|
+
"required": false,
|
|
1528
|
+
"default": "",
|
|
1529
|
+
"hasDynamicHelp": false,
|
|
1530
|
+
"helpValue": "TEAM",
|
|
1531
|
+
"multiple": false,
|
|
1532
|
+
"type": "option"
|
|
1533
|
+
},
|
|
1534
|
+
"env": {
|
|
1535
|
+
"char": "e",
|
|
1536
|
+
"dependsOn": [
|
|
1537
|
+
"backend"
|
|
1538
|
+
],
|
|
1539
|
+
"description": "If backend is vercel, the vercel environment to use",
|
|
1540
|
+
"env": "WORKFLOW_VERCEL_ENV",
|
|
1541
|
+
"helpGroup": "Target",
|
|
1542
|
+
"helpLabel": "-e, --env",
|
|
1543
|
+
"name": "env",
|
|
1544
|
+
"required": false,
|
|
1545
|
+
"default": "production",
|
|
1546
|
+
"hasDynamicHelp": false,
|
|
1547
|
+
"helpValue": [
|
|
1548
|
+
"production",
|
|
1549
|
+
"preview"
|
|
1550
|
+
],
|
|
1551
|
+
"multiple": false,
|
|
1552
|
+
"options": [
|
|
1553
|
+
"production",
|
|
1554
|
+
"preview"
|
|
1555
|
+
],
|
|
1556
|
+
"type": "option"
|
|
1557
|
+
},
|
|
1558
|
+
"web": {
|
|
1559
|
+
"char": "w",
|
|
1560
|
+
"description": "Open the web UI instead of displaying in terminal",
|
|
1561
|
+
"helpGroup": "Output",
|
|
1562
|
+
"helpLabel": "-w, --web",
|
|
1563
|
+
"name": "web",
|
|
1564
|
+
"required": false,
|
|
1565
|
+
"allowNo": false,
|
|
1566
|
+
"type": "boolean"
|
|
1567
|
+
},
|
|
1568
|
+
"webPort": {
|
|
1569
|
+
"description": "Port to use when launching the web UI (default: 3456)",
|
|
1570
|
+
"env": "WORKFLOW_WEB_PORT",
|
|
1571
|
+
"helpGroup": "Output",
|
|
1572
|
+
"helpLabel": "--webPort",
|
|
1573
|
+
"name": "webPort",
|
|
1574
|
+
"required": false,
|
|
1575
|
+
"default": 3456,
|
|
1576
|
+
"hasDynamicHelp": false,
|
|
1577
|
+
"helpValue": "WEB_PORT",
|
|
1578
|
+
"multiple": false,
|
|
1579
|
+
"type": "option"
|
|
1580
|
+
},
|
|
1581
|
+
"noBrowser": {
|
|
1582
|
+
"description": "Disable automatic browser opening when launching web UI",
|
|
1583
|
+
"env": "WORKFLOW_DISABLE_BROWSER_OPEN",
|
|
1584
|
+
"helpGroup": "Output",
|
|
1585
|
+
"helpLabel": "--noBrowser",
|
|
1586
|
+
"name": "noBrowser",
|
|
1587
|
+
"required": false,
|
|
1588
|
+
"allowNo": false,
|
|
1589
|
+
"type": "boolean"
|
|
1590
|
+
},
|
|
1591
|
+
"localUi": {
|
|
1592
|
+
"description": "Use local web UI instead of Vercel dashboard (when backend is vercel)",
|
|
1593
|
+
"env": "WORKFLOW_LOCAL_UI",
|
|
1594
|
+
"helpGroup": "Output",
|
|
1595
|
+
"helpLabel": "--localUi",
|
|
1596
|
+
"name": "localUi",
|
|
1597
|
+
"required": false,
|
|
1598
|
+
"allowNo": false,
|
|
1599
|
+
"type": "boolean"
|
|
1600
|
+
},
|
|
1601
|
+
"standalone": {
|
|
1602
|
+
"description": "Always start the standalone web UI, even if an embedded dashboard (e.g. /_workflow) is already running",
|
|
1603
|
+
"env": "WORKFLOW_STANDALONE_UI",
|
|
1604
|
+
"helpGroup": "Output",
|
|
1605
|
+
"helpLabel": "--standalone",
|
|
1606
|
+
"name": "standalone",
|
|
1607
|
+
"required": false,
|
|
1608
|
+
"allowNo": false,
|
|
1609
|
+
"type": "boolean"
|
|
1610
|
+
},
|
|
1611
|
+
"sort": {
|
|
1612
|
+
"description": "sort order for list commands",
|
|
1613
|
+
"helpGroup": "Filtering",
|
|
1614
|
+
"helpLabel": "--sort",
|
|
1615
|
+
"name": "sort",
|
|
1616
|
+
"required": false,
|
|
1617
|
+
"hasDynamicHelp": false,
|
|
1618
|
+
"helpValue": [
|
|
1619
|
+
"asc",
|
|
1620
|
+
"desc"
|
|
1621
|
+
],
|
|
1622
|
+
"multiple": false,
|
|
1623
|
+
"options": [
|
|
1624
|
+
"asc",
|
|
1625
|
+
"desc"
|
|
1626
|
+
],
|
|
1627
|
+
"type": "option"
|
|
1628
|
+
},
|
|
1629
|
+
"limit": {
|
|
1630
|
+
"description": "number of items to return per page",
|
|
1631
|
+
"helpGroup": "Filtering",
|
|
1632
|
+
"helpLabel": "--limit",
|
|
1633
|
+
"name": "limit",
|
|
1634
|
+
"required": false,
|
|
1635
|
+
"default": 20,
|
|
1636
|
+
"hasDynamicHelp": false,
|
|
1637
|
+
"helpValue": "NUMBER",
|
|
1638
|
+
"multiple": false,
|
|
1639
|
+
"type": "option"
|
|
1640
|
+
},
|
|
1641
|
+
"interactive": {
|
|
1642
|
+
"char": "i",
|
|
1643
|
+
"description": "Enable interactive pagination with keyboard controls",
|
|
1644
|
+
"helpGroup": "Output",
|
|
1645
|
+
"helpLabel": "-i, --interactive",
|
|
1646
|
+
"name": "interactive",
|
|
1647
|
+
"required": false,
|
|
1648
|
+
"allowNo": false,
|
|
1649
|
+
"type": "boolean"
|
|
1650
|
+
},
|
|
1651
|
+
"url": {
|
|
1652
|
+
"description": "Print the deep-link URL to the run/dashboard and exit (no browser, no server)",
|
|
1653
|
+
"helpGroup": "Output",
|
|
1654
|
+
"helpLabel": "--url",
|
|
1655
|
+
"name": "url",
|
|
1656
|
+
"required": false,
|
|
1657
|
+
"allowNo": false,
|
|
1658
|
+
"type": "boolean"
|
|
1659
|
+
}
|
|
1660
|
+
},
|
|
1661
|
+
"hasDynamicHelp": false,
|
|
1662
|
+
"hiddenAliases": [],
|
|
1663
|
+
"id": "web",
|
|
1664
|
+
"pluginAlias": "@workflow/cli",
|
|
1665
|
+
"pluginName": "@workflow/cli",
|
|
1666
|
+
"pluginType": "core",
|
|
1667
|
+
"strict": true,
|
|
1668
|
+
"enableJsonFlag": true,
|
|
1669
|
+
"isESM": true,
|
|
1670
|
+
"relativePath": [
|
|
1671
|
+
"dist",
|
|
1672
|
+
"commands",
|
|
1673
|
+
"web.js"
|
|
1674
|
+
]
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
"version": "5.0.4"
|
|
1678
|
+
}
|