@tailor-platform/sdk 1.25.1 → 1.25.3

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 (89) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/{application-iRp2OYMz.mjs → application-91Th6tm6.mjs} +127 -128
  3. package/dist/application-91Th6tm6.mjs.map +1 -0
  4. package/dist/application-DegTCDd8.mjs +9 -0
  5. package/dist/{brand-BOaOlsiP.mjs → brand-GZnI4eYb.mjs} +1 -1
  6. package/dist/{brand-BOaOlsiP.mjs.map → brand-GZnI4eYb.mjs.map} +1 -1
  7. package/dist/chunk-Cz-A8uMR.mjs +3 -0
  8. package/dist/cli/index.d.mts +2 -3
  9. package/dist/cli/index.mjs +172 -216
  10. package/dist/cli/index.mjs.map +1 -1
  11. package/dist/cli/lib.d.mts +706 -1108
  12. package/dist/cli/lib.mjs +28 -16
  13. package/dist/cli/lib.mjs.map +1 -1
  14. package/dist/cli/skills.mjs +2 -1
  15. package/dist/cli/skills.mjs.map +1 -1
  16. package/dist/configure/index.d.mts +5 -5
  17. package/dist/configure/index.mjs +4 -3
  18. package/dist/configure/index.mjs.map +1 -1
  19. package/dist/{enum-constants-BxdLbhsW.mjs → enum-constants-6uK0VI_s.mjs} +1 -1
  20. package/dist/{enum-constants-BxdLbhsW.mjs.map → enum-constants-6uK0VI_s.mjs.map} +1 -1
  21. package/dist/{env-jndw86T4.d.mts → env-uBeVwE9B.d.mts} +4 -7
  22. package/dist/{file-utils-C2r3AVbI.mjs → file-utils-2T9w20FP.mjs} +1 -1
  23. package/dist/{file-utils-C2r3AVbI.mjs.map → file-utils-2T9w20FP.mjs.map} +1 -1
  24. package/dist/{index-Do7zo7z-.d.mts → index-BD-K97-C.d.mts} +2 -2
  25. package/dist/{index-BuWllBxZ.d.mts → index-Bu12qy3m.d.mts} +25 -22
  26. package/dist/{index-VZq4IAEK.d.mts → index-CT53egux.d.mts} +2 -2
  27. package/dist/{index-DZRZdh71.d.mts → index-D1J5SfyK.d.mts} +2 -2
  28. package/dist/{index-DoxGF8-i.d.mts → index-cZilKprY.d.mts} +2 -2
  29. package/dist/{interceptor-DVy32eIG.mjs → interceptor-BPiIBTk_.mjs} +2 -1
  30. package/dist/{interceptor-DVy32eIG.mjs.map → interceptor-BPiIBTk_.mjs.map} +1 -1
  31. package/dist/{job-BQDunsd7.mjs → job-DdfW7vH3.mjs} +3 -3
  32. package/dist/{job-BQDunsd7.mjs.map → job-DdfW7vH3.mjs.map} +1 -1
  33. package/dist/kysely/index.d.mts +3 -4
  34. package/dist/kysely/index.mjs +1 -0
  35. package/dist/kysely/index.mjs.map +1 -1
  36. package/dist/{kysely-type-DzLBuVp6.mjs → kysely-type-cMNbsQ6k.mjs} +1 -1
  37. package/dist/{kysely-type-DzLBuVp6.mjs.map → kysely-type-cMNbsQ6k.mjs.map} +1 -1
  38. package/dist/package-json-Bj76LPsV.mjs +4 -0
  39. package/dist/{package-json-DnbGCOkg.mjs → package-json-CVUv8Y9T.mjs} +1 -1
  40. package/dist/{package-json-DnbGCOkg.mjs.map → package-json-CVUv8Y9T.mjs.map} +1 -1
  41. package/dist/plugin/builtin/enum-constants/index.d.mts +1 -2
  42. package/dist/plugin/builtin/enum-constants/index.mjs +2 -1
  43. package/dist/plugin/builtin/file-utils/index.d.mts +1 -2
  44. package/dist/plugin/builtin/file-utils/index.mjs +2 -1
  45. package/dist/plugin/builtin/kysely-type/index.d.mts +1 -2
  46. package/dist/plugin/builtin/kysely-type/index.mjs +2 -1
  47. package/dist/plugin/builtin/seed/index.d.mts +1 -2
  48. package/dist/plugin/builtin/seed/index.mjs +2 -1
  49. package/dist/plugin/index.d.mts +2 -3
  50. package/dist/plugin/index.mjs +5 -4
  51. package/dist/plugin/index.mjs.map +1 -1
  52. package/dist/{plugin-3sT6Tcq0.d.mts → plugin-zY5wvV82.d.mts} +117 -225
  53. package/dist/{query-D3UyoG68.mjs → query-BpppEOzu.mjs} +502 -541
  54. package/dist/query-BpppEOzu.mjs.map +1 -0
  55. package/dist/{schema-Fbfeq9gi.mjs → schema-BePzTFBV.mjs} +9 -9
  56. package/dist/schema-BePzTFBV.mjs.map +1 -0
  57. package/dist/seed/index.d.mts +1 -4
  58. package/dist/seed/index.mjs +1 -0
  59. package/dist/seed/index.mjs.map +1 -1
  60. package/dist/{seed-DkKAheSe.mjs → seed-CCVRLibh.mjs} +24 -10
  61. package/dist/seed-CCVRLibh.mjs.map +1 -0
  62. package/dist/{telemetry-d_lgTL33.mjs → telemetry-0w8OupuQ.mjs} +2 -2
  63. package/dist/{telemetry-d_lgTL33.mjs.map → telemetry-0w8OupuQ.mjs.map} +1 -1
  64. package/dist/telemetry-DDQZRqHK.mjs +4 -0
  65. package/dist/utils/test/index.d.mts +2 -3
  66. package/dist/utils/test/index.mjs +3 -2
  67. package/dist/utils/test/index.mjs.map +1 -1
  68. package/dist/{app-config-QzNOFnEy.d.mts → workflow.generated-v1LXRuB6.d.mts} +19 -22
  69. package/docs/cli/application.md +73 -33
  70. package/docs/cli/auth.md +56 -24
  71. package/docs/cli/completion.md +6 -0
  72. package/docs/cli/executor.md +73 -36
  73. package/docs/cli/function.md +30 -14
  74. package/docs/cli/secret.md +93 -41
  75. package/docs/cli/staticwebsite.md +38 -17
  76. package/docs/cli/tailordb.md +106 -48
  77. package/docs/cli/user.md +74 -10
  78. package/docs/cli/workflow.md +70 -39
  79. package/docs/cli/workspace.md +166 -60
  80. package/docs/cli-reference.md +22 -12
  81. package/docs/services/workflow.md +26 -0
  82. package/package.json +7 -6
  83. package/dist/application-B4ORumjE.mjs +0 -8
  84. package/dist/application-iRp2OYMz.mjs.map +0 -1
  85. package/dist/package-json-BKA36WTo.mjs +0 -3
  86. package/dist/query-D3UyoG68.mjs.map +0 -1
  87. package/dist/schema-Fbfeq9gi.mjs.map +0 -1
  88. package/dist/seed-DkKAheSe.mjs.map +0 -1
  89. package/dist/telemetry-J6dpByo2.mjs +0 -3
@@ -35,6 +35,12 @@ tailor-sdk tailordb [command]
35
35
  | [`tailordb truncate`](#tailordb-truncate) | Truncate (delete all records from) TailorDB tables. |
36
36
 
37
37
  <!-- politty:command:tailordb:subcommands:end -->
38
+
39
+ <!-- politty:command:tailordb:global-options-link:start -->
40
+
41
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
42
+
43
+ <!-- politty:command:tailordb:global-options-link:end -->
38
44
  <!-- politty:command:tailordb truncate:heading:start -->
39
45
 
40
46
  ### tailordb truncate
@@ -71,16 +77,22 @@ tailor-sdk tailordb truncate [options] [types]
71
77
 
72
78
  **Options**
73
79
 
74
- | Option | Alias | Description | Required | Default |
75
- | ------------------------------- | ----- | ------------------------------------------ | -------- | -------------------- |
76
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
77
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
78
- | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
79
- | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
80
- | `--all` | `-a` | Truncate all tables in all namespaces | No | `false` |
81
- | `--namespace <NAMESPACE>` | `-n` | Truncate all tables in specified namespace | No | - |
80
+ | Option | Alias | Description | Required | Default | Env |
81
+ | ------------------------------- | ----- | ------------------------------------------ | -------- | -------------------- | --------------------------------- |
82
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
83
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
84
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
85
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
86
+ | `--all` | `-a` | Truncate all tables in all namespaces | No | `false` | - |
87
+ | `--namespace <NAMESPACE>` | `-n` | Truncate all tables in specified namespace | No | - | - |
82
88
 
83
89
  <!-- politty:command:tailordb truncate:options:end -->
90
+
91
+ <!-- politty:command:tailordb truncate:global-options-link:start -->
92
+
93
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
94
+
95
+ <!-- politty:command:tailordb truncate:global-options-link:end -->
84
96
  <!-- politty:command:tailordb migration:heading:start -->
85
97
 
86
98
  ### tailordb migration
@@ -114,6 +126,12 @@ tailor-sdk tailordb migration [command]
114
126
  | [`tailordb migration status`](#tailordb-migration-status) | Show the current migration status for TailorDB namespaces, including applied and pending migrations. |
115
127
 
116
128
  <!-- politty:command:tailordb migration:subcommands:end -->
129
+
130
+ <!-- politty:command:tailordb migration:global-options-link:start -->
131
+
132
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
133
+
134
+ <!-- politty:command:tailordb migration:global-options-link:end -->
117
135
  <!-- politty:command:tailordb migration generate:heading:start -->
118
136
 
119
137
  #### tailordb migration generate
@@ -140,14 +158,20 @@ tailor-sdk tailordb migration generate [options]
140
158
 
141
159
  **Options**
142
160
 
143
- | Option | Alias | Description | Required | Default |
144
- | ------------------- | ----- | ------------------------------------------ | -------- | -------------------- |
145
- | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
146
- | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
147
- | `--name <NAME>` | `-n` | Optional description for the migration | No | - |
148
- | `--init` | - | Delete existing migrations and start fresh | No | `false` |
161
+ | Option | Alias | Description | Required | Default | Env |
162
+ | ------------------- | ----- | ------------------------------------------ | -------- | -------------------- | --------------------------------- |
163
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
164
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
165
+ | `--name <NAME>` | `-n` | Optional description for the migration | No | - | - |
166
+ | `--init` | - | Delete existing migrations and start fresh | No | `false` | - |
149
167
 
150
168
  <!-- politty:command:tailordb migration generate:options:end -->
169
+
170
+ <!-- politty:command:tailordb migration generate:global-options-link:start -->
171
+
172
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
173
+
174
+ <!-- politty:command:tailordb migration generate:global-options-link:end -->
151
175
  <!-- politty:command:tailordb migration set:heading:start -->
152
176
 
153
177
  #### tailordb migration set
@@ -184,15 +208,21 @@ tailor-sdk tailordb migration set [options] <number>
184
208
 
185
209
  **Options**
186
210
 
187
- | Option | Alias | Description | Required | Default |
188
- | ------------------------------- | ----- | ----------------------------------------------------------------- | -------- | -------------------- |
189
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
190
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
191
- | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
192
- | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
193
- | `--namespace <NAMESPACE>` | `-n` | Target TailorDB namespace (required if multiple namespaces exist) | No | - |
211
+ | Option | Alias | Description | Required | Default | Env |
212
+ | ------------------------------- | ----- | ----------------------------------------------------------------- | -------- | -------------------- | --------------------------------- |
213
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
214
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
215
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
216
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
217
+ | `--namespace <NAMESPACE>` | `-n` | Target TailorDB namespace (required if multiple namespaces exist) | No | - | - |
194
218
 
195
219
  <!-- politty:command:tailordb migration set:options:end -->
220
+
221
+ <!-- politty:command:tailordb migration set:global-options-link:start -->
222
+
223
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
224
+
225
+ <!-- politty:command:tailordb migration set:global-options-link:end -->
196
226
  <!-- politty:command:tailordb migration status:heading:start -->
197
227
 
198
228
  #### tailordb migration status
@@ -219,14 +249,20 @@ tailor-sdk tailordb migration status [options]
219
249
 
220
250
  **Options**
221
251
 
222
- | Option | Alias | Description | Required | Default |
223
- | ------------------------------- | ----- | ----------------------------------------------------------------- | -------- | -------------------- |
224
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
225
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
226
- | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
227
- | `--namespace <NAMESPACE>` | `-n` | Target TailorDB namespace (shows all namespaces if not specified) | No | - |
252
+ | Option | Alias | Description | Required | Default | Env |
253
+ | ------------------------------- | ----- | ----------------------------------------------------------------- | -------- | -------------------- | --------------------------------- |
254
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
255
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
256
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
257
+ | `--namespace <NAMESPACE>` | `-n` | Target TailorDB namespace (shows all namespaces if not specified) | No | - | - |
228
258
 
229
259
  <!-- politty:command:tailordb migration status:options:end -->
260
+
261
+ <!-- politty:command:tailordb migration status:global-options-link:start -->
262
+
263
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
264
+
265
+ <!-- politty:command:tailordb migration status:global-options-link:end -->
230
266
  <!-- politty:command:tailordb erd:heading:start -->
231
267
 
232
268
  ### tailordb erd
@@ -260,6 +296,12 @@ tailor-sdk tailordb erd [command]
260
296
  | [`tailordb erd deploy`](#tailordb-erd-deploy) | Deploy ERD static website for TailorDB namespace(s). |
261
297
 
262
298
  <!-- politty:command:tailordb erd:subcommands:end -->
299
+
300
+ <!-- politty:command:tailordb erd:global-options-link:start -->
301
+
302
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
303
+
304
+ <!-- politty:command:tailordb erd:global-options-link:end -->
263
305
  <!-- politty:command:tailordb erd export:heading:start -->
264
306
 
265
307
  #### tailordb erd export
@@ -286,16 +328,21 @@ tailor-sdk tailordb erd export [options]
286
328
 
287
329
  **Options**
288
330
 
289
- | Option | Alias | Description | Required | Default |
290
- | ------------------------------- | ----- | ---------------------------------------------------------------------------------------------------- | -------- | -------------------- |
291
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
292
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
293
- | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
294
- | `--json` | `-j` | Output as JSON | No | `false` |
295
- | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (optional if only one namespace is defined in config) | No | - |
296
- | `--output <OUTPUT>` | `-o` | Output directory path for tbls-compatible ERD JSON (writes to `<outputDir>/<namespace>/schema.json`) | No | `".tailor-sdk/erd"` |
331
+ | Option | Alias | Description | Required | Default | Env |
332
+ | ------------------------------- | ----- | ---------------------------------------------------------------------------------------------------- | -------- | -------------------- | --------------------------------- |
333
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
334
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
335
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
336
+ | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (optional if only one namespace is defined in config) | No | - | - |
337
+ | `--output <OUTPUT>` | `-o` | Output directory path for tbls-compatible ERD JSON (writes to `<outputDir>/<namespace>/schema.json`) | No | `".tailor-sdk/erd"` | - |
297
338
 
298
339
  <!-- politty:command:tailordb erd export:options:end -->
340
+
341
+ <!-- politty:command:tailordb erd export:global-options-link:start -->
342
+
343
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
344
+
345
+ <!-- politty:command:tailordb erd export:global-options-link:end -->
299
346
  <!-- politty:command:tailordb erd serve:heading:start -->
300
347
 
301
348
  #### tailordb erd serve
@@ -322,14 +369,20 @@ tailor-sdk tailordb erd serve [options]
322
369
 
323
370
  **Options**
324
371
 
325
- | Option | Alias | Description | Required | Default |
326
- | ------------------------------- | ----- | ------------------------------------------------------------------------- | -------- | -------------------- |
327
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
328
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
329
- | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
330
- | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (uses first namespace in config if not specified) | No | - |
372
+ | Option | Alias | Description | Required | Default | Env |
373
+ | ------------------------------- | ----- | ------------------------------------------------------------------------- | -------- | -------------------- | --------------------------------- |
374
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
375
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
376
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
377
+ | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (uses first namespace in config if not specified) | No | - | - |
331
378
 
332
379
  <!-- politty:command:tailordb erd serve:options:end -->
380
+
381
+ <!-- politty:command:tailordb erd serve:global-options-link:start -->
382
+
383
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
384
+
385
+ <!-- politty:command:tailordb erd serve:global-options-link:end -->
333
386
  <!-- politty:command:tailordb erd deploy:heading:start -->
334
387
 
335
388
  #### tailordb erd deploy
@@ -356,16 +409,21 @@ tailor-sdk tailordb erd deploy [options]
356
409
 
357
410
  **Options**
358
411
 
359
- | Option | Alias | Description | Required | Default |
360
- | ------------------------------- | ----- | ----------------------------------------------------------------------------------- | -------- | -------------------- |
361
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
362
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
363
- | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
364
- | `--json` | `-j` | Output as JSON | No | `false` |
365
- | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (optional - deploys all namespaces with erdSite if omitted) | No | - |
412
+ | Option | Alias | Description | Required | Default | Env |
413
+ | ------------------------------- | ----- | ----------------------------------------------------------------------------------- | -------- | -------------------- | --------------------------------- |
414
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
415
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
416
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
417
+ | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (optional - deploys all namespaces with erdSite if omitted) | No | - | - |
366
418
 
367
419
  <!-- politty:command:tailordb erd deploy:options:end -->
368
420
 
421
+ <!-- politty:command:tailordb erd deploy:global-options-link:start -->
422
+
423
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
424
+
425
+ <!-- politty:command:tailordb erd deploy:global-options-link:end -->
426
+
369
427
  **Usage Examples:**
370
428
 
371
429
  ```bash
package/docs/cli/user.md CHANGED
@@ -19,11 +19,17 @@ Login to Tailor Platform.
19
19
  **Usage**
20
20
 
21
21
  ```
22
- tailor-sdk login [options]
22
+ tailor-sdk login
23
23
  ```
24
24
 
25
25
  <!-- politty:command:login:usage:end -->
26
26
 
27
+ <!-- politty:command:login:global-options-link:start -->
28
+
29
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
30
+
31
+ <!-- politty:command:login:global-options-link:end -->
32
+
27
33
  <!-- politty:command:logout:heading:start -->
28
34
 
29
35
  ## logout
@@ -41,11 +47,17 @@ Logout from Tailor Platform.
41
47
  **Usage**
42
48
 
43
49
  ```
44
- tailor-sdk logout [options]
50
+ tailor-sdk logout
45
51
  ```
46
52
 
47
53
  <!-- politty:command:logout:usage:end -->
48
54
 
55
+ <!-- politty:command:logout:global-options-link:start -->
56
+
57
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
58
+
59
+ <!-- politty:command:logout:global-options-link:end -->
60
+
49
61
  <!-- politty:command:user:heading:start -->
50
62
 
51
63
  ## user
@@ -80,6 +92,12 @@ tailor-sdk user [command]
80
92
  | [`user switch`](#user-switch) | Set current user. |
81
93
 
82
94
  <!-- politty:command:user:subcommands:end -->
95
+
96
+ <!-- politty:command:user:global-options-link:start -->
97
+
98
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
99
+
100
+ <!-- politty:command:user:global-options-link:end -->
83
101
  <!-- politty:command:user current:heading:start -->
84
102
 
85
103
  ### user current
@@ -97,10 +115,16 @@ Show current user.
97
115
  **Usage**
98
116
 
99
117
  ```
100
- tailor-sdk user current [options]
118
+ tailor-sdk user current
101
119
  ```
102
120
 
103
121
  <!-- politty:command:user current:usage:end -->
122
+
123
+ <!-- politty:command:user current:global-options-link:start -->
124
+
125
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
126
+
127
+ <!-- politty:command:user current:global-options-link:end -->
104
128
  <!-- politty:command:user list:heading:start -->
105
129
 
106
130
  ### user list
@@ -118,7 +142,7 @@ List all users.
118
142
  **Usage**
119
143
 
120
144
  ```
121
- tailor-sdk user list [options]
145
+ tailor-sdk user list
122
146
  ```
123
147
 
124
148
  <!-- politty:command:user list:usage:end -->
@@ -132,6 +156,12 @@ tailor-sdk user list [options]
132
156
  | `--json` | `-j` | Output as JSON | No | `false` |
133
157
 
134
158
  <!-- politty:command:user list:options:end -->
159
+
160
+ <!-- politty:command:user list:global-options-link:start -->
161
+
162
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
163
+
164
+ <!-- politty:command:user list:global-options-link:end -->
135
165
  <!-- politty:command:user switch:heading:start -->
136
166
 
137
167
  ### user switch
@@ -149,7 +179,7 @@ Set current user.
149
179
  **Usage**
150
180
 
151
181
  ```
152
- tailor-sdk user switch [options] <user>
182
+ tailor-sdk user switch <user>
153
183
  ```
154
184
 
155
185
  <!-- politty:command:user switch:usage:end -->
@@ -163,6 +193,12 @@ tailor-sdk user switch [options] <user>
163
193
  | `user` | User email | Yes |
164
194
 
165
195
  <!-- politty:command:user switch:arguments:end -->
196
+
197
+ <!-- politty:command:user switch:global-options-link:start -->
198
+
199
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
200
+
201
+ <!-- politty:command:user switch:global-options-link:end -->
166
202
  <!-- politty:command:user pat:heading:start -->
167
203
 
168
204
  ### user pat
@@ -180,7 +216,7 @@ Manage personal access tokens.
180
216
  **Usage**
181
217
 
182
218
  ```
183
- tailor-sdk user pat [options] [command]
219
+ tailor-sdk user pat [command]
184
220
  ```
185
221
 
186
222
  <!-- politty:command:user pat:usage:end -->
@@ -207,6 +243,12 @@ tailor-sdk user pat [options] [command]
207
243
  | [`user pat update`](#user-pat-update) | Update a personal access token (delete and recreate). |
208
244
 
209
245
  <!-- politty:command:user pat:subcommands:end -->
246
+
247
+ <!-- politty:command:user pat:global-options-link:start -->
248
+
249
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
250
+
251
+ <!-- politty:command:user pat:global-options-link:end -->
210
252
  <!-- politty:command:user pat list:heading:start -->
211
253
 
212
254
  #### user pat list
@@ -224,7 +266,7 @@ List all personal access tokens.
224
266
  **Usage**
225
267
 
226
268
  ```
227
- tailor-sdk user pat list [options]
269
+ tailor-sdk user pat list
228
270
  ```
229
271
 
230
272
  <!-- politty:command:user pat list:usage:end -->
@@ -238,6 +280,12 @@ tailor-sdk user pat list [options]
238
280
  | `--json` | `-j` | Output as JSON | No | `false` |
239
281
 
240
282
  <!-- politty:command:user pat list:options:end -->
283
+
284
+ <!-- politty:command:user pat list:global-options-link:start -->
285
+
286
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
287
+
288
+ <!-- politty:command:user pat list:global-options-link:end -->
241
289
  <!-- politty:command:user pat create:heading:start -->
242
290
 
243
291
  #### user pat create
@@ -276,10 +324,15 @@ tailor-sdk user pat create [options] <name>
276
324
 
277
325
  | Option | Alias | Description | Required | Default |
278
326
  | --------- | ----- | ------------------------------------------- | -------- | ------- |
279
- | `--json` | `-j` | Output as JSON | No | `false` |
280
327
  | `--write` | `-W` | Grant write permission (default: read-only) | No | `false` |
281
328
 
282
329
  <!-- politty:command:user pat create:options:end -->
330
+
331
+ <!-- politty:command:user pat create:global-options-link:start -->
332
+
333
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
334
+
335
+ <!-- politty:command:user pat create:global-options-link:end -->
283
336
  <!-- politty:command:user pat delete:heading:start -->
284
337
 
285
338
  #### user pat delete
@@ -297,7 +350,7 @@ Delete a personal access token.
297
350
  **Usage**
298
351
 
299
352
  ```
300
- tailor-sdk user pat delete [options] <name>
353
+ tailor-sdk user pat delete <name>
301
354
  ```
302
355
 
303
356
  <!-- politty:command:user pat delete:usage:end -->
@@ -311,6 +364,12 @@ tailor-sdk user pat delete [options] <name>
311
364
  | `name` | Token name | Yes |
312
365
 
313
366
  <!-- politty:command:user pat delete:arguments:end -->
367
+
368
+ <!-- politty:command:user pat delete:global-options-link:start -->
369
+
370
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
371
+
372
+ <!-- politty:command:user pat delete:global-options-link:end -->
314
373
  <!-- politty:command:user pat update:heading:start -->
315
374
 
316
375
  #### user pat update
@@ -349,11 +408,16 @@ tailor-sdk user pat update [options] <name>
349
408
 
350
409
  | Option | Alias | Description | Required | Default |
351
410
  | --------- | ----- | ---------------------------------------------------------- | -------- | ------- |
352
- | `--json` | `-j` | Output as JSON | No | `false` |
353
411
  | `--write` | `-W` | Grant write permission (if not specified, keeps read-only) | No | `false` |
354
412
 
355
413
  <!-- politty:command:user pat update:options:end -->
356
414
 
415
+ <!-- politty:command:user pat update:global-options-link:start -->
416
+
417
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
418
+
419
+ <!-- politty:command:user pat update:global-options-link:end -->
420
+
357
421
  When no subcommand is provided, defaults to `list`.
358
422
 
359
423
  **Output (default):**
@@ -37,6 +37,12 @@ tailor-sdk workflow [command]
37
37
  | [`workflow resume`](#workflow-resume) | Resume a failed or pending workflow execution. |
38
38
 
39
39
  <!-- politty:command:workflow:subcommands:end -->
40
+
41
+ <!-- politty:command:workflow:global-options-link:start -->
42
+
43
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
44
+
45
+ <!-- politty:command:workflow:global-options-link:end -->
40
46
  <!-- politty:command:workflow list:heading:start -->
41
47
 
42
48
  ### workflow list
@@ -63,13 +69,18 @@ tailor-sdk workflow list [options]
63
69
 
64
70
  **Options**
65
71
 
66
- | Option | Alias | Description | Required | Default |
67
- | ------------------------------- | ----- | ----------------- | -------- | ------- |
68
- | `--json` | `-j` | Output as JSON | No | `false` |
69
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
70
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
72
+ | Option | Alias | Description | Required | Default | Env |
73
+ | ------------------------------- | ----- | ----------------- | -------- | ------- | ------------------------------ |
74
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
75
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
71
76
 
72
77
  <!-- politty:command:workflow list:options:end -->
78
+
79
+ <!-- politty:command:workflow list:global-options-link:start -->
80
+
81
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
82
+
83
+ <!-- politty:command:workflow list:global-options-link:end -->
73
84
  <!-- politty:command:workflow get:heading:start -->
74
85
 
75
86
  ### workflow get
@@ -106,13 +117,18 @@ tailor-sdk workflow get [options] <name>
106
117
 
107
118
  **Options**
108
119
 
109
- | Option | Alias | Description | Required | Default |
110
- | ------------------------------- | ----- | ----------------- | -------- | ------- |
111
- | `--json` | `-j` | Output as JSON | No | `false` |
112
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
113
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
120
+ | Option | Alias | Description | Required | Default | Env |
121
+ | ------------------------------- | ----- | ----------------- | -------- | ------- | ------------------------------ |
122
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
123
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
114
124
 
115
125
  <!-- politty:command:workflow get:options:end -->
126
+
127
+ <!-- politty:command:workflow get:global-options-link:start -->
128
+
129
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
130
+
131
+ <!-- politty:command:workflow get:global-options-link:end -->
116
132
  <!-- politty:command:workflow start:heading:start -->
117
133
 
118
134
  ### workflow start
@@ -149,19 +165,24 @@ tailor-sdk workflow start [options] <name>
149
165
 
150
166
  **Options**
151
167
 
152
- | Option | Alias | Description | Required | Default |
153
- | ------------------------------- | ----- | -------------------------------------------------------------- | -------- | -------------------- |
154
- | `--json` | `-j` | Output as JSON | No | `false` |
155
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
156
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
157
- | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
158
- | `--machineuser <MACHINEUSER>` | `-m` | Machine user name | Yes | - |
159
- | `--arg <ARG>` | `-a` | Workflow argument (JSON string) | No | - |
160
- | `--wait` | `-W` | Wait for execution to complete | No | `false` |
161
- | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
162
- | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | No | `false` |
168
+ | Option | Alias | Description | Required | Default | Env |
169
+ | ------------------------------- | ----- | -------------------------------------------------------------- | -------- | -------------------- | --------------------------------- |
170
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
171
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
172
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
173
+ | `--machineuser <MACHINEUSER>` | `-m` | Machine user name | Yes | - | - |
174
+ | `--arg <ARG>` | `-a` | Workflow argument (JSON string) | No | - | - |
175
+ | `--wait` | `-W` | Wait for execution to complete | No | `false` | - |
176
+ | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` | - |
177
+ | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | No | `false` | - |
163
178
 
164
179
  <!-- politty:command:workflow start:options:end -->
180
+
181
+ <!-- politty:command:workflow start:global-options-link:start -->
182
+
183
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
184
+
185
+ <!-- politty:command:workflow start:global-options-link:end -->
165
186
  <!-- politty:command:workflow executions:heading:start -->
166
187
 
167
188
  ### workflow executions
@@ -198,18 +219,23 @@ tailor-sdk workflow executions [options] [executionId]
198
219
 
199
220
  **Options**
200
221
 
201
- | Option | Alias | Description | Required | Default |
202
- | --------------------------------- | ----- | -------------------------------------------------------------- | -------- | ------- |
203
- | `--json` | `-j` | Output as JSON | No | `false` |
204
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
205
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
206
- | `--workflow-name <WORKFLOW_NAME>` | `-n` | Filter by workflow name (list mode only) | No | - |
207
- | `--status <STATUS>` | `-s` | Filter by status (list mode only) | No | - |
208
- | `--wait` | `-W` | Wait for execution to complete | No | `false` |
209
- | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
210
- | `--logs` | - | Display job execution logs (detail mode only) | No | `false` |
222
+ | Option | Alias | Description | Required | Default | Env |
223
+ | --------------------------------- | ----- | -------------------------------------------------------------- | -------- | ------- | ------------------------------ |
224
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
225
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
226
+ | `--workflow-name <WORKFLOW_NAME>` | `-n` | Filter by workflow name (list mode only) | No | - | - |
227
+ | `--status <STATUS>` | `-s` | Filter by status (list mode only) | No | - | - |
228
+ | `--wait` | `-W` | Wait for execution to complete | No | `false` | - |
229
+ | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` | - |
230
+ | `--logs` | - | Display job execution logs (detail mode only) | No | `false` | - |
211
231
 
212
232
  <!-- politty:command:workflow executions:options:end -->
233
+
234
+ <!-- politty:command:workflow executions:global-options-link:start -->
235
+
236
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
237
+
238
+ <!-- politty:command:workflow executions:global-options-link:end -->
213
239
  <!-- politty:command:workflow resume:heading:start -->
214
240
 
215
241
  ### workflow resume
@@ -246,17 +272,22 @@ tailor-sdk workflow resume [options] <executionId>
246
272
 
247
273
  **Options**
248
274
 
249
- | Option | Alias | Description | Required | Default |
250
- | ------------------------------- | ----- | -------------------------------------------------------------- | -------- | ------- |
251
- | `--json` | `-j` | Output as JSON | No | `false` |
252
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
253
- | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
254
- | `--wait` | `-W` | Wait for execution to complete | No | `false` |
255
- | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
256
- | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | No | `false` |
275
+ | Option | Alias | Description | Required | Default | Env |
276
+ | ------------------------------- | ----- | -------------------------------------------------------------- | -------- | ------- | ------------------------------ |
277
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
278
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
279
+ | `--wait` | `-W` | Wait for execution to complete | No | `false` | - |
280
+ | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` | - |
281
+ | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | No | `false` | - |
257
282
 
258
283
  <!-- politty:command:workflow resume:options:end -->
259
284
 
285
+ <!-- politty:command:workflow resume:global-options-link:start -->
286
+
287
+ See [Global Options](../cli-reference.md#global-options) for options available to all commands.
288
+
289
+ <!-- politty:command:workflow resume:global-options-link:end -->
290
+
260
291
  **Usage Examples:**
261
292
 
262
293
  ```bash