@tailor-platform/sdk 2.12.0 → 2.13.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/docs/cli/user.md CHANGED
@@ -135,9 +135,15 @@ Show current user.
135
135
  **Usage**
136
136
 
137
137
  ```
138
- tailor user current
138
+ tailor user current [options]
139
139
  ```
140
140
 
141
+ **Options**
142
+
143
+ | Option | Alias | Description | Required | Default | Env |
144
+ | --------------------- | ----- | ----------------- | -------- | ------- | ------------------------- |
145
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
146
+
141
147
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
142
148
 
143
149
  ### user list
@@ -147,9 +153,15 @@ List all users.
147
153
  **Usage**
148
154
 
149
155
  ```
150
- tailor user list
156
+ tailor user list [options]
151
157
  ```
152
158
 
159
+ **Options**
160
+
161
+ | Option | Alias | Description | Required | Default | Env |
162
+ | --------------------- | ----- | ----------------- | -------- | ------- | ------------------------- |
163
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
164
+
153
165
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
154
166
 
155
167
  ### user pat
@@ -191,9 +203,10 @@ tailor user pat create [options] <name>
191
203
 
192
204
  **Options**
193
205
 
194
- | Option | Alias | Description | Required | Default |
195
- | --------- | ----- | ------------------------------------------- | -------- | ------- |
196
- | `--write` | `-W` | Grant write permission (default: read-only) | No | `false` |
206
+ | Option | Alias | Description | Required | Default | Env |
207
+ | --------------------- | ----- | ------------------------------------------- | -------- | ------- | ------------------------- |
208
+ | `--write` | `-W` | Grant write permission (default: read-only) | No | `false` | - |
209
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
197
210
 
198
211
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
199
212
 
@@ -204,7 +217,7 @@ Delete a personal access token.
204
217
  **Usage**
205
218
 
206
219
  ```
207
- tailor user pat delete <name>
220
+ tailor user pat delete [options] <name>
208
221
  ```
209
222
 
210
223
  **Arguments**
@@ -213,6 +226,12 @@ tailor user pat delete <name>
213
226
  | -------- | ----------- | -------- |
214
227
  | `name` | Token name | Yes |
215
228
 
229
+ **Options**
230
+
231
+ | Option | Alias | Description | Required | Default | Env |
232
+ | --------------------- | ----- | ----------------- | -------- | ------- | ------------------------- |
233
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
234
+
216
235
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
217
236
 
218
237
  #### user pat list
@@ -227,10 +246,11 @@ tailor user pat list [options]
227
246
 
228
247
  **Options**
229
248
 
230
- | Option | Alias | Description | Required | Default |
231
- | ----------------- | ----- | -------------------------------------------------------- | -------- | -------- |
232
- | `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` |
233
- | `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - |
249
+ | Option | Alias | Description | Required | Default | Env |
250
+ | --------------------- | ----- | -------------------------------------------------------- | -------- | -------- | ------------------------- |
251
+ | `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` | - |
252
+ | `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - | - |
253
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
234
254
 
235
255
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
236
256
 
@@ -252,9 +272,10 @@ tailor user pat update [options] <name>
252
272
 
253
273
  **Options**
254
274
 
255
- | Option | Alias | Description | Required | Default |
256
- | --------- | ----- | ---------------------------------------------------------- | -------- | ------- |
257
- | `--write` | `-W` | Grant write permission (if not specified, keeps read-only) | No | `false` |
275
+ | Option | Alias | Description | Required | Default | Env |
276
+ | --------------------- | ----- | ---------------------------------------------------------- | -------- | ------- | ------------------------- |
277
+ | `--write` | `-W` | Grant write permission (if not specified, keeps read-only) | No | `false` | - |
278
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
258
279
 
259
280
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
260
281
 
@@ -265,7 +286,7 @@ Set current user.
265
286
  **Usage**
266
287
 
267
288
  ```
268
- tailor user switch <user>
289
+ tailor user switch [options] <user>
269
290
  ```
270
291
 
271
292
  **Arguments**
@@ -274,6 +295,12 @@ tailor user switch <user>
274
295
  | -------- | -------------------------------------------- | -------- |
275
296
  | `user` | User email address or machine user client ID | Yes |
276
297
 
298
+ **Options**
299
+
300
+ | Option | Alias | Description | Required | Default | Env |
301
+ | --------------------- | ----- | ----------------- | -------- | ------- | ------------------------- |
302
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
303
+
277
304
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
278
305
  When no subcommand is provided, defaults to `list`.
279
306
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/sdk",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -186,7 +186,7 @@
186
186
  "mime-types": "3.0.2",
187
187
  "open": "11.0.2",
188
188
  "oxc-parser": "0.147.0",
189
- "p-limit": "7.3.1",
189
+ "p-limit": "7.3.2",
190
190
  "pathe": "2.0.3",
191
191
  "pgsql-ast-parser": "12.0.2",
192
192
  "pkg-types": "2.3.1",
@@ -196,7 +196,7 @@
196
196
  "sql-highlight": "6.1.0",
197
197
  "std-env": "4.2.0",
198
198
  "ts-cron-validator": "1.1.5",
199
- "type-fest": "5.8.0",
199
+ "type-fest": "5.9.0",
200
200
  "xdg-basedir": "5.1.0",
201
201
  "zod": "4.5.4"
202
202
  },
@@ -209,7 +209,7 @@
209
209
  "@types/semver": "7.8.0",
210
210
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
211
211
  "@vitest/coverage-v8": "4.1.11",
212
- "eslint-plugin-zod": "4.10.0",
212
+ "eslint-plugin-zod": "4.12.0",
213
213
  "oxfmt": "0.65.0",
214
214
  "oxlint": "1.80.0",
215
215
  "oxlint-tsgolint": "7.0.2001",