@tailor-platform/sdk 1.7.0 → 1.8.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 +16 -0
- package/dist/{application-Ba2B5A-w.mjs → application-HIu5peO4.mjs} +44 -14
- package/dist/application-HIu5peO4.mjs.map +1 -0
- package/dist/application-ViV4dYwI.mjs +4 -0
- package/dist/cli/index.mjs +46 -47
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +8 -7
- package/dist/cli/lib.mjs +2 -3
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/configure/index.d.mts +3 -3
- package/dist/configure/index.mjs +778 -2
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{index-BSrVjiPg.d.mts → index-BwJ7-efr.d.mts} +73 -29
- package/dist/{index-DraFftyF.d.mts → index-Dkm2qwmF.d.mts} +142 -180
- package/dist/{jiti-SMSW3TA0.mjs → jiti-ygK9KoRA.mjs} +1 -1
- package/dist/{jiti-SMSW3TA0.mjs.map → jiti-ygK9KoRA.mjs.map} +1 -1
- package/dist/{job-8XfvLyxH.mjs → job-l-pIR9IY.mjs} +1 -1
- package/dist/{job-8XfvLyxH.mjs.map → job-l-pIR9IY.mjs.map} +1 -1
- package/dist/{list-DArHhlnw.mjs → list-D1K7WwpV.mjs} +96 -48
- package/dist/list-D1K7WwpV.mjs.map +1 -0
- package/dist/{src-qLXX6nub.mjs → src-CG8kJBI9.mjs} +1 -1
- package/dist/{src-qLXX6nub.mjs.map → src-CG8kJBI9.mjs.map} +1 -1
- package/dist/utils/test/index.d.mts +2 -2
- package/dist/utils/test/index.mjs +1 -1
- package/docs/cli/application.md +114 -35
- package/docs/cli/auth.md +101 -44
- package/docs/cli/executor.md +65 -33
- package/docs/cli/secret.md +133 -51
- package/docs/cli/staticwebsite.md +78 -41
- package/docs/cli/tailordb.md +227 -155
- package/docs/cli/user.md +164 -66
- package/docs/cli/workflow.md +132 -73
- package/docs/cli/workspace.md +126 -45
- package/docs/generator/custom.md +2 -2
- package/docs/services/auth.md +88 -1
- package/package.json +3 -1
- package/dist/application-Ba2B5A-w.mjs.map +0 -1
- package/dist/application-C_MQabII.mjs +0 -5
- package/dist/auth-Co6vu1MY.mjs +0 -779
- package/dist/auth-Co6vu1MY.mjs.map +0 -1
- package/dist/list-DArHhlnw.mjs.map +0 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "../chunk-CIV_ash9.mjs";
|
|
3
|
-
import "../
|
|
4
|
-
import {
|
|
5
|
-
import { d as styles, u as logger } from "../application-Ba2B5A-w.mjs";
|
|
3
|
+
import { A as triggerCommand, At as commonArgs, B as executionsCommand, Ct as writePlatformConfig, Dt as initOperatorClient, E as listCommand$5, Et as initOAuth2Client, Ft as workspaceArgs, I as startCommand, K as parseMigrationLabelNumber, Mt as deploymentArgs, N as jobsCommand, Nt as jsonArgs, Ot as readPackageJson, Pt as withCommonArgs, R as getCommand$2, S as getCommand$1, St as readPlatformConfig, T as tokenCommand, Tt as fetchUserInfo, W as applyCommand, _ as showCommand, a as createCommand$3, at as getMigrationFiles, b as listCommand$6, bt as loadAccessToken, ct as loadDiff, f as truncateCommand, gt as loadConfig, h as logBetaWarning, it as getMigrationFilePath, jt as confirmationArgs, k as generateCommand$1, kt as PATScope, l as listCommand$7, m as generateCommand, mt as trnPrefix, pt as getNamespacesWithMigrations, r as deleteCommand$3, s as resumeCommand, st as isValidMigrationNumber, t as listCommand$8, tt as formatMigrationNumber, vt as apiCommand, wt as fetchAll, xt as loadWorkspaceId, y as removeCommand, yt as fetchLatestToken } from "../list-D1K7WwpV.mjs";
|
|
4
|
+
import { d as styles, u as logger } from "../application-HIu5peO4.mjs";
|
|
6
5
|
import { createRequire, register } from "node:module";
|
|
7
6
|
import { arg, defineCommand, runCommand, runMain } from "politty";
|
|
8
7
|
import { z } from "zod";
|
|
@@ -25,7 +24,7 @@ import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
|
25
24
|
//#region src/cli/executor/index.ts
|
|
26
25
|
const executorCommand = defineCommand({
|
|
27
26
|
name: "executor",
|
|
28
|
-
description: "Manage executors",
|
|
27
|
+
description: "Manage executors and executor jobs.",
|
|
29
28
|
subCommands: {
|
|
30
29
|
jobs: jobsCommand,
|
|
31
30
|
trigger: triggerCommand
|
|
@@ -48,7 +47,7 @@ const detectPackageManager = () => {
|
|
|
48
47
|
};
|
|
49
48
|
const initCommand = defineCommand({
|
|
50
49
|
name: "init",
|
|
51
|
-
description: "Initialize a new project using create-sdk",
|
|
50
|
+
description: "Initialize a new project using create-sdk.",
|
|
52
51
|
args: z.object({
|
|
53
52
|
...commonArgs,
|
|
54
53
|
name: arg(z.string().optional(), {
|
|
@@ -153,7 +152,7 @@ const startAuthServer = async () => {
|
|
|
153
152
|
};
|
|
154
153
|
const loginCommand = defineCommand({
|
|
155
154
|
name: "login",
|
|
156
|
-
description: "Login to Tailor Platform",
|
|
155
|
+
description: "Login to Tailor Platform.",
|
|
157
156
|
args: z.object({ ...commonArgs }),
|
|
158
157
|
run: withCommonArgs(async () => {
|
|
159
158
|
await startAuthServer();
|
|
@@ -165,7 +164,7 @@ const loginCommand = defineCommand({
|
|
|
165
164
|
//#region src/cli/logout.ts
|
|
166
165
|
const logoutCommand = defineCommand({
|
|
167
166
|
name: "logout",
|
|
168
|
-
description: "Logout from Tailor Platform",
|
|
167
|
+
description: "Logout from Tailor Platform.",
|
|
169
168
|
args: z.object({ ...commonArgs }),
|
|
170
169
|
run: withCommonArgs(async () => {
|
|
171
170
|
const pfConfig = readPlatformConfig();
|
|
@@ -190,7 +189,7 @@ const logoutCommand = defineCommand({
|
|
|
190
189
|
//#region src/cli/machineuser/index.ts
|
|
191
190
|
const machineuserCommand = defineCommand({
|
|
192
191
|
name: "machineuser",
|
|
193
|
-
description: "Manage machine users",
|
|
192
|
+
description: "Manage machine users in your Tailor Platform application.",
|
|
194
193
|
subCommands: {
|
|
195
194
|
list: listCommand$5,
|
|
196
195
|
token: tokenCommand
|
|
@@ -204,7 +203,7 @@ const machineuserCommand = defineCommand({
|
|
|
204
203
|
//#region src/cli/oauth2client/index.ts
|
|
205
204
|
const oauth2clientCommand = defineCommand({
|
|
206
205
|
name: "oauth2client",
|
|
207
|
-
description: "Manage OAuth2 clients",
|
|
206
|
+
description: "Manage OAuth2 clients in your Tailor Platform application.",
|
|
208
207
|
subCommands: {
|
|
209
208
|
get: getCommand$1,
|
|
210
209
|
list: listCommand$6
|
|
@@ -219,7 +218,7 @@ const oauth2clientCommand = defineCommand({
|
|
|
219
218
|
const consoleBaseUrl = "https://console.tailor.tech";
|
|
220
219
|
const openCommand = defineCommand({
|
|
221
220
|
name: "open",
|
|
222
|
-
description: "Open Tailor Platform Console
|
|
221
|
+
description: "Open Tailor Platform Console.",
|
|
223
222
|
args: z.object({
|
|
224
223
|
...commonArgs,
|
|
225
224
|
...deploymentArgs
|
|
@@ -249,7 +248,7 @@ const openCommand = defineCommand({
|
|
|
249
248
|
//#region src/cli/profile/create.ts
|
|
250
249
|
const createCommand$2 = defineCommand({
|
|
251
250
|
name: "create",
|
|
252
|
-
description: "Create new profile",
|
|
251
|
+
description: "Create a new profile.",
|
|
253
252
|
args: z.object({
|
|
254
253
|
...commonArgs,
|
|
255
254
|
...jsonArgs,
|
|
@@ -293,7 +292,7 @@ const createCommand$2 = defineCommand({
|
|
|
293
292
|
//#region src/cli/profile/delete.ts
|
|
294
293
|
const deleteCommand$2 = defineCommand({
|
|
295
294
|
name: "delete",
|
|
296
|
-
description: "Delete profile",
|
|
295
|
+
description: "Delete a profile.",
|
|
297
296
|
args: z.object({
|
|
298
297
|
...commonArgs,
|
|
299
298
|
name: arg(z.string(), {
|
|
@@ -314,7 +313,7 @@ const deleteCommand$2 = defineCommand({
|
|
|
314
313
|
//#region src/cli/profile/list.ts
|
|
315
314
|
const listCommand$4 = defineCommand({
|
|
316
315
|
name: "list",
|
|
317
|
-
description: "List all profiles",
|
|
316
|
+
description: "List all profiles.",
|
|
318
317
|
args: z.object({
|
|
319
318
|
...commonArgs,
|
|
320
319
|
...jsonArgs
|
|
@@ -342,7 +341,7 @@ const listCommand$4 = defineCommand({
|
|
|
342
341
|
//#region src/cli/profile/update.ts
|
|
343
342
|
const updateCommand$1 = defineCommand({
|
|
344
343
|
name: "update",
|
|
345
|
-
description: "Update profile properties",
|
|
344
|
+
description: "Update profile properties.",
|
|
346
345
|
args: z.object({
|
|
347
346
|
...commonArgs,
|
|
348
347
|
...jsonArgs,
|
|
@@ -390,7 +389,7 @@ const updateCommand$1 = defineCommand({
|
|
|
390
389
|
//#region src/cli/profile/index.ts
|
|
391
390
|
const profileCommand = defineCommand({
|
|
392
391
|
name: "profile",
|
|
393
|
-
description: "Manage workspace profiles (user + workspace combinations)",
|
|
392
|
+
description: "Manage workspace profiles (user + workspace combinations).",
|
|
394
393
|
subCommands: {
|
|
395
394
|
create: createCommand$2,
|
|
396
395
|
delete: deleteCommand$2,
|
|
@@ -436,7 +435,7 @@ const secretValueArgs = {
|
|
|
436
435
|
//#region src/cli/secret/create.ts
|
|
437
436
|
const createSecretCommand = defineCommand({
|
|
438
437
|
name: "create",
|
|
439
|
-
description: "Create a secret in a vault",
|
|
438
|
+
description: "Create a secret in a vault.",
|
|
440
439
|
args: z.object({
|
|
441
440
|
...commonArgs,
|
|
442
441
|
...workspaceArgs,
|
|
@@ -473,7 +472,7 @@ const createSecretCommand = defineCommand({
|
|
|
473
472
|
//#region src/cli/secret/delete.ts
|
|
474
473
|
const deleteSecretCommand = defineCommand({
|
|
475
474
|
name: "delete",
|
|
476
|
-
description: "Delete a secret in a vault",
|
|
475
|
+
description: "Delete a secret in a vault.",
|
|
477
476
|
args: z.object({
|
|
478
477
|
...commonArgs,
|
|
479
478
|
...workspaceArgs,
|
|
@@ -543,7 +542,7 @@ async function secretList(options) {
|
|
|
543
542
|
}
|
|
544
543
|
const listSecretCommand = defineCommand({
|
|
545
544
|
name: "list",
|
|
546
|
-
description: "List secrets in a vault",
|
|
545
|
+
description: "List all secrets in a vault.",
|
|
547
546
|
args: z.object({
|
|
548
547
|
...commonArgs,
|
|
549
548
|
...jsonArgs,
|
|
@@ -569,7 +568,7 @@ const listSecretCommand = defineCommand({
|
|
|
569
568
|
//#region src/cli/secret/update.ts
|
|
570
569
|
const updateSecretCommand = defineCommand({
|
|
571
570
|
name: "update",
|
|
572
|
-
description: "Update a secret in a vault",
|
|
571
|
+
description: "Update a secret in a vault.",
|
|
573
572
|
args: z.object({
|
|
574
573
|
...commonArgs,
|
|
575
574
|
...workspaceArgs,
|
|
@@ -610,7 +609,7 @@ const nameArgs = { name: arg(z.string(), {
|
|
|
610
609
|
//#region src/cli/secret/vault/create.ts
|
|
611
610
|
const createCommand$1 = defineCommand({
|
|
612
611
|
name: "create",
|
|
613
|
-
description: "Create a Secret Manager vault",
|
|
612
|
+
description: "Create a new Secret Manager vault.",
|
|
614
613
|
args: z.object({
|
|
615
614
|
...commonArgs,
|
|
616
615
|
...workspaceArgs,
|
|
@@ -642,7 +641,7 @@ const createCommand$1 = defineCommand({
|
|
|
642
641
|
//#region src/cli/secret/vault/delete.ts
|
|
643
642
|
const deleteCommand$1 = defineCommand({
|
|
644
643
|
name: "delete",
|
|
645
|
-
description: "Delete a Secret Manager vault",
|
|
644
|
+
description: "Delete a Secret Manager vault.",
|
|
646
645
|
args: z.object({
|
|
647
646
|
...commonArgs,
|
|
648
647
|
...workspaceArgs,
|
|
@@ -710,7 +709,7 @@ async function vaultList(options) {
|
|
|
710
709
|
}
|
|
711
710
|
const listCommand$3 = defineCommand({
|
|
712
711
|
name: "list",
|
|
713
|
-
description: "List Secret Manager vaults",
|
|
712
|
+
description: "List all Secret Manager vaults in the workspace.",
|
|
714
713
|
args: z.object({
|
|
715
714
|
...commonArgs,
|
|
716
715
|
...jsonArgs,
|
|
@@ -729,7 +728,7 @@ const listCommand$3 = defineCommand({
|
|
|
729
728
|
//#region src/cli/secret/vault/index.ts
|
|
730
729
|
const vaultCommand = defineCommand({
|
|
731
730
|
name: "vault",
|
|
732
|
-
description: "Manage Secret Manager vaults",
|
|
731
|
+
description: "Manage Secret Manager vaults.",
|
|
733
732
|
subCommands: {
|
|
734
733
|
create: createCommand$1,
|
|
735
734
|
delete: deleteCommand$1,
|
|
@@ -744,7 +743,7 @@ const vaultCommand = defineCommand({
|
|
|
744
743
|
//#region src/cli/secret/index.ts
|
|
745
744
|
const secretCommand = defineCommand({
|
|
746
745
|
name: "secret",
|
|
747
|
-
description: "Manage
|
|
746
|
+
description: "Manage Secret Manager vaults and secrets.",
|
|
748
747
|
subCommands: {
|
|
749
748
|
create: createSecretCommand,
|
|
750
749
|
delete: deleteSecretCommand,
|
|
@@ -916,7 +915,7 @@ function logSkippedFiles(skippedFiles) {
|
|
|
916
915
|
}
|
|
917
916
|
const deployCommand = defineCommand({
|
|
918
917
|
name: "deploy",
|
|
919
|
-
description: "Deploy a static website",
|
|
918
|
+
description: "Deploy a static website from a local build directory.",
|
|
920
919
|
args: z.object({
|
|
921
920
|
...commonArgs,
|
|
922
921
|
...jsonArgs,
|
|
@@ -961,7 +960,7 @@ const deployCommand = defineCommand({
|
|
|
961
960
|
//#region src/cli/staticwebsite/get.ts
|
|
962
961
|
const getCommand = defineCommand({
|
|
963
962
|
name: "get",
|
|
964
|
-
description: "Get static website
|
|
963
|
+
description: "Get details of a specific static website.",
|
|
965
964
|
args: z.object({
|
|
966
965
|
...commonArgs,
|
|
967
966
|
...jsonArgs,
|
|
@@ -1034,7 +1033,7 @@ async function listStaticWebsites(options) {
|
|
|
1034
1033
|
}
|
|
1035
1034
|
const listCommand$2 = defineCommand({
|
|
1036
1035
|
name: "list",
|
|
1037
|
-
description: "List static websites",
|
|
1036
|
+
description: "List all static websites in a workspace.",
|
|
1038
1037
|
args: z.object({
|
|
1039
1038
|
...commonArgs,
|
|
1040
1039
|
...jsonArgs,
|
|
@@ -1065,7 +1064,7 @@ const listCommand$2 = defineCommand({
|
|
|
1065
1064
|
//#region src/cli/staticwebsite/index.ts
|
|
1066
1065
|
const staticwebsiteCommand = defineCommand({
|
|
1067
1066
|
name: "staticwebsite",
|
|
1068
|
-
description: "Manage static websites",
|
|
1067
|
+
description: "Manage static websites in your workspace.",
|
|
1069
1068
|
subCommands: {
|
|
1070
1069
|
deploy: deployCommand,
|
|
1071
1070
|
get: getCommand,
|
|
@@ -1419,7 +1418,7 @@ async function prepareErdBuilds(options) {
|
|
|
1419
1418
|
}
|
|
1420
1419
|
const erdExportCommand = defineCommand({
|
|
1421
1420
|
name: "export",
|
|
1422
|
-
description: "Export Liam ERD dist from applied TailorDB schema
|
|
1421
|
+
description: "Export Liam ERD dist from applied TailorDB schema.",
|
|
1423
1422
|
args: z.object({
|
|
1424
1423
|
...commonArgs,
|
|
1425
1424
|
...deploymentArgs,
|
|
@@ -1461,7 +1460,7 @@ const erdExportCommand = defineCommand({
|
|
|
1461
1460
|
//#region src/cli/tailordb/erd/deploy.ts
|
|
1462
1461
|
const erdDeployCommand = defineCommand({
|
|
1463
1462
|
name: "deploy",
|
|
1464
|
-
description: "Deploy ERD static website for TailorDB namespace(s)
|
|
1463
|
+
description: "Deploy ERD static website for TailorDB namespace(s).",
|
|
1465
1464
|
args: z.object({
|
|
1466
1465
|
...commonArgs,
|
|
1467
1466
|
...deploymentArgs,
|
|
@@ -1549,7 +1548,7 @@ async function runServeDist(results) {
|
|
|
1549
1548
|
}
|
|
1550
1549
|
const erdServeCommand = defineCommand({
|
|
1551
1550
|
name: "serve",
|
|
1552
|
-
description: "Generate and serve ERD (liam build +
|
|
1551
|
+
description: "Generate and serve ERD locally (liam build + serve dist). (beta)",
|
|
1553
1552
|
args: z.object({
|
|
1554
1553
|
...commonArgs,
|
|
1555
1554
|
...deploymentArgs,
|
|
@@ -1573,7 +1572,7 @@ const erdServeCommand = defineCommand({
|
|
|
1573
1572
|
//#region src/cli/tailordb/erd/index.ts
|
|
1574
1573
|
const erdCommand = defineCommand({
|
|
1575
1574
|
name: "erd",
|
|
1576
|
-
description: "ERD
|
|
1575
|
+
description: "Generate ERD artifacts for TailorDB namespaces using Liam ERD. (beta)",
|
|
1577
1576
|
subCommands: {
|
|
1578
1577
|
export: erdExportCommand,
|
|
1579
1578
|
serve: erdServeCommand,
|
|
@@ -1657,7 +1656,7 @@ async function set(options) {
|
|
|
1657
1656
|
}
|
|
1658
1657
|
const setCommand = defineCommand({
|
|
1659
1658
|
name: "set",
|
|
1660
|
-
description: "Set migration checkpoint to a specific number",
|
|
1659
|
+
description: "Set migration checkpoint to a specific number.",
|
|
1661
1660
|
args: z.object({
|
|
1662
1661
|
...commonArgs,
|
|
1663
1662
|
...deploymentArgs,
|
|
@@ -1735,7 +1734,7 @@ async function status(options) {
|
|
|
1735
1734
|
}
|
|
1736
1735
|
const statusCommand = defineCommand({
|
|
1737
1736
|
name: "status",
|
|
1738
|
-
description: "Show migration status for TailorDB namespaces",
|
|
1737
|
+
description: "Show the current migration status for TailorDB namespaces, including applied and pending migrations.",
|
|
1739
1738
|
args: z.object({
|
|
1740
1739
|
...commonArgs,
|
|
1741
1740
|
...deploymentArgs,
|
|
@@ -1766,7 +1765,7 @@ const statusCommand = defineCommand({
|
|
|
1766
1765
|
*/
|
|
1767
1766
|
const migrationCommand = defineCommand({
|
|
1768
1767
|
name: "migration",
|
|
1769
|
-
description: "Manage TailorDB schema migrations
|
|
1768
|
+
description: "Manage TailorDB schema migrations.",
|
|
1770
1769
|
subCommands: {
|
|
1771
1770
|
generate: generateCommand,
|
|
1772
1771
|
set: setCommand,
|
|
@@ -1778,7 +1777,7 @@ const migrationCommand = defineCommand({
|
|
|
1778
1777
|
//#region src/cli/tailordb/index.ts
|
|
1779
1778
|
const tailordbCommand = defineCommand({
|
|
1780
1779
|
name: "tailordb",
|
|
1781
|
-
description: "Manage TailorDB tables and data",
|
|
1780
|
+
description: "Manage TailorDB tables and data.",
|
|
1782
1781
|
subCommands: {
|
|
1783
1782
|
erd: erdCommand,
|
|
1784
1783
|
migration: migrationCommand,
|
|
@@ -1790,7 +1789,7 @@ const tailordbCommand = defineCommand({
|
|
|
1790
1789
|
//#region src/cli/user/current.ts
|
|
1791
1790
|
const currentCommand = defineCommand({
|
|
1792
1791
|
name: "current",
|
|
1793
|
-
description: "Show current user",
|
|
1792
|
+
description: "Show current user.",
|
|
1794
1793
|
args: z.object({ ...commonArgs }),
|
|
1795
1794
|
run: withCommonArgs(async () => {
|
|
1796
1795
|
const config = readPlatformConfig();
|
|
@@ -1810,7 +1809,7 @@ const currentCommand = defineCommand({
|
|
|
1810
1809
|
//#region src/cli/user/list.ts
|
|
1811
1810
|
const listCommand$1 = defineCommand({
|
|
1812
1811
|
name: "list",
|
|
1813
|
-
description: "List all users",
|
|
1812
|
+
description: "List all users.",
|
|
1814
1813
|
args: z.object({
|
|
1815
1814
|
...commonArgs,
|
|
1816
1815
|
...jsonArgs
|
|
@@ -1896,7 +1895,7 @@ function printCreatedToken(name, token, write, action) {
|
|
|
1896
1895
|
//#region src/cli/user/pat/create.ts
|
|
1897
1896
|
const createCommand = defineCommand({
|
|
1898
1897
|
name: "create",
|
|
1899
|
-
description: "Create new personal access token",
|
|
1898
|
+
description: "Create a new personal access token.",
|
|
1900
1899
|
args: z.object({
|
|
1901
1900
|
...commonArgs,
|
|
1902
1901
|
...jsonArgs,
|
|
@@ -1930,7 +1929,7 @@ const createCommand = defineCommand({
|
|
|
1930
1929
|
//#region src/cli/user/pat/delete.ts
|
|
1931
1930
|
const deleteCommand = defineCommand({
|
|
1932
1931
|
name: "delete",
|
|
1933
|
-
description: "Delete personal access token",
|
|
1932
|
+
description: "Delete a personal access token.",
|
|
1934
1933
|
args: z.object({
|
|
1935
1934
|
...commonArgs,
|
|
1936
1935
|
name: arg(z.string(), {
|
|
@@ -1953,7 +1952,7 @@ const deleteCommand = defineCommand({
|
|
|
1953
1952
|
//#region src/cli/user/pat/list.ts
|
|
1954
1953
|
const listCommand = defineCommand({
|
|
1955
1954
|
name: "list",
|
|
1956
|
-
description: "List all personal access tokens",
|
|
1955
|
+
description: "List all personal access tokens.",
|
|
1957
1956
|
args: z.object({
|
|
1958
1957
|
...commonArgs,
|
|
1959
1958
|
...jsonArgs
|
|
@@ -1995,7 +1994,7 @@ const listCommand = defineCommand({
|
|
|
1995
1994
|
//#region src/cli/user/pat/update.ts
|
|
1996
1995
|
const updateCommand = defineCommand({
|
|
1997
1996
|
name: "update",
|
|
1998
|
-
description: "Update personal access token (delete and recreate)",
|
|
1997
|
+
description: "Update a personal access token (delete and recreate).",
|
|
1999
1998
|
args: z.object({
|
|
2000
1999
|
...commonArgs,
|
|
2001
2000
|
...jsonArgs,
|
|
@@ -2030,7 +2029,7 @@ const updateCommand = defineCommand({
|
|
|
2030
2029
|
//#region src/cli/user/pat/index.ts
|
|
2031
2030
|
const patCommand = defineCommand({
|
|
2032
2031
|
name: "pat",
|
|
2033
|
-
description: "Manage personal access tokens",
|
|
2032
|
+
description: "Manage personal access tokens.",
|
|
2034
2033
|
args: listCommand.args,
|
|
2035
2034
|
subCommands: {
|
|
2036
2035
|
create: createCommand,
|
|
@@ -2047,7 +2046,7 @@ const patCommand = defineCommand({
|
|
|
2047
2046
|
//#region src/cli/user/switch.ts
|
|
2048
2047
|
const switchCommand = defineCommand({
|
|
2049
2048
|
name: "switch",
|
|
2050
|
-
description: "Set current user",
|
|
2049
|
+
description: "Set current user.",
|
|
2051
2050
|
args: z.object({
|
|
2052
2051
|
...commonArgs,
|
|
2053
2052
|
user: arg(z.string(), {
|
|
@@ -2071,7 +2070,7 @@ const switchCommand = defineCommand({
|
|
|
2071
2070
|
//#region src/cli/user/index.ts
|
|
2072
2071
|
const userCommand = defineCommand({
|
|
2073
2072
|
name: "user",
|
|
2074
|
-
description: "Manage Tailor Platform users",
|
|
2073
|
+
description: "Manage Tailor Platform users.",
|
|
2075
2074
|
subCommands: {
|
|
2076
2075
|
current: currentCommand,
|
|
2077
2076
|
list: listCommand$1,
|
|
@@ -2087,7 +2086,7 @@ const userCommand = defineCommand({
|
|
|
2087
2086
|
//#region src/cli/workflow/index.ts
|
|
2088
2087
|
const workflowCommand = defineCommand({
|
|
2089
2088
|
name: "workflow",
|
|
2090
|
-
description: "Manage workflows",
|
|
2089
|
+
description: "Manage workflows and workflow executions.",
|
|
2091
2090
|
subCommands: {
|
|
2092
2091
|
list: listCommand$7,
|
|
2093
2092
|
get: getCommand$2,
|
|
@@ -2104,7 +2103,7 @@ const workflowCommand = defineCommand({
|
|
|
2104
2103
|
//#region src/cli/workspace/index.ts
|
|
2105
2104
|
const workspaceCommand = defineCommand({
|
|
2106
2105
|
name: "workspace",
|
|
2107
|
-
description: "Manage Tailor Platform workspaces",
|
|
2106
|
+
description: "Manage Tailor Platform workspaces.",
|
|
2108
2107
|
subCommands: {
|
|
2109
2108
|
create: createCommand$3,
|
|
2110
2109
|
delete: deleteCommand$3,
|