@tailor-platform/sdk 1.67.1 → 1.69.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.
- package/CHANGELOG.md +98 -1
- package/dist/application-Br48NXBD.mjs +4 -0
- package/dist/application-Cr-limKC.mjs +6192 -0
- package/dist/application-Cr-limKC.mjs.map +1 -0
- package/dist/cli/index.mjs +147 -34
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +297 -157
- package/dist/cli/lib.mjs +4 -4
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/skills.mjs +1 -1
- package/dist/completion/zsh-worker.zsh +127 -48
- package/dist/configure/index.d.mts +2 -2
- package/dist/configure/index.mjs +4 -0
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{crashreport-u9y2npiy.mjs → crashreport-BqyvFk-_.mjs} +2 -2
- package/dist/{crashreport-u9y2npiy.mjs.map → crashreport-BqyvFk-_.mjs.map} +1 -1
- package/dist/{crashreport-6jpCceOF.mjs → crashreport-BwF8cHF0.mjs} +1 -1
- package/dist/enum-constants-C7DaWeQo.mjs.map +1 -1
- package/dist/field-C4zdJLW5.mjs.map +1 -1
- package/dist/file-utils-BHPxPXmn.mjs.map +1 -1
- package/dist/{idp-BlBPtXJ-.d.mts → idp-BmYwCXnJ.d.mts} +30 -3
- package/dist/{idp-BZPqpcYY.mjs → idp-ynUfzwpz.mjs} +9 -1
- package/dist/idp-ynUfzwpz.mjs.map +1 -0
- package/dist/{index-DvEUb3pX.d.mts → index-B7VbJm0_.d.mts} +25 -16
- package/dist/{index-DRhMpdnA.d.mts → index-dKNk8hjo.d.mts} +2 -2
- package/dist/job-BpsFXPbi.mjs.map +1 -1
- package/dist/{kysely-type-D1e0Vwkd.mjs → kysely-type-CSoZxVKN.mjs} +2 -2
- package/dist/{kysely-type-D1e0Vwkd.mjs.map → kysely-type-CSoZxVKN.mjs.map} +1 -1
- package/dist/{logger-DpJyJvNz.mjs → logger-DKF-JsAK.mjs} +3 -3
- package/dist/{logger-DpJyJvNz.mjs.map → logger-DKF-JsAK.mjs.map} +1 -1
- package/dist/{mock-DMgIygjE.mjs → mock-wf5qeZLi.mjs} +19 -9
- package/dist/mock-wf5qeZLi.mjs.map +1 -0
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/registry-D0uB0OrK.mjs.map +1 -1
- package/dist/{repl-editor-CJG3sz7A.mjs → repl-editor-DD5YP5mt.mjs} +4 -4
- package/dist/{repl-editor-CJG3sz7A.mjs.map → repl-editor-DD5YP5mt.mjs.map} +1 -1
- package/dist/runtime/globals.d.mts +3 -2
- package/dist/runtime/idp.d.mts +2 -2
- package/dist/runtime/idp.mjs +1 -1
- package/dist/runtime/index.d.mts +2 -2
- package/dist/runtime/index.mjs +1 -1
- package/dist/{runtime-BU6KtCvk.mjs → runtime-jowoN6qC.mjs} +803 -226
- package/dist/runtime-jowoN6qC.mjs.map +1 -0
- package/dist/schema-1msIhXwA.mjs.map +1 -1
- package/dist/seed-YAbtMy65.mjs.map +1 -1
- package/dist/{service-wI3Hvrgx.mjs → service-B2Jd9CxS.mjs} +2 -2
- package/dist/service-B2Jd9CxS.mjs.map +1 -0
- package/dist/service-CRaa4Joe.mjs +4 -0
- package/dist/{service-DMohAx8a.mjs → service-DDWgZL_L2.mjs} +2 -2
- package/dist/service-DDWgZL_L2.mjs.map +1 -0
- package/dist/service_pb-DGSmn-aF.mjs +4 -0
- package/dist/{application-WpWwTyk9.mjs → service_pb-DSNjrcbW.mjs} +22 -6176
- package/dist/service_pb-DSNjrcbW.mjs.map +1 -0
- package/dist/telemetry-BQbbVo2t.mjs.map +1 -1
- package/dist/types-CmzfQP_m.mjs.map +1 -1
- package/dist/utils/test/index.d.mts +2 -2
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/vitest/environment.mjs +1 -1
- package/dist/vitest/environment.mjs.map +1 -1
- package/dist/vitest/index.mjs +4 -4
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/setup.mjs +1 -1
- package/dist/{workflow.generated-1S50BhEb.d.mts → workflow.generated-Br9bmLdX.d.mts} +98 -3
- package/docs/cli/application.md +5 -202
- package/docs/cli/auth.md +12 -256
- package/docs/cli/completion.md +0 -24
- package/docs/cli/crashreport.md +0 -58
- package/docs/cli/executor.md +53 -164
- package/docs/cli/function.md +2 -118
- package/docs/cli/organization.md +1 -211
- package/docs/cli/query.md +0 -20
- package/docs/cli/secret.md +70 -250
- package/docs/cli/setup.md +21 -59
- package/docs/cli/skills.md +0 -39
- package/docs/cli/staticwebsite.md +24 -172
- package/docs/cli/tailordb.md +5 -255
- package/docs/cli/upgrade.md +0 -20
- package/docs/cli/user.md +32 -247
- package/docs/cli/workflow.md +139 -161
- package/docs/cli/workspace.md +158 -537
- package/docs/cli-reference.md +59 -40
- package/docs/configuration.md +7 -1
- package/docs/github-actions.md +27 -14
- package/docs/services/idp.md +55 -2
- package/docs/services/staticwebsite.md +7 -1
- package/package.json +23 -18
- package/dist/application-Djeezk3m.mjs +0 -4
- package/dist/application-WpWwTyk9.mjs.map +0 -1
- package/dist/idp-BZPqpcYY.mjs.map +0 -1
- package/dist/mock-DMgIygjE.mjs.map +0 -1
- package/dist/runtime-BU6KtCvk.mjs.map +0 -1
- package/dist/service-BHQIerYh.mjs +0 -4
- package/dist/service-DMohAx8a.mjs.map +0 -1
- package/dist/service-wI3Hvrgx.mjs.map +0 -1
package/docs/cli/auth.md
CHANGED
|
@@ -2,29 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Commands for managing Auth service resources (auth connections, machine users, and OAuth2 clients).
|
|
4
4
|
|
|
5
|
-
<!-- politty:command:authconnection:heading:start -->
|
|
6
|
-
|
|
7
5
|
## authconnection
|
|
8
6
|
|
|
9
|
-
<!-- politty:command:authconnection:heading:end -->
|
|
10
|
-
|
|
11
|
-
<!-- politty:command:authconnection:description:start -->
|
|
12
|
-
|
|
13
7
|
Manage auth connections.
|
|
14
8
|
|
|
15
|
-
<!-- politty:command:authconnection:description:end -->
|
|
16
|
-
|
|
17
|
-
<!-- politty:command:authconnection:usage:start -->
|
|
18
|
-
|
|
19
9
|
**Usage**
|
|
20
10
|
|
|
21
11
|
```
|
|
22
12
|
tailor-sdk authconnection [command]
|
|
23
13
|
```
|
|
24
14
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<!-- politty:command:authconnection:subcommands:start -->
|
|
15
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
28
16
|
|
|
29
17
|
**Commands**
|
|
30
18
|
|
|
@@ -36,37 +24,16 @@ tailor-sdk authconnection [command]
|
|
|
36
24
|
| [`authconnection revoke`](#authconnection-revoke) | Revoke an auth connection's tokens (keeps the connection; use 'delete' to remove it). |
|
|
37
25
|
| [`authconnection delete`](#authconnection-delete) | Delete an auth connection entirely. |
|
|
38
26
|
|
|
39
|
-
<!-- politty:command:authconnection:subcommands:end -->
|
|
40
|
-
|
|
41
|
-
<!-- politty:command:authconnection:global-options-link:start -->
|
|
42
|
-
|
|
43
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
44
|
-
|
|
45
|
-
<!-- politty:command:authconnection:global-options-link:end -->
|
|
46
|
-
<!-- politty:command:authconnection authorize:heading:start -->
|
|
47
|
-
|
|
48
27
|
### authconnection authorize
|
|
49
28
|
|
|
50
|
-
<!-- politty:command:authconnection authorize:heading:end -->
|
|
51
|
-
|
|
52
|
-
<!-- politty:command:authconnection authorize:description:start -->
|
|
53
|
-
|
|
54
29
|
Authorize an auth connection via OAuth2 flow.
|
|
55
30
|
|
|
56
|
-
<!-- politty:command:authconnection authorize:description:end -->
|
|
57
|
-
|
|
58
|
-
<!-- politty:command:authconnection authorize:usage:start -->
|
|
59
|
-
|
|
60
31
|
**Usage**
|
|
61
32
|
|
|
62
33
|
```
|
|
63
34
|
tailor-sdk authconnection authorize [options]
|
|
64
35
|
```
|
|
65
36
|
|
|
66
|
-
<!-- politty:command:authconnection authorize:usage:end -->
|
|
67
|
-
|
|
68
|
-
<!-- politty:command:authconnection authorize:options:start -->
|
|
69
|
-
|
|
70
37
|
**Options**
|
|
71
38
|
|
|
72
39
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -78,37 +45,18 @@ tailor-sdk authconnection authorize [options]
|
|
|
78
45
|
| `--port <PORT>` | - | Local callback server port | No | `8080` | - |
|
|
79
46
|
| `--no-browser` | - | Don't open browser automatically | No | `false` | - |
|
|
80
47
|
|
|
81
|
-
<!-- politty:command:authconnection authorize:options:end -->
|
|
82
|
-
|
|
83
|
-
<!-- politty:command:authconnection authorize:global-options-link:start -->
|
|
84
|
-
|
|
85
48
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
86
49
|
|
|
87
|
-
<!-- politty:command:authconnection authorize:global-options-link:end -->
|
|
88
|
-
<!-- politty:command:authconnection delete:heading:start -->
|
|
89
|
-
|
|
90
50
|
### authconnection delete
|
|
91
51
|
|
|
92
|
-
<!-- politty:command:authconnection delete:heading:end -->
|
|
93
|
-
|
|
94
|
-
<!-- politty:command:authconnection delete:description:start -->
|
|
95
|
-
|
|
96
52
|
Delete an auth connection entirely.
|
|
97
53
|
|
|
98
|
-
<!-- politty:command:authconnection delete:description:end -->
|
|
99
|
-
|
|
100
|
-
<!-- politty:command:authconnection delete:usage:start -->
|
|
101
|
-
|
|
102
54
|
**Usage**
|
|
103
55
|
|
|
104
56
|
```
|
|
105
57
|
tailor-sdk authconnection delete [options]
|
|
106
58
|
```
|
|
107
59
|
|
|
108
|
-
<!-- politty:command:authconnection delete:usage:end -->
|
|
109
|
-
|
|
110
|
-
<!-- politty:command:authconnection delete:options:start -->
|
|
111
|
-
|
|
112
60
|
**Options**
|
|
113
61
|
|
|
114
62
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -118,38 +66,18 @@ tailor-sdk authconnection delete [options]
|
|
|
118
66
|
| `--name <NAME>` | `-n` | Auth connection name | Yes | - | - |
|
|
119
67
|
| `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
|
|
120
68
|
|
|
121
|
-
<!-- politty:command:authconnection delete:options:end -->
|
|
122
|
-
|
|
123
|
-
<!-- politty:command:authconnection delete:global-options-link:start -->
|
|
124
|
-
|
|
125
69
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
126
70
|
|
|
127
|
-
<!-- politty:command:authconnection delete:global-options-link:end -->
|
|
128
|
-
|
|
129
|
-
<!-- politty:command:authconnection list:heading:start -->
|
|
130
|
-
|
|
131
71
|
### authconnection list
|
|
132
72
|
|
|
133
|
-
<!-- politty:command:authconnection list:heading:end -->
|
|
134
|
-
|
|
135
|
-
<!-- politty:command:authconnection list:description:start -->
|
|
136
|
-
|
|
137
73
|
List all auth connections.
|
|
138
74
|
|
|
139
|
-
<!-- politty:command:authconnection list:description:end -->
|
|
140
|
-
|
|
141
|
-
<!-- politty:command:authconnection list:usage:start -->
|
|
142
|
-
|
|
143
75
|
**Usage**
|
|
144
76
|
|
|
145
77
|
```
|
|
146
78
|
tailor-sdk authconnection list [options]
|
|
147
79
|
```
|
|
148
80
|
|
|
149
|
-
<!-- politty:command:authconnection list:usage:end -->
|
|
150
|
-
|
|
151
|
-
<!-- politty:command:authconnection list:options:start -->
|
|
152
|
-
|
|
153
81
|
**Options**
|
|
154
82
|
|
|
155
83
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -159,37 +87,18 @@ tailor-sdk authconnection list [options]
|
|
|
159
87
|
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
160
88
|
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
161
89
|
|
|
162
|
-
<!-- politty:command:authconnection list:options:end -->
|
|
163
|
-
|
|
164
|
-
<!-- politty:command:authconnection list:global-options-link:start -->
|
|
165
|
-
|
|
166
90
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
167
91
|
|
|
168
|
-
<!-- politty:command:authconnection list:global-options-link:end -->
|
|
169
|
-
<!-- politty:command:authconnection open:heading:start -->
|
|
170
|
-
|
|
171
92
|
### authconnection open
|
|
172
93
|
|
|
173
|
-
<!-- politty:command:authconnection open:heading:end -->
|
|
174
|
-
|
|
175
|
-
<!-- politty:command:authconnection open:description:start -->
|
|
176
|
-
|
|
177
94
|
Open the auth connections page in the Tailor Platform Console.
|
|
178
95
|
|
|
179
|
-
<!-- politty:command:authconnection open:description:end -->
|
|
180
|
-
|
|
181
|
-
<!-- politty:command:authconnection open:usage:start -->
|
|
182
|
-
|
|
183
96
|
**Usage**
|
|
184
97
|
|
|
185
98
|
```
|
|
186
99
|
tailor-sdk authconnection open [options]
|
|
187
100
|
```
|
|
188
101
|
|
|
189
|
-
<!-- politty:command:authconnection open:usage:end -->
|
|
190
|
-
|
|
191
|
-
<!-- politty:command:authconnection open:options:start -->
|
|
192
|
-
|
|
193
102
|
**Options**
|
|
194
103
|
|
|
195
104
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -197,38 +106,18 @@ tailor-sdk authconnection open [options]
|
|
|
197
106
|
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
198
107
|
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
199
108
|
|
|
200
|
-
<!-- politty:command:authconnection open:options:end -->
|
|
201
|
-
|
|
202
|
-
<!-- politty:command:authconnection open:global-options-link:start -->
|
|
203
|
-
|
|
204
109
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
205
110
|
|
|
206
|
-
<!-- politty:command:authconnection open:global-options-link:end -->
|
|
207
|
-
|
|
208
|
-
<!-- politty:command:authconnection revoke:heading:start -->
|
|
209
|
-
|
|
210
111
|
### authconnection revoke
|
|
211
112
|
|
|
212
|
-
<!-- politty:command:authconnection revoke:heading:end -->
|
|
213
|
-
|
|
214
|
-
<!-- politty:command:authconnection revoke:description:start -->
|
|
215
|
-
|
|
216
113
|
Revoke an auth connection's tokens (keeps the connection; use 'delete' to remove it).
|
|
217
114
|
|
|
218
|
-
<!-- politty:command:authconnection revoke:description:end -->
|
|
219
|
-
|
|
220
|
-
<!-- politty:command:authconnection revoke:usage:start -->
|
|
221
|
-
|
|
222
115
|
**Usage**
|
|
223
116
|
|
|
224
117
|
```
|
|
225
118
|
tailor-sdk authconnection revoke [options]
|
|
226
119
|
```
|
|
227
120
|
|
|
228
|
-
<!-- politty:command:authconnection revoke:usage:end -->
|
|
229
|
-
|
|
230
|
-
<!-- politty:command:authconnection revoke:options:start -->
|
|
231
|
-
|
|
232
121
|
**Options**
|
|
233
122
|
|
|
234
123
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -238,45 +127,23 @@ tailor-sdk authconnection revoke [options]
|
|
|
238
127
|
| `--name <NAME>` | `-n` | Auth connection name | Yes | - | - |
|
|
239
128
|
| `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
|
|
240
129
|
|
|
241
|
-
<!-- politty:command:authconnection revoke:options:end -->
|
|
242
|
-
|
|
243
|
-
<!-- politty:command:authconnection revoke:global-options-link:start -->
|
|
244
|
-
|
|
245
130
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
246
131
|
|
|
247
|
-
<!-- politty:command:authconnection revoke:global-options-link:end -->
|
|
248
|
-
|
|
249
|
-
<!-- politty:command:authconnection revoke:notes:start -->
|
|
250
|
-
|
|
251
132
|
**Notes**
|
|
252
133
|
|
|
253
134
|
Revoke invalidates the connection's active session and tokens but keeps the connection and its stored credentials, so it can be re-authorized later. Use `delete` to remove the connection entirely.
|
|
254
135
|
|
|
255
|
-
<!-- politty:command:authconnection revoke:notes:end -->
|
|
256
|
-
|
|
257
|
-
<!-- politty:command:machineuser:heading:start -->
|
|
258
|
-
|
|
259
136
|
## machineuser
|
|
260
137
|
|
|
261
|
-
<!-- politty:command:machineuser:heading:end -->
|
|
262
|
-
|
|
263
|
-
<!-- politty:command:machineuser:description:start -->
|
|
264
|
-
|
|
265
138
|
Manage machine users in your Tailor Platform application.
|
|
266
139
|
|
|
267
|
-
<!-- politty:command:machineuser:description:end -->
|
|
268
|
-
|
|
269
|
-
<!-- politty:command:machineuser:usage:start -->
|
|
270
|
-
|
|
271
140
|
**Usage**
|
|
272
141
|
|
|
273
142
|
```
|
|
274
143
|
tailor-sdk machineuser [command]
|
|
275
144
|
```
|
|
276
145
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
<!-- politty:command:machineuser:subcommands:start -->
|
|
146
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
280
147
|
|
|
281
148
|
**Commands**
|
|
282
149
|
|
|
@@ -285,37 +152,16 @@ tailor-sdk machineuser [command]
|
|
|
285
152
|
| [`machineuser list`](#machineuser-list) | List all machine users in the application. |
|
|
286
153
|
| [`machineuser token`](#machineuser-token) | Get an access token for a machine user. |
|
|
287
154
|
|
|
288
|
-
<!-- politty:command:machineuser:subcommands:end -->
|
|
289
|
-
|
|
290
|
-
<!-- politty:command:machineuser:global-options-link:start -->
|
|
291
|
-
|
|
292
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
293
|
-
|
|
294
|
-
<!-- politty:command:machineuser:global-options-link:end -->
|
|
295
|
-
<!-- politty:command:machineuser list:heading:start -->
|
|
296
|
-
|
|
297
155
|
### machineuser list
|
|
298
156
|
|
|
299
|
-
<!-- politty:command:machineuser list:heading:end -->
|
|
300
|
-
|
|
301
|
-
<!-- politty:command:machineuser list:description:start -->
|
|
302
|
-
|
|
303
157
|
List all machine users in the application.
|
|
304
158
|
|
|
305
|
-
<!-- politty:command:machineuser list:description:end -->
|
|
306
|
-
|
|
307
|
-
<!-- politty:command:machineuser list:usage:start -->
|
|
308
|
-
|
|
309
159
|
**Usage**
|
|
310
160
|
|
|
311
161
|
```
|
|
312
162
|
tailor-sdk machineuser list [options]
|
|
313
163
|
```
|
|
314
164
|
|
|
315
|
-
<!-- politty:command:machineuser list:usage:end -->
|
|
316
|
-
|
|
317
|
-
<!-- politty:command:machineuser list:options:start -->
|
|
318
|
-
|
|
319
165
|
**Options**
|
|
320
166
|
|
|
321
167
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -326,47 +172,24 @@ tailor-sdk machineuser list [options]
|
|
|
326
172
|
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
327
173
|
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
328
174
|
|
|
329
|
-
<!-- politty:command:machineuser list:options:end -->
|
|
330
|
-
|
|
331
|
-
<!-- politty:command:machineuser list:global-options-link:start -->
|
|
332
|
-
|
|
333
175
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
334
176
|
|
|
335
|
-
<!-- politty:command:machineuser list:global-options-link:end -->
|
|
336
|
-
<!-- politty:command:machineuser token:heading:start -->
|
|
337
|
-
|
|
338
177
|
### machineuser token
|
|
339
178
|
|
|
340
|
-
<!-- politty:command:machineuser token:heading:end -->
|
|
341
|
-
|
|
342
|
-
<!-- politty:command:machineuser token:description:start -->
|
|
343
|
-
|
|
344
179
|
Get an access token for a machine user.
|
|
345
180
|
|
|
346
|
-
<!-- politty:command:machineuser token:description:end -->
|
|
347
|
-
|
|
348
|
-
<!-- politty:command:machineuser token:usage:start -->
|
|
349
|
-
|
|
350
181
|
**Usage**
|
|
351
182
|
|
|
352
183
|
```
|
|
353
184
|
tailor-sdk machineuser token [options] [name]
|
|
354
185
|
```
|
|
355
186
|
|
|
356
|
-
<!-- politty:command:machineuser token:usage:end -->
|
|
357
|
-
|
|
358
|
-
<!-- politty:command:machineuser token:arguments:start -->
|
|
359
|
-
|
|
360
187
|
**Arguments**
|
|
361
188
|
|
|
362
189
|
| Argument | Description | Required |
|
|
363
190
|
| -------- | --------------------------------------------------------------------------- | -------- |
|
|
364
191
|
| `name` | Machine user name. Falls back to the active profile's default machine user. | No |
|
|
365
192
|
|
|
366
|
-
<!-- politty:command:machineuser token:arguments:end -->
|
|
367
|
-
|
|
368
|
-
<!-- politty:command:machineuser token:options:start -->
|
|
369
|
-
|
|
370
193
|
**Options**
|
|
371
194
|
|
|
372
195
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -375,36 +198,19 @@ tailor-sdk machineuser token [options] [name]
|
|
|
375
198
|
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
376
199
|
| `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
|
|
377
200
|
|
|
378
|
-
<!-- politty:command:machineuser token:options:end -->
|
|
379
|
-
|
|
380
|
-
<!-- politty:command:machineuser token:global-options-link:start -->
|
|
381
|
-
|
|
382
201
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
383
202
|
|
|
384
|
-
<!-- politty:command:machineuser token:global-options-link:end -->
|
|
385
|
-
<!-- politty:command:oauth2client:heading:start -->
|
|
386
|
-
|
|
387
203
|
## oauth2client
|
|
388
204
|
|
|
389
|
-
<!-- politty:command:oauth2client:heading:end -->
|
|
390
|
-
|
|
391
|
-
<!-- politty:command:oauth2client:description:start -->
|
|
392
|
-
|
|
393
205
|
Manage OAuth2 clients in your Tailor Platform application.
|
|
394
206
|
|
|
395
|
-
<!-- politty:command:oauth2client:description:end -->
|
|
396
|
-
|
|
397
|
-
<!-- politty:command:oauth2client:usage:start -->
|
|
398
|
-
|
|
399
207
|
**Usage**
|
|
400
208
|
|
|
401
209
|
```
|
|
402
210
|
tailor-sdk oauth2client [command]
|
|
403
211
|
```
|
|
404
212
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
<!-- politty:command:oauth2client:subcommands:start -->
|
|
213
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
408
214
|
|
|
409
215
|
**Commands**
|
|
410
216
|
|
|
@@ -413,37 +219,16 @@ tailor-sdk oauth2client [command]
|
|
|
413
219
|
| [`oauth2client list`](#oauth2client-list) | List all OAuth2 clients in the application. |
|
|
414
220
|
| [`oauth2client get`](#oauth2client-get) | Get OAuth2 client credentials (including client secret). |
|
|
415
221
|
|
|
416
|
-
<!-- politty:command:oauth2client:subcommands:end -->
|
|
417
|
-
|
|
418
|
-
<!-- politty:command:oauth2client:global-options-link:start -->
|
|
419
|
-
|
|
420
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
421
|
-
|
|
422
|
-
<!-- politty:command:oauth2client:global-options-link:end -->
|
|
423
|
-
<!-- politty:command:oauth2client list:heading:start -->
|
|
424
|
-
|
|
425
222
|
### oauth2client list
|
|
426
223
|
|
|
427
|
-
<!-- politty:command:oauth2client list:heading:end -->
|
|
428
|
-
|
|
429
|
-
<!-- politty:command:oauth2client list:description:start -->
|
|
430
|
-
|
|
431
224
|
List all OAuth2 clients in the application.
|
|
432
225
|
|
|
433
|
-
<!-- politty:command:oauth2client list:description:end -->
|
|
434
|
-
|
|
435
|
-
<!-- politty:command:oauth2client list:usage:start -->
|
|
436
|
-
|
|
437
226
|
**Usage**
|
|
438
227
|
|
|
439
228
|
```
|
|
440
229
|
tailor-sdk oauth2client list [options]
|
|
441
230
|
```
|
|
442
231
|
|
|
443
|
-
<!-- politty:command:oauth2client list:usage:end -->
|
|
444
|
-
|
|
445
|
-
<!-- politty:command:oauth2client list:options:start -->
|
|
446
|
-
|
|
447
232
|
**Options**
|
|
448
233
|
|
|
449
234
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -454,47 +239,35 @@ tailor-sdk oauth2client list [options]
|
|
|
454
239
|
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
455
240
|
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
456
241
|
|
|
457
|
-
<!-- politty:command:oauth2client list:options:end -->
|
|
458
|
-
|
|
459
|
-
<!-- politty:command:oauth2client list:global-options-link:start -->
|
|
460
|
-
|
|
461
242
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
462
243
|
|
|
463
|
-
|
|
464
|
-
<!-- politty:command:oauth2client get:heading:start -->
|
|
244
|
+
**Output:**
|
|
465
245
|
|
|
466
|
-
|
|
246
|
+
Returns a list of OAuth2 clients with the following fields:
|
|
467
247
|
|
|
468
|
-
|
|
248
|
+
- `name` - Client name
|
|
249
|
+
- `description` - Client description
|
|
250
|
+
- `clientId` - OAuth2 client ID
|
|
251
|
+
- `grantTypes` - Supported grant types (e.g., `authorization_code`, `refresh_token`)
|
|
252
|
+
- `redirectUris` - Registered redirect URIs
|
|
253
|
+
- `createdAt` - Creation timestamp
|
|
469
254
|
|
|
470
|
-
|
|
255
|
+
### oauth2client get
|
|
471
256
|
|
|
472
257
|
Get OAuth2 client credentials (including client secret).
|
|
473
258
|
|
|
474
|
-
<!-- politty:command:oauth2client get:description:end -->
|
|
475
|
-
|
|
476
|
-
<!-- politty:command:oauth2client get:usage:start -->
|
|
477
|
-
|
|
478
259
|
**Usage**
|
|
479
260
|
|
|
480
261
|
```
|
|
481
262
|
tailor-sdk oauth2client get [options] <name>
|
|
482
263
|
```
|
|
483
264
|
|
|
484
|
-
<!-- politty:command:oauth2client get:usage:end -->
|
|
485
|
-
|
|
486
|
-
<!-- politty:command:oauth2client get:arguments:start -->
|
|
487
|
-
|
|
488
265
|
**Arguments**
|
|
489
266
|
|
|
490
267
|
| Argument | Description | Required |
|
|
491
268
|
| -------- | ------------------ | -------- |
|
|
492
269
|
| `name` | OAuth2 client name | Yes |
|
|
493
270
|
|
|
494
|
-
<!-- politty:command:oauth2client get:arguments:end -->
|
|
495
|
-
|
|
496
|
-
<!-- politty:command:oauth2client get:options:start -->
|
|
497
|
-
|
|
498
271
|
**Options**
|
|
499
272
|
|
|
500
273
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -503,25 +276,8 @@ tailor-sdk oauth2client get [options] <name>
|
|
|
503
276
|
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
504
277
|
| `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
|
|
505
278
|
|
|
506
|
-
<!-- politty:command:oauth2client get:options:end -->
|
|
507
|
-
|
|
508
|
-
<!-- politty:command:oauth2client get:global-options-link:start -->
|
|
509
|
-
|
|
510
279
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
511
280
|
|
|
512
|
-
<!-- politty:command:oauth2client get:global-options-link:end -->
|
|
513
|
-
|
|
514
|
-
**Output:**
|
|
515
|
-
|
|
516
|
-
Returns a list of OAuth2 clients with the following fields:
|
|
517
|
-
|
|
518
|
-
- `name` - Client name
|
|
519
|
-
- `description` - Client description
|
|
520
|
-
- `clientId` - OAuth2 client ID
|
|
521
|
-
- `grantTypes` - Supported grant types (e.g., `authorization_code`, `refresh_token`)
|
|
522
|
-
- `redirectUris` - Registered redirect URIs
|
|
523
|
-
- `createdAt` - Creation timestamp
|
|
524
|
-
|
|
525
281
|
**Output:**
|
|
526
282
|
|
|
527
283
|
Returns the OAuth2 client credentials with the following fields:
|
package/docs/cli/completion.md
CHANGED
|
@@ -1,39 +1,21 @@
|
|
|
1
1
|
# Completion
|
|
2
2
|
|
|
3
|
-
<!-- politty:command:completion:heading:start -->
|
|
4
|
-
|
|
5
3
|
## completion
|
|
6
4
|
|
|
7
|
-
<!-- politty:command:completion:heading:end -->
|
|
8
|
-
|
|
9
|
-
<!-- politty:command:completion:description:start -->
|
|
10
|
-
|
|
11
5
|
Generate shell completion script
|
|
12
6
|
|
|
13
|
-
<!-- politty:command:completion:description:end -->
|
|
14
|
-
|
|
15
|
-
<!-- politty:command:completion:usage:start -->
|
|
16
|
-
|
|
17
7
|
**Usage**
|
|
18
8
|
|
|
19
9
|
```
|
|
20
10
|
tailor-sdk completion [options] [shell]
|
|
21
11
|
```
|
|
22
12
|
|
|
23
|
-
<!-- politty:command:completion:usage:end -->
|
|
24
|
-
|
|
25
|
-
<!-- politty:command:completion:arguments:start -->
|
|
26
|
-
|
|
27
13
|
**Arguments**
|
|
28
14
|
|
|
29
15
|
| Argument | Description | Required |
|
|
30
16
|
| -------- | ------------------------------- | -------- |
|
|
31
17
|
| `shell` | Shell type (bash, zsh, or fish) | No |
|
|
32
18
|
|
|
33
|
-
<!-- politty:command:completion:arguments:end -->
|
|
34
|
-
|
|
35
|
-
<!-- politty:command:completion:options:start -->
|
|
36
|
-
|
|
37
19
|
**Options**
|
|
38
20
|
|
|
39
21
|
| Option | Alias | Description | Required | Default |
|
|
@@ -45,10 +27,4 @@ tailor-sdk completion [options] [shell]
|
|
|
45
27
|
| `--dispatcher` | - | Generate the runtime dispatcher completion script. This is the default. | No | `false` |
|
|
46
28
|
| `--worker` | - | Generate an internal static worker artifact for dispatcher mode. | No | `false` |
|
|
47
29
|
|
|
48
|
-
<!-- politty:command:completion:options:end -->
|
|
49
|
-
|
|
50
|
-
<!-- politty:command:completion:global-options-link:start -->
|
|
51
|
-
|
|
52
30
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
53
|
-
|
|
54
|
-
<!-- politty:command:completion:global-options-link:end -->
|
package/docs/cli/crashreport.md
CHANGED
|
@@ -2,38 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Commands for managing crash reports.
|
|
4
4
|
|
|
5
|
-
<!-- politty:command:crashreport:heading:start -->
|
|
6
|
-
|
|
7
5
|
## crashreport
|
|
8
6
|
|
|
9
|
-
<!-- politty:command:crashreport:heading:end -->
|
|
10
|
-
|
|
11
|
-
<!-- politty:command:crashreport:description:start -->
|
|
12
|
-
|
|
13
7
|
Manage crash reports.
|
|
14
8
|
|
|
15
9
|
**Aliases:** `crash-report`
|
|
16
10
|
|
|
17
|
-
<!-- politty:command:crashreport:description:end -->
|
|
18
|
-
|
|
19
|
-
<!-- politty:command:crashreport:usage:start -->
|
|
20
|
-
|
|
21
11
|
**Usage**
|
|
22
12
|
|
|
23
13
|
```
|
|
24
14
|
tailor-sdk crashreport [command]
|
|
25
15
|
```
|
|
26
16
|
|
|
27
|
-
<!-- politty:command:crashreport:usage:end -->
|
|
28
|
-
|
|
29
|
-
<!-- politty:command:crashreport:global-options-link:start -->
|
|
30
|
-
|
|
31
17
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
32
18
|
|
|
33
|
-
<!-- politty:command:crashreport:global-options-link:end -->
|
|
34
|
-
|
|
35
|
-
<!-- politty:command:crashreport:subcommands:start -->
|
|
36
|
-
|
|
37
19
|
**Commands**
|
|
38
20
|
|
|
39
21
|
| Command | Description |
|
|
@@ -41,31 +23,16 @@ See [Global Options](../cli-reference.md#global-options) for options available t
|
|
|
41
23
|
| [`crashreport list`](#crashreport-list) | List local crash report files. |
|
|
42
24
|
| [`crashreport send`](#crashreport-send) | Submit a crash report to help improve the SDK. |
|
|
43
25
|
|
|
44
|
-
<!-- politty:command:crashreport:subcommands:end -->
|
|
45
|
-
<!-- politty:command:crashreport list:heading:start -->
|
|
46
|
-
|
|
47
26
|
### crashreport list
|
|
48
27
|
|
|
49
|
-
<!-- politty:command:crashreport list:heading:end -->
|
|
50
|
-
|
|
51
|
-
<!-- politty:command:crashreport list:description:start -->
|
|
52
|
-
|
|
53
28
|
List local crash report files.
|
|
54
29
|
|
|
55
|
-
<!-- politty:command:crashreport list:description:end -->
|
|
56
|
-
|
|
57
|
-
<!-- politty:command:crashreport list:usage:start -->
|
|
58
|
-
|
|
59
30
|
**Usage**
|
|
60
31
|
|
|
61
32
|
```
|
|
62
33
|
tailor-sdk crashreport list [options]
|
|
63
34
|
```
|
|
64
35
|
|
|
65
|
-
<!-- politty:command:crashreport list:usage:end -->
|
|
66
|
-
|
|
67
|
-
<!-- politty:command:crashreport list:options:start -->
|
|
68
|
-
|
|
69
36
|
**Options**
|
|
70
37
|
|
|
71
38
|
| Option | Alias | Description | Required | Default |
|
|
@@ -73,47 +40,22 @@ tailor-sdk crashreport list [options]
|
|
|
73
40
|
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` |
|
|
74
41
|
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - |
|
|
75
42
|
|
|
76
|
-
<!-- politty:command:crashreport list:options:end -->
|
|
77
|
-
|
|
78
|
-
<!-- politty:command:crashreport list:global-options-link:start -->
|
|
79
|
-
|
|
80
43
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
81
44
|
|
|
82
|
-
<!-- politty:command:crashreport list:global-options-link:end -->
|
|
83
|
-
<!-- politty:command:crashreport send:heading:start -->
|
|
84
|
-
|
|
85
45
|
### crashreport send
|
|
86
46
|
|
|
87
|
-
<!-- politty:command:crashreport send:heading:end -->
|
|
88
|
-
|
|
89
|
-
<!-- politty:command:crashreport send:description:start -->
|
|
90
|
-
|
|
91
47
|
Submit a crash report to help improve the SDK.
|
|
92
48
|
|
|
93
|
-
<!-- politty:command:crashreport send:description:end -->
|
|
94
|
-
|
|
95
|
-
<!-- politty:command:crashreport send:usage:start -->
|
|
96
|
-
|
|
97
49
|
**Usage**
|
|
98
50
|
|
|
99
51
|
```
|
|
100
52
|
tailor-sdk crashreport send [options]
|
|
101
53
|
```
|
|
102
54
|
|
|
103
|
-
<!-- politty:command:crashreport send:usage:end -->
|
|
104
|
-
|
|
105
|
-
<!-- politty:command:crashreport send:options:start -->
|
|
106
|
-
|
|
107
55
|
**Options**
|
|
108
56
|
|
|
109
57
|
| Option | Alias | Description | Required | Default |
|
|
110
58
|
| --------------- | ----- | ----------------------------- | -------- | ------- |
|
|
111
59
|
| `--file <FILE>` | - | Path to the crash report file | Yes | - |
|
|
112
60
|
|
|
113
|
-
<!-- politty:command:crashreport send:options:end -->
|
|
114
|
-
|
|
115
|
-
<!-- politty:command:crashreport send:global-options-link:start -->
|
|
116
|
-
|
|
117
61
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
118
|
-
|
|
119
|
-
<!-- politty:command:crashreport send:global-options-link:end -->
|