@tailor-platform/sdk 1.17.1 → 1.18.0

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.
Files changed (77) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/application-Csj7Ow5Q.mjs +8 -0
  3. package/dist/{application-BMDE8KqK.mjs → application-gWUyKuzv.mjs} +120 -1618
  4. package/dist/application-gWUyKuzv.mjs.map +1 -0
  5. package/dist/brand-BZJCv6UY.mjs +28 -0
  6. package/dist/brand-BZJCv6UY.mjs.map +1 -0
  7. package/dist/cli/index.mjs +38 -20
  8. package/dist/cli/index.mjs.map +1 -1
  9. package/dist/cli/lib.d.mts +10 -33
  10. package/dist/cli/lib.mjs +10 -5
  11. package/dist/cli/lib.mjs.map +1 -1
  12. package/dist/configure/index.d.mts +4 -4
  13. package/dist/configure/index.mjs +10 -19
  14. package/dist/configure/index.mjs.map +1 -1
  15. package/dist/enum-constants-Cwd4qdpa.mjs +115 -0
  16. package/dist/enum-constants-Cwd4qdpa.mjs.map +1 -0
  17. package/dist/file-utils-cqcpFk87.mjs +139 -0
  18. package/dist/file-utils-cqcpFk87.mjs.map +1 -0
  19. package/dist/index-BKXch-td.d.mts +18 -0
  20. package/dist/index-C3Ib7pFc.d.mts +18 -0
  21. package/dist/{index-CVcYqZSf.d.mts → index-DP8EB9FK.d.mts} +12 -5
  22. package/dist/index-SqWgrTnF.d.mts +20 -0
  23. package/dist/index-sSDpuVQY.d.mts +18 -0
  24. package/dist/{jiti-BrELlEYT.mjs → jiti-DHlauMCo.mjs} +2 -2
  25. package/dist/{jiti-BrELlEYT.mjs.map → jiti-DHlauMCo.mjs.map} +1 -1
  26. package/dist/{job-CULA2Pvf.mjs → job-2Q82qQ6N.mjs} +27 -5
  27. package/dist/job-2Q82qQ6N.mjs.map +1 -0
  28. package/dist/kysely-type-DtUUoAi3.mjs +259 -0
  29. package/dist/kysely-type-DtUUoAi3.mjs.map +1 -0
  30. package/dist/plugin/builtin/enum-constants/index.d.mts +4 -0
  31. package/dist/plugin/builtin/enum-constants/index.mjs +3 -0
  32. package/dist/plugin/builtin/file-utils/index.d.mts +4 -0
  33. package/dist/plugin/builtin/file-utils/index.mjs +3 -0
  34. package/dist/plugin/builtin/kysely-type/index.d.mts +4 -0
  35. package/dist/plugin/builtin/kysely-type/index.mjs +3 -0
  36. package/dist/plugin/builtin/seed/index.d.mts +4 -0
  37. package/dist/plugin/builtin/seed/index.mjs +3 -0
  38. package/dist/plugin/index.d.mts +3 -3
  39. package/dist/plugin/index.mjs +11 -11
  40. package/dist/plugin/index.mjs.map +1 -1
  41. package/dist/{schema-R5TxC5Pn.mjs → schema-WDvc7Zel.mjs} +4 -3
  42. package/dist/schema-WDvc7Zel.mjs.map +1 -0
  43. package/dist/seed-Dm7lrGZ3.mjs +1050 -0
  44. package/dist/seed-Dm7lrGZ3.mjs.map +1 -0
  45. package/dist/{src-DMROgdcL.mjs → src-i4uqS1G4.mjs} +2 -2
  46. package/dist/{src-DMROgdcL.mjs.map → src-i4uqS1G4.mjs.map} +1 -1
  47. package/dist/types-Bhl_wAM2.d.mts +151 -0
  48. package/dist/{types-b-ig8nW_.mjs → types-ClK_HJ0G.mjs} +1 -1
  49. package/dist/{types-b-ig8nW_.mjs.map → types-ClK_HJ0G.mjs.map} +1 -1
  50. package/dist/{types-CZZBCaxB.d.mts → types-DdvTxFiD.d.mts} +1324 -988
  51. package/dist/{update-CUBVjZbL.mjs → update-BoNKMti-.mjs} +268 -97
  52. package/dist/update-BoNKMti-.mjs.map +1 -0
  53. package/dist/utils/test/index.d.mts +4 -4
  54. package/dist/utils/test/index.mjs +3 -2
  55. package/dist/utils/test/index.mjs.map +1 -1
  56. package/docs/cli/application.md +106 -14
  57. package/docs/cli/auth.md +92 -12
  58. package/docs/cli/completion.md +18 -2
  59. package/docs/cli/executor.md +122 -14
  60. package/docs/cli/function.md +32 -4
  61. package/docs/cli/secret.md +134 -18
  62. package/docs/cli/staticwebsite.md +60 -8
  63. package/docs/cli/tailordb.md +148 -20
  64. package/docs/cli/user.md +154 -22
  65. package/docs/cli/workflow.md +100 -12
  66. package/docs/cli/workspace.md +274 -38
  67. package/docs/generator/custom.md +2 -2
  68. package/docs/plugin/custom.md +270 -163
  69. package/docs/plugin/index.md +48 -2
  70. package/package.json +22 -2
  71. package/dist/application-BMDE8KqK.mjs.map +0 -1
  72. package/dist/application-Dni_W16P.mjs +0 -4
  73. package/dist/job-CULA2Pvf.mjs.map +0 -1
  74. package/dist/schema-R5TxC5Pn.mjs.map +0 -1
  75. package/dist/types-DthzUFfx.d.mts +0 -372
  76. package/dist/update-CUBVjZbL.mjs.map +0 -1
  77. /package/dist/{chunk-GMkBE123.mjs → chunk-CqAI0b6X.mjs} +0 -0
package/docs/cli/user.md CHANGED
@@ -2,46 +2,74 @@
2
2
 
3
3
  Commands for authentication and user management.
4
4
 
5
- <!-- politty:command:login:start -->
5
+ <!-- politty:command:login:heading:start -->
6
6
 
7
7
  ## login
8
8
 
9
+ <!-- politty:command:login:heading:end -->
10
+
11
+ <!-- politty:command:login:description:start -->
12
+
9
13
  Login to Tailor Platform.
10
14
 
15
+ <!-- politty:command:login:description:end -->
16
+
17
+ <!-- politty:command:login:usage:start -->
18
+
11
19
  **Usage**
12
20
 
13
21
  ```
14
22
  tailor-sdk login [options]
15
23
  ```
16
24
 
17
- <!-- politty:command:login:end -->
25
+ <!-- politty:command:login:usage:end -->
18
26
 
19
- <!-- politty:command:logout:start -->
27
+ <!-- politty:command:logout:heading:start -->
20
28
 
21
29
  ## logout
22
30
 
31
+ <!-- politty:command:logout:heading:end -->
32
+
33
+ <!-- politty:command:logout:description:start -->
34
+
23
35
  Logout from Tailor Platform.
24
36
 
37
+ <!-- politty:command:logout:description:end -->
38
+
39
+ <!-- politty:command:logout:usage:start -->
40
+
25
41
  **Usage**
26
42
 
27
43
  ```
28
44
  tailor-sdk logout [options]
29
45
  ```
30
46
 
31
- <!-- politty:command:logout:end -->
47
+ <!-- politty:command:logout:usage:end -->
32
48
 
33
- <!-- politty:command:user:start -->
49
+ <!-- politty:command:user:heading:start -->
34
50
 
35
51
  ## user
36
52
 
53
+ <!-- politty:command:user:heading:end -->
54
+
55
+ <!-- politty:command:user:description:start -->
56
+
37
57
  Manage Tailor Platform users.
38
58
 
59
+ <!-- politty:command:user:description:end -->
60
+
61
+ <!-- politty:command:user:usage:start -->
62
+
39
63
  **Usage**
40
64
 
41
65
  ```
42
66
  tailor-sdk user [command]
43
67
  ```
44
68
 
69
+ <!-- politty:command:user:usage:end -->
70
+
71
+ <!-- politty:command:user:subcommands:start -->
72
+
45
73
  **Commands**
46
74
 
47
75
  | Command | Description |
@@ -51,76 +79,124 @@ tailor-sdk user [command]
51
79
  | [`user pat`](#user-pat) | Manage personal access tokens. |
52
80
  | [`user switch`](#user-switch) | Set current user. |
53
81
 
54
- <!-- politty:command:user:end -->
55
- <!-- politty:command:user current:start -->
82
+ <!-- politty:command:user:subcommands:end -->
83
+ <!-- politty:command:user current:heading:start -->
56
84
 
57
85
  ### user current
58
86
 
87
+ <!-- politty:command:user current:heading:end -->
88
+
89
+ <!-- politty:command:user current:description:start -->
90
+
59
91
  Show current user.
60
92
 
93
+ <!-- politty:command:user current:description:end -->
94
+
95
+ <!-- politty:command:user current:usage:start -->
96
+
61
97
  **Usage**
62
98
 
63
99
  ```
64
100
  tailor-sdk user current [options]
65
101
  ```
66
102
 
67
- <!-- politty:command:user current:end -->
68
- <!-- politty:command:user list:start -->
103
+ <!-- politty:command:user current:usage:end -->
104
+ <!-- politty:command:user list:heading:start -->
69
105
 
70
106
  ### user list
71
107
 
108
+ <!-- politty:command:user list:heading:end -->
109
+
110
+ <!-- politty:command:user list:description:start -->
111
+
72
112
  List all users.
73
113
 
114
+ <!-- politty:command:user list:description:end -->
115
+
116
+ <!-- politty:command:user list:usage:start -->
117
+
74
118
  **Usage**
75
119
 
76
120
  ```
77
121
  tailor-sdk user list [options]
78
122
  ```
79
123
 
124
+ <!-- politty:command:user list:usage:end -->
125
+
126
+ <!-- politty:command:user list:options:start -->
127
+
80
128
  **Options**
81
129
 
82
130
  | Option | Alias | Description | Required | Default |
83
131
  | -------- | ----- | -------------- | -------- | ------- |
84
132
  | `--json` | `-j` | Output as JSON | No | `false` |
85
133
 
86
- <!-- politty:command:user list:end -->
87
- <!-- politty:command:user switch:start -->
134
+ <!-- politty:command:user list:options:end -->
135
+ <!-- politty:command:user switch:heading:start -->
88
136
 
89
137
  ### user switch
90
138
 
139
+ <!-- politty:command:user switch:heading:end -->
140
+
141
+ <!-- politty:command:user switch:description:start -->
142
+
91
143
  Set current user.
92
144
 
145
+ <!-- politty:command:user switch:description:end -->
146
+
147
+ <!-- politty:command:user switch:usage:start -->
148
+
93
149
  **Usage**
94
150
 
95
151
  ```
96
152
  tailor-sdk user switch [options] <user>
97
153
  ```
98
154
 
155
+ <!-- politty:command:user switch:usage:end -->
156
+
157
+ <!-- politty:command:user switch:arguments:start -->
158
+
99
159
  **Arguments**
100
160
 
101
161
  | Argument | Description | Required |
102
162
  | -------- | ----------- | -------- |
103
163
  | `user` | User email | Yes |
104
164
 
105
- <!-- politty:command:user switch:end -->
106
- <!-- politty:command:user pat:start -->
165
+ <!-- politty:command:user switch:arguments:end -->
166
+ <!-- politty:command:user pat:heading:start -->
107
167
 
108
168
  ### user pat
109
169
 
170
+ <!-- politty:command:user pat:heading:end -->
171
+
172
+ <!-- politty:command:user pat:description:start -->
173
+
110
174
  Manage personal access tokens.
111
175
 
176
+ <!-- politty:command:user pat:description:end -->
177
+
178
+ <!-- politty:command:user pat:usage:start -->
179
+
112
180
  **Usage**
113
181
 
114
182
  ```
115
183
  tailor-sdk user pat [options] [command]
116
184
  ```
117
185
 
186
+ <!-- politty:command:user pat:usage:end -->
187
+
188
+ <!-- politty:command:user pat:options:start -->
189
+
118
190
  **Options**
119
191
 
120
192
  | Option | Alias | Description | Required | Default |
121
193
  | -------- | ----- | -------------- | -------- | ------- |
122
194
  | `--json` | `-j` | Output as JSON | No | `false` |
123
195
 
196
+ <!-- politty:command:user pat:options:end -->
197
+
198
+ <!-- politty:command:user pat:subcommands:start -->
199
+
124
200
  **Commands**
125
201
 
126
202
  | Command | Description |
@@ -130,44 +206,72 @@ tailor-sdk user pat [options] [command]
130
206
  | [`user pat list`](#user-pat-list) | List all personal access tokens. |
131
207
  | [`user pat update`](#user-pat-update) | Update a personal access token (delete and recreate). |
132
208
 
133
- <!-- politty:command:user pat:end -->
134
- <!-- politty:command:user pat list:start -->
209
+ <!-- politty:command:user pat:subcommands:end -->
210
+ <!-- politty:command:user pat list:heading:start -->
135
211
 
136
212
  #### user pat list
137
213
 
214
+ <!-- politty:command:user pat list:heading:end -->
215
+
216
+ <!-- politty:command:user pat list:description:start -->
217
+
138
218
  List all personal access tokens.
139
219
 
220
+ <!-- politty:command:user pat list:description:end -->
221
+
222
+ <!-- politty:command:user pat list:usage:start -->
223
+
140
224
  **Usage**
141
225
 
142
226
  ```
143
227
  tailor-sdk user pat list [options]
144
228
  ```
145
229
 
230
+ <!-- politty:command:user pat list:usage:end -->
231
+
232
+ <!-- politty:command:user pat list:options:start -->
233
+
146
234
  **Options**
147
235
 
148
236
  | Option | Alias | Description | Required | Default |
149
237
  | -------- | ----- | -------------- | -------- | ------- |
150
238
  | `--json` | `-j` | Output as JSON | No | `false` |
151
239
 
152
- <!-- politty:command:user pat list:end -->
153
- <!-- politty:command:user pat create:start -->
240
+ <!-- politty:command:user pat list:options:end -->
241
+ <!-- politty:command:user pat create:heading:start -->
154
242
 
155
243
  #### user pat create
156
244
 
245
+ <!-- politty:command:user pat create:heading:end -->
246
+
247
+ <!-- politty:command:user pat create:description:start -->
248
+
157
249
  Create a new personal access token.
158
250
 
251
+ <!-- politty:command:user pat create:description:end -->
252
+
253
+ <!-- politty:command:user pat create:usage:start -->
254
+
159
255
  **Usage**
160
256
 
161
257
  ```
162
258
  tailor-sdk user pat create [options] <name>
163
259
  ```
164
260
 
261
+ <!-- politty:command:user pat create:usage:end -->
262
+
263
+ <!-- politty:command:user pat create:arguments:start -->
264
+
165
265
  **Arguments**
166
266
 
167
267
  | Argument | Description | Required |
168
268
  | -------- | ----------- | -------- |
169
269
  | `name` | Token name | Yes |
170
270
 
271
+ <!-- politty:command:user pat create:arguments:end -->
272
+
273
+ <!-- politty:command:user pat create:options:start -->
274
+
171
275
  **Options**
172
276
 
173
277
  | Option | Alias | Description | Required | Default |
@@ -175,44 +279,72 @@ tailor-sdk user pat create [options] <name>
175
279
  | `--json` | `-j` | Output as JSON | No | `false` |
176
280
  | `--write` | `-W` | Grant write permission (default: read-only) | No | `false` |
177
281
 
178
- <!-- politty:command:user pat create:end -->
179
- <!-- politty:command:user pat delete:start -->
282
+ <!-- politty:command:user pat create:options:end -->
283
+ <!-- politty:command:user pat delete:heading:start -->
180
284
 
181
285
  #### user pat delete
182
286
 
287
+ <!-- politty:command:user pat delete:heading:end -->
288
+
289
+ <!-- politty:command:user pat delete:description:start -->
290
+
183
291
  Delete a personal access token.
184
292
 
293
+ <!-- politty:command:user pat delete:description:end -->
294
+
295
+ <!-- politty:command:user pat delete:usage:start -->
296
+
185
297
  **Usage**
186
298
 
187
299
  ```
188
300
  tailor-sdk user pat delete [options] <name>
189
301
  ```
190
302
 
303
+ <!-- politty:command:user pat delete:usage:end -->
304
+
305
+ <!-- politty:command:user pat delete:arguments:start -->
306
+
191
307
  **Arguments**
192
308
 
193
309
  | Argument | Description | Required |
194
310
  | -------- | ----------- | -------- |
195
311
  | `name` | Token name | Yes |
196
312
 
197
- <!-- politty:command:user pat delete:end -->
198
- <!-- politty:command:user pat update:start -->
313
+ <!-- politty:command:user pat delete:arguments:end -->
314
+ <!-- politty:command:user pat update:heading:start -->
199
315
 
200
316
  #### user pat update
201
317
 
318
+ <!-- politty:command:user pat update:heading:end -->
319
+
320
+ <!-- politty:command:user pat update:description:start -->
321
+
202
322
  Update a personal access token (delete and recreate).
203
323
 
324
+ <!-- politty:command:user pat update:description:end -->
325
+
326
+ <!-- politty:command:user pat update:usage:start -->
327
+
204
328
  **Usage**
205
329
 
206
330
  ```
207
331
  tailor-sdk user pat update [options] <name>
208
332
  ```
209
333
 
334
+ <!-- politty:command:user pat update:usage:end -->
335
+
336
+ <!-- politty:command:user pat update:arguments:start -->
337
+
210
338
  **Arguments**
211
339
 
212
340
  | Argument | Description | Required |
213
341
  | -------- | ----------- | -------- |
214
342
  | `name` | Token name | Yes |
215
343
 
344
+ <!-- politty:command:user pat update:arguments:end -->
345
+
346
+ <!-- politty:command:user pat update:options:start -->
347
+
216
348
  **Options**
217
349
 
218
350
  | Option | Alias | Description | Required | Default |
@@ -220,7 +352,7 @@ tailor-sdk user pat update [options] <name>
220
352
  | `--json` | `-j` | Output as JSON | No | `false` |
221
353
  | `--write` | `-W` | Grant write permission (if not specified, keeps read-only) | No | `false` |
222
354
 
223
- <!-- politty:command:user pat update:end -->
355
+ <!-- politty:command:user pat update:options:end -->
224
356
 
225
357
  When no subcommand is provided, defaults to `list`.
226
358
 
@@ -2,18 +2,30 @@
2
2
 
3
3
  Commands for managing workflows and workflow executions.
4
4
 
5
- <!-- politty:command:workflow:start -->
5
+ <!-- politty:command:workflow:heading:start -->
6
6
 
7
7
  ## workflow
8
8
 
9
+ <!-- politty:command:workflow:heading:end -->
10
+
11
+ <!-- politty:command:workflow:description:start -->
12
+
9
13
  Manage workflows and workflow executions.
10
14
 
15
+ <!-- politty:command:workflow:description:end -->
16
+
17
+ <!-- politty:command:workflow:usage:start -->
18
+
11
19
  **Usage**
12
20
 
13
21
  ```
14
22
  tailor-sdk workflow [command]
15
23
  ```
16
24
 
25
+ <!-- politty:command:workflow:usage:end -->
26
+
27
+ <!-- politty:command:workflow:subcommands:start -->
28
+
17
29
  **Commands**
18
30
 
19
31
  | Command | Description |
@@ -24,19 +36,31 @@ tailor-sdk workflow [command]
24
36
  | [`workflow executions`](#workflow-executions) | List or get workflow executions. |
25
37
  | [`workflow resume`](#workflow-resume) | Resume a failed or pending workflow execution. |
26
38
 
27
- <!-- politty:command:workflow:end -->
28
- <!-- politty:command:workflow list:start -->
39
+ <!-- politty:command:workflow:subcommands:end -->
40
+ <!-- politty:command:workflow list:heading:start -->
29
41
 
30
42
  ### workflow list
31
43
 
44
+ <!-- politty:command:workflow list:heading:end -->
45
+
46
+ <!-- politty:command:workflow list:description:start -->
47
+
32
48
  List all workflows in the workspace.
33
49
 
50
+ <!-- politty:command:workflow list:description:end -->
51
+
52
+ <!-- politty:command:workflow list:usage:start -->
53
+
34
54
  **Usage**
35
55
 
36
56
  ```
37
57
  tailor-sdk workflow list [options]
38
58
  ```
39
59
 
60
+ <!-- politty:command:workflow list:usage:end -->
61
+
62
+ <!-- politty:command:workflow list:options:start -->
63
+
40
64
  **Options**
41
65
 
42
66
  | Option | Alias | Description | Required | Default |
@@ -45,25 +69,41 @@ tailor-sdk workflow list [options]
45
69
  | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
46
70
  | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
47
71
 
48
- <!-- politty:command:workflow list:end -->
49
- <!-- politty:command:workflow get:start -->
72
+ <!-- politty:command:workflow list:options:end -->
73
+ <!-- politty:command:workflow get:heading:start -->
50
74
 
51
75
  ### workflow get
52
76
 
77
+ <!-- politty:command:workflow get:heading:end -->
78
+
79
+ <!-- politty:command:workflow get:description:start -->
80
+
53
81
  Get workflow details.
54
82
 
83
+ <!-- politty:command:workflow get:description:end -->
84
+
85
+ <!-- politty:command:workflow get:usage:start -->
86
+
55
87
  **Usage**
56
88
 
57
89
  ```
58
90
  tailor-sdk workflow get [options] <name>
59
91
  ```
60
92
 
93
+ <!-- politty:command:workflow get:usage:end -->
94
+
95
+ <!-- politty:command:workflow get:arguments:start -->
96
+
61
97
  **Arguments**
62
98
 
63
99
  | Argument | Description | Required |
64
100
  | -------- | ------------- | -------- |
65
101
  | `name` | Workflow name | Yes |
66
102
 
103
+ <!-- politty:command:workflow get:arguments:end -->
104
+
105
+ <!-- politty:command:workflow get:options:start -->
106
+
67
107
  **Options**
68
108
 
69
109
  | Option | Alias | Description | Required | Default |
@@ -72,25 +112,41 @@ tailor-sdk workflow get [options] <name>
72
112
  | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
73
113
  | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
74
114
 
75
- <!-- politty:command:workflow get:end -->
76
- <!-- politty:command:workflow start:start -->
115
+ <!-- politty:command:workflow get:options:end -->
116
+ <!-- politty:command:workflow start:heading:start -->
77
117
 
78
118
  ### workflow start
79
119
 
120
+ <!-- politty:command:workflow start:heading:end -->
121
+
122
+ <!-- politty:command:workflow start:description:start -->
123
+
80
124
  Start a workflow execution.
81
125
 
126
+ <!-- politty:command:workflow start:description:end -->
127
+
128
+ <!-- politty:command:workflow start:usage:start -->
129
+
82
130
  **Usage**
83
131
 
84
132
  ```
85
133
  tailor-sdk workflow start [options] <name>
86
134
  ```
87
135
 
136
+ <!-- politty:command:workflow start:usage:end -->
137
+
138
+ <!-- politty:command:workflow start:arguments:start -->
139
+
88
140
  **Arguments**
89
141
 
90
142
  | Argument | Description | Required |
91
143
  | -------- | ------------- | -------- |
92
144
  | `name` | Workflow name | Yes |
93
145
 
146
+ <!-- politty:command:workflow start:arguments:end -->
147
+
148
+ <!-- politty:command:workflow start:options:start -->
149
+
94
150
  **Options**
95
151
 
96
152
  | Option | Alias | Description | Required | Default |
@@ -105,25 +161,41 @@ tailor-sdk workflow start [options] <name>
105
161
  | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
106
162
  | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | No | `false` |
107
163
 
108
- <!-- politty:command:workflow start:end -->
109
- <!-- politty:command:workflow executions:start -->
164
+ <!-- politty:command:workflow start:options:end -->
165
+ <!-- politty:command:workflow executions:heading:start -->
110
166
 
111
167
  ### workflow executions
112
168
 
169
+ <!-- politty:command:workflow executions:heading:end -->
170
+
171
+ <!-- politty:command:workflow executions:description:start -->
172
+
113
173
  List or get workflow executions.
114
174
 
175
+ <!-- politty:command:workflow executions:description:end -->
176
+
177
+ <!-- politty:command:workflow executions:usage:start -->
178
+
115
179
  **Usage**
116
180
 
117
181
  ```
118
182
  tailor-sdk workflow executions [options] [executionId]
119
183
  ```
120
184
 
185
+ <!-- politty:command:workflow executions:usage:end -->
186
+
187
+ <!-- politty:command:workflow executions:arguments:start -->
188
+
121
189
  **Arguments**
122
190
 
123
191
  | Argument | Description | Required |
124
192
  | ------------- | ----------------------------------------- | -------- |
125
193
  | `executionId` | Execution ID (if provided, shows details) | No |
126
194
 
195
+ <!-- politty:command:workflow executions:arguments:end -->
196
+
197
+ <!-- politty:command:workflow executions:options:start -->
198
+
127
199
  **Options**
128
200
 
129
201
  | Option | Alias | Description | Required | Default |
@@ -137,25 +209,41 @@ tailor-sdk workflow executions [options] [executionId]
137
209
  | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
138
210
  | `--logs` | - | Display job execution logs (detail mode only) | No | `false` |
139
211
 
140
- <!-- politty:command:workflow executions:end -->
141
- <!-- politty:command:workflow resume:start -->
212
+ <!-- politty:command:workflow executions:options:end -->
213
+ <!-- politty:command:workflow resume:heading:start -->
142
214
 
143
215
  ### workflow resume
144
216
 
217
+ <!-- politty:command:workflow resume:heading:end -->
218
+
219
+ <!-- politty:command:workflow resume:description:start -->
220
+
145
221
  Resume a failed or pending workflow execution.
146
222
 
223
+ <!-- politty:command:workflow resume:description:end -->
224
+
225
+ <!-- politty:command:workflow resume:usage:start -->
226
+
147
227
  **Usage**
148
228
 
149
229
  ```
150
230
  tailor-sdk workflow resume [options] <executionId>
151
231
  ```
152
232
 
233
+ <!-- politty:command:workflow resume:usage:end -->
234
+
235
+ <!-- politty:command:workflow resume:arguments:start -->
236
+
153
237
  **Arguments**
154
238
 
155
239
  | Argument | Description | Required |
156
240
  | ------------- | ------------------- | -------- |
157
241
  | `executionId` | Failed execution ID | Yes |
158
242
 
243
+ <!-- politty:command:workflow resume:arguments:end -->
244
+
245
+ <!-- politty:command:workflow resume:options:start -->
246
+
159
247
  **Options**
160
248
 
161
249
  | Option | Alias | Description | Required | Default |
@@ -167,7 +255,7 @@ tailor-sdk workflow resume [options] <executionId>
167
255
  | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
168
256
  | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | No | `false` |
169
257
 
170
- <!-- politty:command:workflow resume:end -->
258
+ <!-- politty:command:workflow resume:options:end -->
171
259
 
172
260
  **Usage Examples:**
173
261