@tailor-platform/sdk 1.68.0 → 1.70.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 +105 -0
- package/dist/application-BakHtldG.mjs +4 -0
- package/dist/application-Df5_I83n.mjs +6432 -0
- package/dist/application-Df5_I83n.mjs.map +1 -0
- package/dist/cli/erd-viewer-assets/app.js +279 -36
- package/dist/cli/erd-viewer-assets/index.html +4 -0
- package/dist/cli/erd-viewer-assets/styles.css +252 -5
- package/dist/cli/index.mjs +650 -98
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +247 -160
- package/dist/cli/lib.mjs +3 -3
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/skills.mjs +1 -1
- package/dist/completion/zsh-worker.zsh +175 -24
- package/dist/configure/index.d.mts +5 -5
- package/dist/configure/index.mjs +12 -6
- 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-BAEaAqmz.d.mts} +112 -53
- package/dist/{index-CklcVeMG.d.mts → index-C-vsbx27.d.mts} +2 -2
- package/dist/{index-hXoO-AOC.d.mts → index-CKI0eZP6.d.mts} +2 -2
- package/dist/{index-DYhnxXYR.d.mts → index-CrqOgUF2.d.mts} +2 -2
- package/dist/{index-DlDRSzFZ.d.mts → index-DESLU9kI.d.mts} +2 -2
- 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/enum-constants/index.d.mts +1 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +1 -1
- package/dist/plugin/index.d.mts +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-DxaBq6U8.mjs → runtime-CSY0eD4_.mjs} +411 -221
- package/dist/runtime-CSY0eD4_.mjs.map +1 -0
- package/dist/{schema-1msIhXwA.mjs → schema-C4fkpWV_.mjs} +9 -15
- package/dist/schema-C4fkpWV_.mjs.map +1 -0
- 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-2Be3wSMc.mjs → types-32lUMToj.mjs} +1 -1
- package/dist/{types-CmzfQP_m.mjs → types-D4QMmNWh.mjs} +1 -12
- package/dist/types-D4QMmNWh.mjs.map +1 -0
- package/dist/{types-Bzr0RQME.d.mts → types-Dynq4AJv.d.mts} +2 -2
- package/dist/{types-DZrtN6-H.d.mts → types-rj8YJcEe.d.mts} +5 -2
- 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-DJULCuRr.d.mts} +274 -174
- package/docs/cli/application.md +39 -201
- 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 +2 -166
- 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 +2 -41
- package/docs/cli/skills.md +0 -39
- package/docs/cli/staticwebsite.md +24 -172
- package/docs/cli/tailordb.md +25 -251
- package/docs/cli/upgrade.md +0 -20
- package/docs/cli/user.md +41 -246
- package/docs/cli/workflow.md +30 -189
- package/docs/cli/workspace.md +164 -537
- package/docs/cli-reference.md +61 -37
- package/docs/configuration.md +7 -1
- package/docs/github-actions.md +27 -0
- package/docs/multi-environment.md +22 -0
- package/docs/services/aigateway.md +4 -2
- package/docs/services/http-adapter.md +16 -1
- 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-DxaBq6U8.mjs.map +0 -1
- package/dist/schema-1msIhXwA.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/dist/types-CmzfQP_m.mjs.map +0 -1
package/docs/cli/user.md
CHANGED
|
@@ -2,32 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Commands for authentication and user management.
|
|
4
4
|
|
|
5
|
-
<!-- politty:command:login:heading:start -->
|
|
6
|
-
|
|
7
5
|
## login
|
|
8
6
|
|
|
9
|
-
<!-- politty:command:login:heading:end -->
|
|
10
|
-
|
|
11
|
-
<!-- politty:command:login:description:start -->
|
|
12
|
-
|
|
13
7
|
Login to Tailor Platform.
|
|
14
8
|
|
|
15
|
-
<!-- politty:command:login:description:end -->
|
|
16
|
-
|
|
17
|
-
<!-- politty:command:login:usage:start -->
|
|
18
|
-
|
|
19
9
|
**Usage**
|
|
20
10
|
|
|
21
11
|
```
|
|
22
12
|
tailor-sdk login [options]
|
|
23
13
|
```
|
|
24
14
|
|
|
25
|
-
<!-- politty:command:login:usage:end -->
|
|
26
|
-
|
|
27
|
-
<!-- politty:command:login:options:start -->
|
|
28
|
-
|
|
29
15
|
**Options**
|
|
30
16
|
|
|
17
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
18
|
+
| --------------------- | ----- | ------------------------------------------------------------------- | -------- | ------- | ------------------------- |
|
|
19
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile whose platform settings should be used for login. | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
20
|
+
|
|
31
21
|
> One of the following option groups is required:
|
|
32
22
|
|
|
33
23
|
**User Login:**
|
|
@@ -42,65 +32,37 @@ _no options_
|
|
|
42
32
|
| `--client-id <CLIENT_ID>` | - | Client ID | Yes | - | `TAILOR_PLATFORM_MACHINE_USER_CLIENT_ID` |
|
|
43
33
|
| `--client-secret <CLIENT_SECRET>` | - | Client secret | No | - | `TAILOR_PLATFORM_MACHINE_USER_CLIENT_SECRET` |
|
|
44
34
|
|
|
45
|
-
<!-- politty:command:login:options:end -->
|
|
46
|
-
|
|
47
|
-
<!-- politty:command:login:global-options-link:start -->
|
|
48
|
-
|
|
49
35
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
50
36
|
|
|
51
|
-
<!-- politty:command:login:global-options-link:end -->
|
|
52
|
-
|
|
53
|
-
<!-- politty:command:logout:heading:start -->
|
|
54
|
-
|
|
55
37
|
## logout
|
|
56
38
|
|
|
57
|
-
<!-- politty:command:logout:heading:end -->
|
|
58
|
-
|
|
59
|
-
<!-- politty:command:logout:description:start -->
|
|
60
|
-
|
|
61
39
|
Logout from Tailor Platform.
|
|
62
40
|
|
|
63
|
-
<!-- politty:command:logout:description:end -->
|
|
64
|
-
|
|
65
|
-
<!-- politty:command:logout:usage:start -->
|
|
66
|
-
|
|
67
41
|
**Usage**
|
|
68
42
|
|
|
69
43
|
```
|
|
70
|
-
tailor-sdk logout
|
|
44
|
+
tailor-sdk logout [options]
|
|
71
45
|
```
|
|
72
46
|
|
|
73
|
-
|
|
47
|
+
**Options**
|
|
74
48
|
|
|
75
|
-
|
|
49
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
50
|
+
| --------------------- | ----- | -------------------------------------------------------------------- | -------- | ------- | ------------------------- |
|
|
51
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile whose platform settings should be used for logout. | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
76
52
|
|
|
77
53
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
78
54
|
|
|
79
|
-
<!-- politty:command:logout:global-options-link:end -->
|
|
80
|
-
|
|
81
|
-
<!-- politty:command:user:heading:start -->
|
|
82
|
-
|
|
83
55
|
## user
|
|
84
56
|
|
|
85
|
-
<!-- politty:command:user:heading:end -->
|
|
86
|
-
|
|
87
|
-
<!-- politty:command:user:description:start -->
|
|
88
|
-
|
|
89
57
|
Manage Tailor Platform users.
|
|
90
58
|
|
|
91
|
-
<!-- politty:command:user:description:end -->
|
|
92
|
-
|
|
93
|
-
<!-- politty:command:user:usage:start -->
|
|
94
|
-
|
|
95
59
|
**Usage**
|
|
96
60
|
|
|
97
61
|
```
|
|
98
62
|
tailor-sdk user [command]
|
|
99
63
|
```
|
|
100
64
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
<!-- politty:command:user:subcommands:start -->
|
|
65
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
104
66
|
|
|
105
67
|
**Commands**
|
|
106
68
|
|
|
@@ -111,133 +73,41 @@ tailor-sdk user [command]
|
|
|
111
73
|
| [`user switch`](#user-switch) | Set current user. |
|
|
112
74
|
| [`user pat`](#user-pat) | Manage personal access tokens. |
|
|
113
75
|
|
|
114
|
-
<!-- politty:command:user:subcommands:end -->
|
|
115
|
-
|
|
116
|
-
<!-- politty:command:user:global-options-link:start -->
|
|
117
|
-
|
|
118
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
119
|
-
|
|
120
|
-
<!-- politty:command:user:global-options-link:end -->
|
|
121
|
-
<!-- politty:command:user current:heading:start -->
|
|
122
|
-
|
|
123
76
|
### user current
|
|
124
77
|
|
|
125
|
-
<!-- politty:command:user current:heading:end -->
|
|
126
|
-
|
|
127
|
-
<!-- politty:command:user current:description:start -->
|
|
128
|
-
|
|
129
78
|
Show current user.
|
|
130
79
|
|
|
131
|
-
<!-- politty:command:user current:description:end -->
|
|
132
|
-
|
|
133
|
-
<!-- politty:command:user current:usage:start -->
|
|
134
|
-
|
|
135
80
|
**Usage**
|
|
136
81
|
|
|
137
82
|
```
|
|
138
83
|
tailor-sdk user current
|
|
139
84
|
```
|
|
140
85
|
|
|
141
|
-
<!-- politty:command:user current:usage:end -->
|
|
142
|
-
|
|
143
|
-
<!-- politty:command:user current:global-options-link:start -->
|
|
144
|
-
|
|
145
86
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
146
87
|
|
|
147
|
-
<!-- politty:command:user current:global-options-link:end -->
|
|
148
|
-
<!-- politty:command:user list:heading:start -->
|
|
149
|
-
|
|
150
88
|
### user list
|
|
151
89
|
|
|
152
|
-
<!-- politty:command:user list:heading:end -->
|
|
153
|
-
|
|
154
|
-
<!-- politty:command:user list:description:start -->
|
|
155
|
-
|
|
156
90
|
List all users.
|
|
157
91
|
|
|
158
|
-
<!-- politty:command:user list:description:end -->
|
|
159
|
-
|
|
160
|
-
<!-- politty:command:user list:usage:start -->
|
|
161
|
-
|
|
162
92
|
**Usage**
|
|
163
93
|
|
|
164
94
|
```
|
|
165
95
|
tailor-sdk user list
|
|
166
96
|
```
|
|
167
97
|
|
|
168
|
-
<!-- politty:command:user list:usage:end -->
|
|
169
|
-
|
|
170
|
-
<!-- politty:command:user list:options:start -->
|
|
171
|
-
<!-- politty:command:user list:options:end -->
|
|
172
|
-
|
|
173
|
-
<!-- politty:command:user list:global-options-link:start -->
|
|
174
|
-
|
|
175
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
176
|
-
|
|
177
|
-
<!-- politty:command:user list:global-options-link:end -->
|
|
178
|
-
<!-- politty:command:user switch:heading:start -->
|
|
179
|
-
|
|
180
|
-
### user switch
|
|
181
|
-
|
|
182
|
-
<!-- politty:command:user switch:heading:end -->
|
|
183
|
-
|
|
184
|
-
<!-- politty:command:user switch:description:start -->
|
|
185
|
-
|
|
186
|
-
Set current user.
|
|
187
|
-
|
|
188
|
-
<!-- politty:command:user switch:description:end -->
|
|
189
|
-
|
|
190
|
-
<!-- politty:command:user switch:usage:start -->
|
|
191
|
-
|
|
192
|
-
**Usage**
|
|
193
|
-
|
|
194
|
-
```
|
|
195
|
-
tailor-sdk user switch <user>
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
<!-- politty:command:user switch:usage:end -->
|
|
199
|
-
|
|
200
|
-
<!-- politty:command:user switch:arguments:start -->
|
|
201
|
-
|
|
202
|
-
**Arguments**
|
|
203
|
-
|
|
204
|
-
| Argument | Description | Required |
|
|
205
|
-
| -------- | ----------- | -------- |
|
|
206
|
-
| `user` | User email | Yes |
|
|
207
|
-
|
|
208
|
-
<!-- politty:command:user switch:arguments:end -->
|
|
209
|
-
|
|
210
|
-
<!-- politty:command:user switch:global-options-link:start -->
|
|
211
|
-
|
|
212
98
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
213
99
|
|
|
214
|
-
<!-- politty:command:user switch:global-options-link:end -->
|
|
215
|
-
<!-- politty:command:user pat:heading:start -->
|
|
216
|
-
|
|
217
100
|
### user pat
|
|
218
101
|
|
|
219
|
-
<!-- politty:command:user pat:heading:end -->
|
|
220
|
-
|
|
221
|
-
<!-- politty:command:user pat:description:start -->
|
|
222
|
-
|
|
223
102
|
Manage personal access tokens.
|
|
224
103
|
|
|
225
|
-
<!-- politty:command:user pat:description:end -->
|
|
226
|
-
|
|
227
|
-
<!-- politty:command:user pat:usage:start -->
|
|
228
|
-
|
|
229
104
|
**Usage**
|
|
230
105
|
|
|
231
106
|
```
|
|
232
107
|
tailor-sdk user pat [command]
|
|
233
108
|
```
|
|
234
109
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
<!-- politty:command:user pat:options:start -->
|
|
238
|
-
<!-- politty:command:user pat:options:end -->
|
|
239
|
-
|
|
240
|
-
<!-- politty:command:user pat:subcommands:start -->
|
|
110
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
241
111
|
|
|
242
112
|
**Commands**
|
|
243
113
|
|
|
@@ -248,148 +118,70 @@ tailor-sdk user pat [command]
|
|
|
248
118
|
| [`user pat delete`](#user-pat-delete) | Delete a personal access token. |
|
|
249
119
|
| [`user pat update`](#user-pat-update) | Update a personal access token (delete and recreate). |
|
|
250
120
|
|
|
251
|
-
<!-- politty:command:user pat:subcommands:end -->
|
|
252
|
-
|
|
253
|
-
<!-- politty:command:user pat:global-options-link:start -->
|
|
254
|
-
|
|
255
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
256
|
-
|
|
257
|
-
<!-- politty:command:user pat:global-options-link:end -->
|
|
258
|
-
<!-- politty:command:user pat list:heading:start -->
|
|
259
|
-
|
|
260
|
-
#### user pat list
|
|
261
|
-
|
|
262
|
-
<!-- politty:command:user pat list:heading:end -->
|
|
263
|
-
|
|
264
|
-
<!-- politty:command:user pat list:description:start -->
|
|
265
|
-
|
|
266
|
-
List all personal access tokens.
|
|
267
|
-
|
|
268
|
-
<!-- politty:command:user pat list:description:end -->
|
|
269
|
-
|
|
270
|
-
<!-- politty:command:user pat list:usage:start -->
|
|
271
|
-
|
|
272
|
-
**Usage**
|
|
273
|
-
|
|
274
|
-
```
|
|
275
|
-
tailor-sdk user pat list [options]
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
<!-- politty:command:user pat list:usage:end -->
|
|
279
|
-
|
|
280
|
-
<!-- politty:command:user pat list:options:start -->
|
|
281
|
-
|
|
282
|
-
**Options**
|
|
283
|
-
|
|
284
|
-
| Option | Alias | Description | Required | Default |
|
|
285
|
-
| ----------------- | ----- | -------------------------------------------------------- | -------- | -------- |
|
|
286
|
-
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` |
|
|
287
|
-
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - |
|
|
288
|
-
|
|
289
|
-
<!-- politty:command:user pat list:options:end -->
|
|
290
|
-
|
|
291
|
-
<!-- politty:command:user pat list:global-options-link:start -->
|
|
292
|
-
|
|
293
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
294
|
-
|
|
295
|
-
<!-- politty:command:user pat list:global-options-link:end -->
|
|
296
|
-
<!-- politty:command:user pat create:heading:start -->
|
|
297
|
-
|
|
298
121
|
#### user pat create
|
|
299
122
|
|
|
300
|
-
<!-- politty:command:user pat create:heading:end -->
|
|
301
|
-
|
|
302
|
-
<!-- politty:command:user pat create:description:start -->
|
|
303
|
-
|
|
304
123
|
Create a new personal access token.
|
|
305
124
|
|
|
306
|
-
<!-- politty:command:user pat create:description:end -->
|
|
307
|
-
|
|
308
|
-
<!-- politty:command:user pat create:usage:start -->
|
|
309
|
-
|
|
310
125
|
**Usage**
|
|
311
126
|
|
|
312
127
|
```
|
|
313
128
|
tailor-sdk user pat create [options] <name>
|
|
314
129
|
```
|
|
315
130
|
|
|
316
|
-
<!-- politty:command:user pat create:usage:end -->
|
|
317
|
-
|
|
318
|
-
<!-- politty:command:user pat create:arguments:start -->
|
|
319
|
-
|
|
320
131
|
**Arguments**
|
|
321
132
|
|
|
322
133
|
| Argument | Description | Required |
|
|
323
134
|
| -------- | ----------- | -------- |
|
|
324
135
|
| `name` | Token name | Yes |
|
|
325
136
|
|
|
326
|
-
<!-- politty:command:user pat create:arguments:end -->
|
|
327
|
-
|
|
328
|
-
<!-- politty:command:user pat create:options:start -->
|
|
329
|
-
|
|
330
137
|
**Options**
|
|
331
138
|
|
|
332
139
|
| Option | Alias | Description | Required | Default |
|
|
333
140
|
| --------- | ----- | ------------------------------------------- | -------- | ------- |
|
|
334
141
|
| `--write` | `-W` | Grant write permission (default: read-only) | No | `false` |
|
|
335
142
|
|
|
336
|
-
<!-- politty:command:user pat create:options:end -->
|
|
337
|
-
|
|
338
|
-
<!-- politty:command:user pat create:global-options-link:start -->
|
|
339
|
-
|
|
340
143
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
341
144
|
|
|
342
|
-
<!-- politty:command:user pat create:global-options-link:end -->
|
|
343
|
-
<!-- politty:command:user pat delete:heading:start -->
|
|
344
|
-
|
|
345
145
|
#### user pat delete
|
|
346
146
|
|
|
347
|
-
<!-- politty:command:user pat delete:heading:end -->
|
|
348
|
-
|
|
349
|
-
<!-- politty:command:user pat delete:description:start -->
|
|
350
|
-
|
|
351
147
|
Delete a personal access token.
|
|
352
148
|
|
|
353
|
-
<!-- politty:command:user pat delete:description:end -->
|
|
354
|
-
|
|
355
|
-
<!-- politty:command:user pat delete:usage:start -->
|
|
356
|
-
|
|
357
149
|
**Usage**
|
|
358
150
|
|
|
359
151
|
```
|
|
360
152
|
tailor-sdk user pat delete <name>
|
|
361
153
|
```
|
|
362
154
|
|
|
363
|
-
<!-- politty:command:user pat delete:usage:end -->
|
|
364
|
-
|
|
365
|
-
<!-- politty:command:user pat delete:arguments:start -->
|
|
366
|
-
|
|
367
155
|
**Arguments**
|
|
368
156
|
|
|
369
157
|
| Argument | Description | Required |
|
|
370
158
|
| -------- | ----------- | -------- |
|
|
371
159
|
| `name` | Token name | Yes |
|
|
372
160
|
|
|
373
|
-
|
|
161
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
374
162
|
|
|
375
|
-
|
|
163
|
+
#### user pat list
|
|
376
164
|
|
|
377
|
-
|
|
165
|
+
List all personal access tokens.
|
|
378
166
|
|
|
379
|
-
|
|
380
|
-
<!-- politty:command:user pat update:heading:start -->
|
|
167
|
+
**Usage**
|
|
381
168
|
|
|
382
|
-
|
|
169
|
+
```
|
|
170
|
+
tailor-sdk user pat list [options]
|
|
171
|
+
```
|
|
383
172
|
|
|
384
|
-
|
|
173
|
+
**Options**
|
|
385
174
|
|
|
386
|
-
|
|
175
|
+
| Option | Alias | Description | Required | Default |
|
|
176
|
+
| ----------------- | ----- | -------------------------------------------------------- | -------- | -------- |
|
|
177
|
+
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` |
|
|
178
|
+
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - |
|
|
387
179
|
|
|
388
|
-
|
|
180
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
389
181
|
|
|
390
|
-
|
|
182
|
+
#### user pat update
|
|
391
183
|
|
|
392
|
-
|
|
184
|
+
Update a personal access token (delete and recreate).
|
|
393
185
|
|
|
394
186
|
**Usage**
|
|
395
187
|
|
|
@@ -397,34 +189,37 @@ Update a personal access token (delete and recreate).
|
|
|
397
189
|
tailor-sdk user pat update [options] <name>
|
|
398
190
|
```
|
|
399
191
|
|
|
400
|
-
<!-- politty:command:user pat update:usage:end -->
|
|
401
|
-
|
|
402
|
-
<!-- politty:command:user pat update:arguments:start -->
|
|
403
|
-
|
|
404
192
|
**Arguments**
|
|
405
193
|
|
|
406
194
|
| Argument | Description | Required |
|
|
407
195
|
| -------- | ----------- | -------- |
|
|
408
196
|
| `name` | Token name | Yes |
|
|
409
197
|
|
|
410
|
-
<!-- politty:command:user pat update:arguments:end -->
|
|
411
|
-
|
|
412
|
-
<!-- politty:command:user pat update:options:start -->
|
|
413
|
-
|
|
414
198
|
**Options**
|
|
415
199
|
|
|
416
200
|
| Option | Alias | Description | Required | Default |
|
|
417
201
|
| --------- | ----- | ---------------------------------------------------------- | -------- | ------- |
|
|
418
202
|
| `--write` | `-W` | Grant write permission (if not specified, keeps read-only) | No | `false` |
|
|
419
203
|
|
|
420
|
-
|
|
204
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
205
|
+
|
|
206
|
+
### user switch
|
|
421
207
|
|
|
422
|
-
|
|
208
|
+
Set current user.
|
|
423
209
|
|
|
424
|
-
|
|
210
|
+
**Usage**
|
|
425
211
|
|
|
426
|
-
|
|
212
|
+
```
|
|
213
|
+
tailor-sdk user switch <user>
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
**Arguments**
|
|
427
217
|
|
|
218
|
+
| Argument | Description | Required |
|
|
219
|
+
| -------- | ----------- | -------- |
|
|
220
|
+
| `user` | User email | Yes |
|
|
221
|
+
|
|
222
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
428
223
|
When no subcommand is provided, defaults to `list`.
|
|
429
224
|
|
|
430
225
|
**Output (default):**
|