@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/workspace.md
CHANGED
|
@@ -2,29 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Commands for managing workspaces and profiles.
|
|
4
4
|
|
|
5
|
-
<!-- politty:command:workspace:heading:start -->
|
|
6
|
-
|
|
7
5
|
## workspace
|
|
8
6
|
|
|
9
|
-
<!-- politty:command:workspace:heading:end -->
|
|
10
|
-
|
|
11
|
-
<!-- politty:command:workspace:description:start -->
|
|
12
|
-
|
|
13
7
|
Manage Tailor Platform workspaces.
|
|
14
8
|
|
|
15
|
-
<!-- politty:command:workspace:description:end -->
|
|
16
|
-
|
|
17
|
-
<!-- politty:command:workspace:usage:start -->
|
|
18
|
-
|
|
19
9
|
**Usage**
|
|
20
10
|
|
|
21
11
|
```
|
|
22
12
|
tailor-sdk workspace [command]
|
|
23
13
|
```
|
|
24
14
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<!-- politty:command:workspace:subcommands:start -->
|
|
15
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
28
16
|
|
|
29
17
|
**Commands**
|
|
30
18
|
|
|
@@ -38,446 +26,219 @@ tailor-sdk workspace [command]
|
|
|
38
26
|
| [`workspace restore`](#workspace-restore) | Restore a deleted workspace |
|
|
39
27
|
| [`workspace user`](#workspace-user) | Manage workspace users |
|
|
40
28
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<!-- politty:command:workspace:global-options-link:start -->
|
|
44
|
-
|
|
45
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
46
|
-
|
|
47
|
-
<!-- politty:command:workspace:global-options-link:end -->
|
|
48
|
-
<!-- politty:command:workspace create:heading:start -->
|
|
49
|
-
|
|
50
|
-
### workspace create
|
|
51
|
-
|
|
52
|
-
<!-- politty:command:workspace create:heading:end -->
|
|
53
|
-
|
|
54
|
-
<!-- politty:command:workspace create:description:start -->
|
|
55
|
-
|
|
56
|
-
Create a new Tailor Platform workspace.
|
|
57
|
-
|
|
58
|
-
<!-- politty:command:workspace create:description:end -->
|
|
29
|
+
### workspace app
|
|
59
30
|
|
|
60
|
-
|
|
31
|
+
Manage workspace applications
|
|
61
32
|
|
|
62
33
|
**Usage**
|
|
63
34
|
|
|
64
35
|
```
|
|
65
|
-
tailor-sdk workspace
|
|
36
|
+
tailor-sdk workspace app [command]
|
|
66
37
|
```
|
|
67
38
|
|
|
68
|
-
<!-- politty:command:workspace create:usage:end -->
|
|
69
|
-
|
|
70
|
-
<!-- politty:command:workspace create:options:start -->
|
|
71
|
-
|
|
72
|
-
**Options**
|
|
73
|
-
|
|
74
|
-
| Option | Alias | Description | Required | Default | Env |
|
|
75
|
-
| ------------------------------------- | ----- | ----------------------------------------------------------------------------------------------------------- | -------- | --------- | --------------------------------- |
|
|
76
|
-
| `--name <NAME>` | `-n` | Workspace name | Yes | - | - |
|
|
77
|
-
| `--region <REGION>` | `-r` | Workspace region (us-west, asia-northeast) | Yes | - | - |
|
|
78
|
-
| `--delete-protection` | `-d` | Enable delete protection | No | `false` | - |
|
|
79
|
-
| `--organization-id <ORGANIZATION_ID>` | `-o` | Organization ID to workspace associate with | No | - | `TAILOR_PLATFORM_ORGANIZATION_ID` |
|
|
80
|
-
| `--folder-id <FOLDER_ID>` | `-f` | Folder ID to workspace associate with | No | - | `TAILOR_PLATFORM_FOLDER_ID` |
|
|
81
|
-
| `--profile-name <PROFILE_NAME>` | `-p` | Profile name to create | No | - | - |
|
|
82
|
-
| `--profile-user <PROFILE_USER>` | - | User email for the profile (defaults to current user) | No | - | - |
|
|
83
|
-
| `--permission <PERMISSION>` | - | Profile permission (requires --profile-name). 'read' blocks all write commands while the profile is active. | No | `"write"` | - |
|
|
84
|
-
|
|
85
|
-
<!-- politty:command:workspace create:options:end -->
|
|
86
|
-
|
|
87
|
-
<!-- politty:command:workspace create:global-options-link:start -->
|
|
88
|
-
|
|
89
39
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
90
40
|
|
|
91
|
-
|
|
92
|
-
<!-- politty:command:workspace list:heading:start -->
|
|
93
|
-
|
|
94
|
-
### workspace list
|
|
95
|
-
|
|
96
|
-
<!-- politty:command:workspace list:heading:end -->
|
|
97
|
-
|
|
98
|
-
<!-- politty:command:workspace list:description:start -->
|
|
41
|
+
**Commands**
|
|
99
42
|
|
|
100
|
-
|
|
43
|
+
| Command | Description |
|
|
44
|
+
| ----------------------------------------------- | -------------------------------- |
|
|
45
|
+
| [`workspace app health`](#workspace-app-health) | Check application schema health |
|
|
46
|
+
| [`workspace app list`](#workspace-app-list) | List applications in a workspace |
|
|
101
47
|
|
|
102
|
-
|
|
48
|
+
#### workspace app health
|
|
103
49
|
|
|
104
|
-
|
|
50
|
+
Check application schema health
|
|
105
51
|
|
|
106
52
|
**Usage**
|
|
107
53
|
|
|
108
54
|
```
|
|
109
|
-
tailor-sdk workspace
|
|
55
|
+
tailor-sdk workspace app health [options]
|
|
110
56
|
```
|
|
111
57
|
|
|
112
|
-
<!-- politty:command:workspace list:usage:end -->
|
|
113
|
-
|
|
114
|
-
<!-- politty:command:workspace list:options:start -->
|
|
115
|
-
|
|
116
58
|
**Options**
|
|
117
59
|
|
|
118
|
-
| Option
|
|
119
|
-
|
|
|
120
|
-
| `--
|
|
121
|
-
| `--
|
|
122
|
-
|
|
123
|
-
<!-- politty:command:workspace list:options:end -->
|
|
124
|
-
|
|
125
|
-
<!-- politty:command:workspace list:global-options-link:start -->
|
|
60
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
61
|
+
| ------------------------------- | ----- | ----------------- | -------- | ------- | ------------------------------ |
|
|
62
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
63
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
64
|
+
| `--name <NAME>` | `-n` | Application name | Yes | - | - |
|
|
126
65
|
|
|
127
66
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
128
67
|
|
|
129
|
-
|
|
130
|
-
<!-- politty:command:workspace delete:heading:start -->
|
|
131
|
-
|
|
132
|
-
### workspace delete
|
|
133
|
-
|
|
134
|
-
<!-- politty:command:workspace delete:heading:end -->
|
|
135
|
-
|
|
136
|
-
<!-- politty:command:workspace delete:description:start -->
|
|
137
|
-
|
|
138
|
-
Delete a Tailor Platform workspace.
|
|
139
|
-
|
|
140
|
-
<!-- politty:command:workspace delete:description:end -->
|
|
68
|
+
#### workspace app list
|
|
141
69
|
|
|
142
|
-
|
|
70
|
+
List applications in a workspace
|
|
143
71
|
|
|
144
72
|
**Usage**
|
|
145
73
|
|
|
146
74
|
```
|
|
147
|
-
tailor-sdk workspace
|
|
75
|
+
tailor-sdk workspace app list [options]
|
|
148
76
|
```
|
|
149
77
|
|
|
150
|
-
<!-- politty:command:workspace delete:usage:end -->
|
|
151
|
-
|
|
152
|
-
<!-- politty:command:workspace delete:options:start -->
|
|
153
|
-
|
|
154
78
|
**Options**
|
|
155
79
|
|
|
156
|
-
| Option | Alias | Description
|
|
157
|
-
| ------------------------------- | ----- |
|
|
158
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID
|
|
159
|
-
| `--
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
<!-- politty:command:workspace delete:global-options-link:start -->
|
|
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
|
+
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
85
|
+
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
164
86
|
|
|
165
87
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
166
88
|
|
|
167
|
-
|
|
168
|
-
<!-- politty:command:profile:heading:start -->
|
|
169
|
-
|
|
170
|
-
## profile
|
|
171
|
-
|
|
172
|
-
<!-- politty:command:profile:heading:end -->
|
|
173
|
-
|
|
174
|
-
<!-- politty:command:profile:description:start -->
|
|
175
|
-
|
|
176
|
-
Manage workspace profiles (user + workspace combinations).
|
|
177
|
-
|
|
178
|
-
<!-- politty:command:profile:description:end -->
|
|
89
|
+
### workspace create
|
|
179
90
|
|
|
180
|
-
|
|
91
|
+
Create a new Tailor Platform workspace.
|
|
181
92
|
|
|
182
93
|
**Usage**
|
|
183
94
|
|
|
184
95
|
```
|
|
185
|
-
tailor-sdk
|
|
96
|
+
tailor-sdk workspace create [options]
|
|
186
97
|
```
|
|
187
98
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
<!-- politty:command:profile:subcommands:start -->
|
|
191
|
-
|
|
192
|
-
**Commands**
|
|
193
|
-
|
|
194
|
-
| Command | Description |
|
|
195
|
-
| ----------------------------------- | -------------------------- |
|
|
196
|
-
| [`profile create`](#profile-create) | Create a new profile. |
|
|
197
|
-
| [`profile delete`](#profile-delete) | Delete a profile. |
|
|
198
|
-
| [`profile list`](#profile-list) | List all profiles. |
|
|
199
|
-
| [`profile update`](#profile-update) | Update profile properties. |
|
|
200
|
-
|
|
201
|
-
<!-- politty:command:profile:subcommands:end -->
|
|
99
|
+
**Options**
|
|
202
100
|
|
|
203
|
-
|
|
101
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
102
|
+
| ------------------------------------- | ----- | ----------------------------------------------------------------------------------------------------------- | -------- | --------- | --------------------------------- |
|
|
103
|
+
| `--name <NAME>` | `-n` | Workspace name | Yes | - | - |
|
|
104
|
+
| `--region <REGION>` | `-r` | Workspace region (us-west, asia-northeast) | Yes | - | - |
|
|
105
|
+
| `--delete-protection` | `-d` | Enable delete protection | No | `false` | - |
|
|
106
|
+
| `--organization-id <ORGANIZATION_ID>` | `-o` | Organization ID to workspace associate with | No | - | `TAILOR_PLATFORM_ORGANIZATION_ID` |
|
|
107
|
+
| `--folder-id <FOLDER_ID>` | `-f` | Folder ID to workspace associate with | No | - | `TAILOR_PLATFORM_FOLDER_ID` |
|
|
108
|
+
| `--profile-name <PROFILE_NAME>` | `-p` | Profile name to create | No | - | - |
|
|
109
|
+
| `--profile-user <PROFILE_USER>` | - | User email for the profile (defaults to current user) | No | - | - |
|
|
110
|
+
| `--permission <PERMISSION>` | - | Profile permission (requires --profile-name). 'read' blocks all write commands while the profile is active. | No | `"write"` | - |
|
|
204
111
|
|
|
205
112
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
206
113
|
|
|
207
|
-
|
|
208
|
-
<!-- politty:command:profile create:heading:start -->
|
|
209
|
-
|
|
210
|
-
### profile create
|
|
211
|
-
|
|
212
|
-
<!-- politty:command:profile create:heading:end -->
|
|
213
|
-
|
|
214
|
-
<!-- politty:command:profile create:description:start -->
|
|
215
|
-
|
|
216
|
-
Create a new profile.
|
|
217
|
-
|
|
218
|
-
<!-- politty:command:profile create:description:end -->
|
|
114
|
+
### workspace delete
|
|
219
115
|
|
|
220
|
-
|
|
116
|
+
Delete a Tailor Platform workspace.
|
|
221
117
|
|
|
222
118
|
**Usage**
|
|
223
119
|
|
|
224
120
|
```
|
|
225
|
-
tailor-sdk
|
|
121
|
+
tailor-sdk workspace delete [options]
|
|
226
122
|
```
|
|
227
123
|
|
|
228
|
-
<!-- politty:command:profile create:usage:end -->
|
|
229
|
-
|
|
230
|
-
<!-- politty:command:profile create:arguments:start -->
|
|
231
|
-
|
|
232
|
-
**Arguments**
|
|
233
|
-
|
|
234
|
-
| Argument | Description | Required |
|
|
235
|
-
| -------- | ------------ | -------- |
|
|
236
|
-
| `name` | Profile name | Yes |
|
|
237
|
-
|
|
238
|
-
<!-- politty:command:profile create:arguments:end -->
|
|
239
|
-
|
|
240
|
-
<!-- politty:command:profile create:options:start -->
|
|
241
|
-
|
|
242
124
|
**Options**
|
|
243
125
|
|
|
244
|
-
| Option
|
|
245
|
-
|
|
|
246
|
-
| `--
|
|
247
|
-
| `--
|
|
248
|
-
| `--permission <PERMISSION>` | - | Profile permission. 'read' blocks all write commands while the profile is active. | No | `"write"` |
|
|
249
|
-
| `--machine-user <MACHINE_USER>` | `-m` | Default machine user name for application-data commands (query, workflow start, function test-run, machineuser token). | No | - |
|
|
250
|
-
| `--machine-user-override <MACHINE_USER_OVERRIDE>` | - | Whether the command line or TAILOR_PLATFORM_MACHINE_USER_NAME may override the profile's machine user. 'deny' requires --machine-user. | No | - |
|
|
251
|
-
|
|
252
|
-
<!-- politty:command:profile create:options:end -->
|
|
253
|
-
|
|
254
|
-
<!-- politty:command:profile create:global-options-link:start -->
|
|
126
|
+
| Option | Alias | Description | Required | Default |
|
|
127
|
+
| ------------------------------- | ----- | ------------------------- | -------- | ------- |
|
|
128
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
|
|
129
|
+
| `--yes` | `-y` | Skip confirmation prompts | No | `false` |
|
|
255
130
|
|
|
256
131
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
257
132
|
|
|
258
|
-
|
|
259
|
-
<!-- politty:command:profile list:heading:start -->
|
|
260
|
-
|
|
261
|
-
### profile list
|
|
262
|
-
|
|
263
|
-
<!-- politty:command:profile list:heading:end -->
|
|
264
|
-
|
|
265
|
-
<!-- politty:command:profile list:description:start -->
|
|
266
|
-
|
|
267
|
-
List all profiles.
|
|
268
|
-
|
|
269
|
-
<!-- politty:command:profile list:description:end -->
|
|
133
|
+
### workspace get
|
|
270
134
|
|
|
271
|
-
|
|
135
|
+
Show detailed information about a workspace
|
|
272
136
|
|
|
273
137
|
**Usage**
|
|
274
138
|
|
|
275
139
|
```
|
|
276
|
-
tailor-sdk
|
|
140
|
+
tailor-sdk workspace get [options]
|
|
277
141
|
```
|
|
278
142
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
<!-- politty:command:profile list:options:start -->
|
|
282
|
-
<!-- politty:command:profile list:options:end -->
|
|
143
|
+
**Options**
|
|
283
144
|
|
|
284
|
-
|
|
145
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
146
|
+
| ------------------------------- | ----- | ----------------- | -------- | ------- | ------------------------------ |
|
|
147
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
148
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
285
149
|
|
|
286
150
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
287
151
|
|
|
288
|
-
|
|
289
|
-
<!-- politty:command:profile update:heading:start -->
|
|
290
|
-
|
|
291
|
-
### profile update
|
|
292
|
-
|
|
293
|
-
<!-- politty:command:profile update:heading:end -->
|
|
294
|
-
|
|
295
|
-
<!-- politty:command:profile update:description:start -->
|
|
296
|
-
|
|
297
|
-
Update profile properties.
|
|
298
|
-
|
|
299
|
-
<!-- politty:command:profile update:description:end -->
|
|
152
|
+
### workspace list
|
|
300
153
|
|
|
301
|
-
|
|
154
|
+
List all Tailor Platform workspaces.
|
|
302
155
|
|
|
303
156
|
**Usage**
|
|
304
157
|
|
|
305
158
|
```
|
|
306
|
-
tailor-sdk
|
|
159
|
+
tailor-sdk workspace list [options]
|
|
307
160
|
```
|
|
308
161
|
|
|
309
|
-
<!-- politty:command:profile update:usage:end -->
|
|
310
|
-
|
|
311
|
-
<!-- politty:command:profile update:arguments:start -->
|
|
312
|
-
|
|
313
|
-
**Arguments**
|
|
314
|
-
|
|
315
|
-
| Argument | Description | Required |
|
|
316
|
-
| -------- | ------------ | -------- |
|
|
317
|
-
| `name` | Profile name | Yes |
|
|
318
|
-
|
|
319
|
-
<!-- politty:command:profile update:arguments:end -->
|
|
320
|
-
|
|
321
|
-
<!-- politty:command:profile update:options:start -->
|
|
322
|
-
|
|
323
162
|
**Options**
|
|
324
163
|
|
|
325
|
-
| Option
|
|
326
|
-
|
|
|
327
|
-
| `--
|
|
328
|
-
| `--
|
|
329
|
-
| `--permission <PERMISSION>` | - | Profile permission. 'read' blocks all write commands; 'write' lifts the restriction. | No | - |
|
|
330
|
-
| `--machine-user <MACHINE_USER>` | `-m` | Default machine user name for application-data commands (query, workflow start, function test-run, machineuser token). Pass an empty string to clear. | No | - |
|
|
331
|
-
| `--machine-user-override <MACHINE_USER_OVERRIDE>` | - | Whether the command line or TAILOR_PLATFORM_MACHINE_USER_NAME may override the profile's machine user. 'deny' requires --machine-user; 'allow' lifts the restriction. | No | - |
|
|
332
|
-
|
|
333
|
-
<!-- politty:command:profile update:options:end -->
|
|
334
|
-
|
|
335
|
-
<!-- politty:command:profile update:global-options-link:start -->
|
|
164
|
+
| Option | Alias | Description | Required | Default |
|
|
165
|
+
| ----------------- | ----- | -------------------------------------------------------- | -------- | -------- |
|
|
166
|
+
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` |
|
|
167
|
+
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - |
|
|
336
168
|
|
|
337
169
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
338
170
|
|
|
339
|
-
|
|
340
|
-
<!-- politty:command:profile delete:heading:start -->
|
|
341
|
-
|
|
342
|
-
### profile delete
|
|
343
|
-
|
|
344
|
-
<!-- politty:command:profile delete:heading:end -->
|
|
345
|
-
|
|
346
|
-
<!-- politty:command:profile delete:description:start -->
|
|
347
|
-
|
|
348
|
-
Delete a profile.
|
|
349
|
-
|
|
350
|
-
<!-- politty:command:profile delete:description:end -->
|
|
171
|
+
### workspace restore
|
|
351
172
|
|
|
352
|
-
|
|
173
|
+
Restore a deleted workspace
|
|
353
174
|
|
|
354
175
|
**Usage**
|
|
355
176
|
|
|
356
177
|
```
|
|
357
|
-
tailor-sdk
|
|
178
|
+
tailor-sdk workspace restore [options]
|
|
358
179
|
```
|
|
359
180
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
<!-- politty:command:profile delete:arguments:start -->
|
|
363
|
-
|
|
364
|
-
**Arguments**
|
|
365
|
-
|
|
366
|
-
| Argument | Description | Required |
|
|
367
|
-
| -------- | ------------ | -------- |
|
|
368
|
-
| `name` | Profile name | Yes |
|
|
369
|
-
|
|
370
|
-
<!-- politty:command:profile delete:arguments:end -->
|
|
181
|
+
**Options**
|
|
371
182
|
|
|
372
|
-
|
|
183
|
+
| Option | Alias | Description | Required | Default |
|
|
184
|
+
| ------------------------------- | ----- | ------------------------- | -------- | ------- |
|
|
185
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
|
|
186
|
+
| `--yes` | `-y` | Skip confirmation prompts | No | `false` |
|
|
373
187
|
|
|
374
188
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
375
189
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
<!-- politty:command:workspace app:heading:start -->
|
|
379
|
-
|
|
380
|
-
### workspace app
|
|
381
|
-
|
|
382
|
-
<!-- politty:command:workspace app:heading:end -->
|
|
383
|
-
|
|
384
|
-
<!-- politty:command:workspace app:description:start -->
|
|
385
|
-
|
|
386
|
-
Manage workspace applications
|
|
387
|
-
|
|
388
|
-
<!-- politty:command:workspace app:description:end -->
|
|
190
|
+
### workspace user
|
|
389
191
|
|
|
390
|
-
|
|
192
|
+
Manage workspace users
|
|
391
193
|
|
|
392
194
|
**Usage**
|
|
393
195
|
|
|
394
196
|
```
|
|
395
|
-
tailor-sdk workspace
|
|
197
|
+
tailor-sdk workspace user [command]
|
|
396
198
|
```
|
|
397
199
|
|
|
398
|
-
<!-- politty:command:workspace app:usage:end -->
|
|
399
|
-
|
|
400
|
-
<!-- politty:command:workspace app:subcommands:start -->
|
|
401
|
-
|
|
402
|
-
**Commands**
|
|
403
|
-
|
|
404
|
-
| Command | Description |
|
|
405
|
-
| ----------------------------------------------- | -------------------------------- |
|
|
406
|
-
| [`workspace app health`](#workspace-app-health) | Check application schema health |
|
|
407
|
-
| [`workspace app list`](#workspace-app-list) | List applications in a workspace |
|
|
408
|
-
|
|
409
|
-
<!-- politty:command:workspace app:subcommands:end -->
|
|
410
|
-
|
|
411
|
-
<!-- politty:command:workspace app:global-options-link:start -->
|
|
412
|
-
|
|
413
200
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
414
201
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
<!-- politty:command:workspace app health:heading:start -->
|
|
418
|
-
|
|
419
|
-
#### workspace app health
|
|
420
|
-
|
|
421
|
-
<!-- politty:command:workspace app health:heading:end -->
|
|
422
|
-
|
|
423
|
-
<!-- politty:command:workspace app health:description:start -->
|
|
202
|
+
**Commands**
|
|
424
203
|
|
|
425
|
-
|
|
204
|
+
| Command | Description |
|
|
205
|
+
| ------------------------------------------------- | ----------------------------------- |
|
|
206
|
+
| [`workspace user invite`](#workspace-user-invite) | Invite a user to a workspace |
|
|
207
|
+
| [`workspace user list`](#workspace-user-list) | List users in a workspace |
|
|
208
|
+
| [`workspace user remove`](#workspace-user-remove) | Remove a user from a workspace |
|
|
209
|
+
| [`workspace user update`](#workspace-user-update) | Update a user's role in a workspace |
|
|
426
210
|
|
|
427
|
-
|
|
211
|
+
#### workspace user invite
|
|
428
212
|
|
|
429
|
-
|
|
213
|
+
Invite a user to a workspace
|
|
430
214
|
|
|
431
215
|
**Usage**
|
|
432
216
|
|
|
433
217
|
```
|
|
434
|
-
tailor-sdk workspace
|
|
218
|
+
tailor-sdk workspace user invite [options]
|
|
435
219
|
```
|
|
436
220
|
|
|
437
|
-
<!-- politty:command:workspace app health:usage:end -->
|
|
438
|
-
|
|
439
|
-
<!-- politty:command:workspace app health:options:start -->
|
|
440
|
-
|
|
441
221
|
**Options**
|
|
442
222
|
|
|
443
|
-
| Option | Alias | Description
|
|
444
|
-
| ------------------------------- | ----- |
|
|
445
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID
|
|
446
|
-
| `--profile <PROFILE>` | `-p` | Workspace profile
|
|
447
|
-
| `--
|
|
448
|
-
|
|
449
|
-
<!-- politty:command:workspace app health:options:end -->
|
|
450
|
-
|
|
451
|
-
<!-- politty:command:workspace app health:global-options-link:start -->
|
|
223
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
224
|
+
| ------------------------------- | ----- | -------------------------------------- | -------- | ------- | ------------------------------ |
|
|
225
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
226
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
227
|
+
| `--email <EMAIL>` | - | Email address of the user to invite | Yes | - | - |
|
|
228
|
+
| `--role <ROLE>` | `-r` | Role to assign (admin, editor, viewer) | Yes | - | - |
|
|
452
229
|
|
|
453
230
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
454
231
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
<!-- politty:command:workspace app list:heading:start -->
|
|
458
|
-
|
|
459
|
-
#### workspace app list
|
|
460
|
-
|
|
461
|
-
<!-- politty:command:workspace app list:heading:end -->
|
|
462
|
-
|
|
463
|
-
<!-- politty:command:workspace app list:description:start -->
|
|
464
|
-
|
|
465
|
-
List applications in a workspace
|
|
466
|
-
|
|
467
|
-
<!-- politty:command:workspace app list:description:end -->
|
|
232
|
+
#### workspace user list
|
|
468
233
|
|
|
469
|
-
|
|
234
|
+
List users in a workspace
|
|
470
235
|
|
|
471
236
|
**Usage**
|
|
472
237
|
|
|
473
238
|
```
|
|
474
|
-
tailor-sdk workspace
|
|
239
|
+
tailor-sdk workspace user list [options]
|
|
475
240
|
```
|
|
476
241
|
|
|
477
|
-
<!-- politty:command:workspace app list:usage:end -->
|
|
478
|
-
|
|
479
|
-
<!-- politty:command:workspace app list:options:start -->
|
|
480
|
-
|
|
481
242
|
**Options**
|
|
482
243
|
|
|
483
244
|
| Option | Alias | Description | Required | Default | Env |
|
|
@@ -487,293 +248,159 @@ tailor-sdk workspace app list [options]
|
|
|
487
248
|
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
488
249
|
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
489
250
|
|
|
490
|
-
<!-- politty:command:workspace app list:options:end -->
|
|
491
|
-
|
|
492
|
-
<!-- politty:command:workspace app list:global-options-link:start -->
|
|
493
|
-
|
|
494
251
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
495
252
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
<!-- politty:command:workspace get:heading:start -->
|
|
499
|
-
|
|
500
|
-
### workspace get
|
|
501
|
-
|
|
502
|
-
<!-- politty:command:workspace get:heading:end -->
|
|
503
|
-
|
|
504
|
-
<!-- politty:command:workspace get:description:start -->
|
|
505
|
-
|
|
506
|
-
Show detailed information about a workspace
|
|
507
|
-
|
|
508
|
-
<!-- politty:command:workspace get:description:end -->
|
|
253
|
+
#### workspace user remove
|
|
509
254
|
|
|
510
|
-
|
|
255
|
+
Remove a user from a workspace
|
|
511
256
|
|
|
512
257
|
**Usage**
|
|
513
258
|
|
|
514
259
|
```
|
|
515
|
-
tailor-sdk workspace
|
|
260
|
+
tailor-sdk workspace user remove [options]
|
|
516
261
|
```
|
|
517
262
|
|
|
518
|
-
<!-- politty:command:workspace get:usage:end -->
|
|
519
|
-
|
|
520
|
-
<!-- politty:command:workspace get:options:start -->
|
|
521
|
-
|
|
522
263
|
**Options**
|
|
523
264
|
|
|
524
|
-
| Option | Alias | Description
|
|
525
|
-
| ------------------------------- | ----- |
|
|
526
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID
|
|
527
|
-
| `--profile <PROFILE>` | `-p` | Workspace profile
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
<!-- politty:command:workspace get:global-options-link:start -->
|
|
265
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
266
|
+
| ------------------------------- | ----- | ----------------------------------- | -------- | ------- | ------------------------------ |
|
|
267
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
268
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
269
|
+
| `--email <EMAIL>` | - | Email address of the user to remove | Yes | - | - |
|
|
270
|
+
| `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
|
|
532
271
|
|
|
533
272
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
534
273
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
<!-- politty:command:workspace restore:heading:start -->
|
|
538
|
-
|
|
539
|
-
### workspace restore
|
|
540
|
-
|
|
541
|
-
<!-- politty:command:workspace restore:heading:end -->
|
|
542
|
-
|
|
543
|
-
<!-- politty:command:workspace restore:description:start -->
|
|
544
|
-
|
|
545
|
-
Restore a deleted workspace
|
|
546
|
-
|
|
547
|
-
<!-- politty:command:workspace restore:description:end -->
|
|
274
|
+
#### workspace user update
|
|
548
275
|
|
|
549
|
-
|
|
276
|
+
Update a user's role in a workspace
|
|
550
277
|
|
|
551
278
|
**Usage**
|
|
552
279
|
|
|
553
280
|
```
|
|
554
|
-
tailor-sdk workspace
|
|
281
|
+
tailor-sdk workspace user update [options]
|
|
555
282
|
```
|
|
556
283
|
|
|
557
|
-
<!-- politty:command:workspace restore:usage:end -->
|
|
558
|
-
|
|
559
|
-
<!-- politty:command:workspace restore:options:start -->
|
|
560
|
-
|
|
561
284
|
**Options**
|
|
562
285
|
|
|
563
|
-
| Option | Alias | Description
|
|
564
|
-
| ------------------------------- | ----- |
|
|
565
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID
|
|
566
|
-
| `--
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
<!-- politty:command:workspace restore:global-options-link:start -->
|
|
286
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
287
|
+
| ------------------------------- | ----- | ------------------------------------------ | -------- | ------- | ------------------------------ |
|
|
288
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
289
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
290
|
+
| `--email <EMAIL>` | - | Email address of the user to update | Yes | - | - |
|
|
291
|
+
| `--role <ROLE>` | `-r` | New role to assign (admin, editor, viewer) | Yes | - | - |
|
|
571
292
|
|
|
572
293
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
573
294
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
<!-- politty:command:workspace user:heading:start -->
|
|
577
|
-
|
|
578
|
-
### workspace user
|
|
579
|
-
|
|
580
|
-
<!-- politty:command:workspace user:heading:end -->
|
|
581
|
-
|
|
582
|
-
<!-- politty:command:workspace user:description:start -->
|
|
583
|
-
|
|
584
|
-
Manage workspace users
|
|
585
|
-
|
|
586
|
-
<!-- politty:command:workspace user:description:end -->
|
|
295
|
+
## profile
|
|
587
296
|
|
|
588
|
-
|
|
297
|
+
Manage workspace profiles (user + workspace combinations).
|
|
589
298
|
|
|
590
299
|
**Usage**
|
|
591
300
|
|
|
592
301
|
```
|
|
593
|
-
tailor-sdk
|
|
302
|
+
tailor-sdk profile [command]
|
|
594
303
|
```
|
|
595
304
|
|
|
596
|
-
<!-- politty:command:workspace user:usage:end -->
|
|
597
|
-
|
|
598
|
-
<!-- politty:command:workspace user:subcommands:start -->
|
|
599
|
-
|
|
600
|
-
**Commands**
|
|
601
|
-
|
|
602
|
-
| Command | Description |
|
|
603
|
-
| ------------------------------------------------- | ----------------------------------- |
|
|
604
|
-
| [`workspace user invite`](#workspace-user-invite) | Invite a user to a workspace |
|
|
605
|
-
| [`workspace user list`](#workspace-user-list) | List users in a workspace |
|
|
606
|
-
| [`workspace user remove`](#workspace-user-remove) | Remove a user from a workspace |
|
|
607
|
-
| [`workspace user update`](#workspace-user-update) | Update a user's role in a workspace |
|
|
608
|
-
|
|
609
|
-
<!-- politty:command:workspace user:subcommands:end -->
|
|
610
|
-
|
|
611
|
-
<!-- politty:command:workspace user:global-options-link:start -->
|
|
612
|
-
|
|
613
305
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
614
306
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
<!-- politty:command:workspace user invite:heading:start -->
|
|
618
|
-
|
|
619
|
-
#### workspace user invite
|
|
620
|
-
|
|
621
|
-
<!-- politty:command:workspace user invite:heading:end -->
|
|
622
|
-
|
|
623
|
-
<!-- politty:command:workspace user invite:description:start -->
|
|
307
|
+
**Commands**
|
|
624
308
|
|
|
625
|
-
|
|
309
|
+
| Command | Description |
|
|
310
|
+
| ----------------------------------- | -------------------------- |
|
|
311
|
+
| [`profile create`](#profile-create) | Create a new profile. |
|
|
312
|
+
| [`profile delete`](#profile-delete) | Delete a profile. |
|
|
313
|
+
| [`profile list`](#profile-list) | List all profiles. |
|
|
314
|
+
| [`profile update`](#profile-update) | Update profile properties. |
|
|
626
315
|
|
|
627
|
-
|
|
316
|
+
### profile create
|
|
628
317
|
|
|
629
|
-
|
|
318
|
+
Create a new profile.
|
|
630
319
|
|
|
631
320
|
**Usage**
|
|
632
321
|
|
|
633
322
|
```
|
|
634
|
-
tailor-sdk
|
|
323
|
+
tailor-sdk profile create [options] <name>
|
|
635
324
|
```
|
|
636
325
|
|
|
637
|
-
|
|
326
|
+
**Arguments**
|
|
638
327
|
|
|
639
|
-
|
|
328
|
+
| Argument | Description | Required |
|
|
329
|
+
| -------- | ------------ | -------- |
|
|
330
|
+
| `name` | Profile name | Yes |
|
|
640
331
|
|
|
641
332
|
**Options**
|
|
642
333
|
|
|
643
|
-
| Option
|
|
644
|
-
|
|
|
645
|
-
| `--
|
|
646
|
-
| `--
|
|
647
|
-
| `--
|
|
648
|
-
| `--
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
334
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
335
|
+
| ------------------------------------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------- | ---------------------------------- |
|
|
336
|
+
| `--user <USER>` | `-u` | User email | Yes | - | - |
|
|
337
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - | - |
|
|
338
|
+
| `--permission <PERMISSION>` | - | Profile permission. 'read' blocks all write commands while the profile is active. | No | `"write"` | - |
|
|
339
|
+
| `--machine-user <MACHINE_USER>` | `-m` | Default machine user name for application-data commands (query, workflow start, function test-run, machineuser token). | No | - | - |
|
|
340
|
+
| `--machine-user-override <MACHINE_USER_OVERRIDE>` | - | Whether the command line or TAILOR_PLATFORM_MACHINE_USER_NAME may override the profile's machine user. 'deny' requires --machine-user. | No | - | - |
|
|
341
|
+
| `--platform-url <PLATFORM_URL>` | - | Platform API base URL for this profile. | No | - | `TAILOR_PLATFORM_URL` |
|
|
342
|
+
| `--oauth2-client-id <OAUTH2_CLIENT_ID>` | - | OAuth2 client ID for logging in to this profile's platform. | No | - | `TAILOR_PLATFORM_OAUTH2_CLIENT_ID` |
|
|
343
|
+
| `--console-url <CONSOLE_URL>` | - | Console base URL for this profile. | No | - | `TAILOR_PLATFORM_CONSOLE_URL` |
|
|
653
344
|
|
|
654
345
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
655
346
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
<!-- politty:command:workspace user list:heading:start -->
|
|
659
|
-
|
|
660
|
-
#### workspace user list
|
|
661
|
-
|
|
662
|
-
<!-- politty:command:workspace user list:heading:end -->
|
|
663
|
-
|
|
664
|
-
<!-- politty:command:workspace user list:description:start -->
|
|
665
|
-
|
|
666
|
-
List users in a workspace
|
|
667
|
-
|
|
668
|
-
<!-- politty:command:workspace user list:description:end -->
|
|
347
|
+
### profile delete
|
|
669
348
|
|
|
670
|
-
|
|
349
|
+
Delete a profile.
|
|
671
350
|
|
|
672
351
|
**Usage**
|
|
673
352
|
|
|
674
353
|
```
|
|
675
|
-
tailor-sdk
|
|
354
|
+
tailor-sdk profile delete <name>
|
|
676
355
|
```
|
|
677
356
|
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
<!-- politty:command:workspace user list:options:start -->
|
|
681
|
-
|
|
682
|
-
**Options**
|
|
683
|
-
|
|
684
|
-
| Option | Alias | Description | Required | Default | Env |
|
|
685
|
-
| ------------------------------- | ----- | -------------------------------------------------------- | -------- | -------- | ------------------------------ |
|
|
686
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
687
|
-
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
688
|
-
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
|
|
689
|
-
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
|
|
690
|
-
|
|
691
|
-
<!-- politty:command:workspace user list:options:end -->
|
|
357
|
+
**Arguments**
|
|
692
358
|
|
|
693
|
-
|
|
359
|
+
| Argument | Description | Required |
|
|
360
|
+
| -------- | ------------ | -------- |
|
|
361
|
+
| `name` | Profile name | Yes |
|
|
694
362
|
|
|
695
363
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
696
364
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
<!-- politty:command:workspace user remove:heading:start -->
|
|
700
|
-
|
|
701
|
-
#### workspace user remove
|
|
702
|
-
|
|
703
|
-
<!-- politty:command:workspace user remove:heading:end -->
|
|
704
|
-
|
|
705
|
-
<!-- politty:command:workspace user remove:description:start -->
|
|
706
|
-
|
|
707
|
-
Remove a user from a workspace
|
|
708
|
-
|
|
709
|
-
<!-- politty:command:workspace user remove:description:end -->
|
|
365
|
+
### profile list
|
|
710
366
|
|
|
711
|
-
|
|
367
|
+
List all profiles.
|
|
712
368
|
|
|
713
369
|
**Usage**
|
|
714
370
|
|
|
715
371
|
```
|
|
716
|
-
tailor-sdk
|
|
372
|
+
tailor-sdk profile list
|
|
717
373
|
```
|
|
718
374
|
|
|
719
|
-
<!-- politty:command:workspace user remove:usage:end -->
|
|
720
|
-
|
|
721
|
-
<!-- politty:command:workspace user remove:options:start -->
|
|
722
|
-
|
|
723
|
-
**Options**
|
|
724
|
-
|
|
725
|
-
| Option | Alias | Description | Required | Default | Env |
|
|
726
|
-
| ------------------------------- | ----- | ----------------------------------- | -------- | ------- | ------------------------------ |
|
|
727
|
-
| `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - | `TAILOR_PLATFORM_WORKSPACE_ID` |
|
|
728
|
-
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
729
|
-
| `--email <EMAIL>` | - | Email address of the user to remove | Yes | - | - |
|
|
730
|
-
| `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
|
|
731
|
-
|
|
732
|
-
<!-- politty:command:workspace user remove:options:end -->
|
|
733
|
-
|
|
734
|
-
<!-- politty:command:workspace user remove:global-options-link:start -->
|
|
735
|
-
|
|
736
375
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
737
376
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
<!-- politty:command:workspace user update:heading:start -->
|
|
741
|
-
|
|
742
|
-
#### workspace user update
|
|
743
|
-
|
|
744
|
-
<!-- politty:command:workspace user update:heading:end -->
|
|
745
|
-
|
|
746
|
-
<!-- politty:command:workspace user update:description:start -->
|
|
747
|
-
|
|
748
|
-
Update a user's role in a workspace
|
|
749
|
-
|
|
750
|
-
<!-- politty:command:workspace user update:description:end -->
|
|
377
|
+
### profile update
|
|
751
378
|
|
|
752
|
-
|
|
379
|
+
Update profile properties.
|
|
753
380
|
|
|
754
381
|
**Usage**
|
|
755
382
|
|
|
756
383
|
```
|
|
757
|
-
tailor-sdk
|
|
384
|
+
tailor-sdk profile update [options] <name>
|
|
758
385
|
```
|
|
759
386
|
|
|
760
|
-
|
|
387
|
+
**Arguments**
|
|
761
388
|
|
|
762
|
-
|
|
389
|
+
| Argument | Description | Required |
|
|
390
|
+
| -------- | ------------ | -------- |
|
|
391
|
+
| `name` | Profile name | Yes |
|
|
763
392
|
|
|
764
393
|
**Options**
|
|
765
394
|
|
|
766
|
-
| Option
|
|
767
|
-
|
|
|
768
|
-
| `--
|
|
769
|
-
| `--
|
|
770
|
-
| `--
|
|
771
|
-
| `--
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
395
|
+
| Option | Alias | Description | Required | Default |
|
|
396
|
+
| ------------------------------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
|
|
397
|
+
| `--user <USER>` | `-u` | New user email | No | - |
|
|
398
|
+
| `--workspace-id <WORKSPACE_ID>` | `-w` | New workspace ID | No | - |
|
|
399
|
+
| `--permission <PERMISSION>` | - | Profile permission. 'read' blocks all write commands; 'write' lifts the restriction. | No | - |
|
|
400
|
+
| `--machine-user <MACHINE_USER>` | `-m` | Default machine user name for application-data commands (query, workflow start, function test-run, machineuser token). Pass an empty string to clear. | No | - |
|
|
401
|
+
| `--machine-user-override <MACHINE_USER_OVERRIDE>` | - | Whether the command line or TAILOR_PLATFORM_MACHINE_USER_NAME may override the profile's machine user. 'deny' requires --machine-user; 'allow' lifts the restriction. | No | - |
|
|
402
|
+
| `--platform-url <PLATFORM_URL>` | - | Platform API base URL for this profile. Pass an empty string to clear. | No | - |
|
|
403
|
+
| `--oauth2-client-id <OAUTH2_CLIENT_ID>` | - | OAuth2 client ID for logging in to this profile's platform. Pass an empty string to clear. | No | - |
|
|
404
|
+
| `--console-url <CONSOLE_URL>` | - | Console base URL for this profile. Pass an empty string to clear. | No | - |
|
|
776
405
|
|
|
777
406
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
778
|
-
|
|
779
|
-
<!-- politty:command:workspace user update:global-options-link:end -->
|