@tailor-platform/sdk 2.20.0 → 2.22.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 +69 -0
- package/agent-skills/tailor/SKILL.md +3 -1
- package/dist/application-BE4vehXW.mjs +1 -0
- package/dist/application-BzO9ywXQ.mjs +199 -0
- package/dist/application-BzO9ywXQ.mjs.map +1 -0
- package/dist/cli/commands/deploy/app-id-lock.d.mts +31 -0
- package/dist/cli/lib.d.mts +2 -2
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/main.d.mts +1 -0
- package/dist/cli/main.mjs +42 -42
- package/dist/cli/main.mjs.map +1 -1
- package/dist/cli/shared/logger.d.mts +9 -0
- package/dist/cli/shared/tailordb-namespaces.d.mts +1 -1
- package/dist/completion/zsh-worker.zsh +654 -131
- package/dist/configure/config/index.d.mts +2 -0
- package/dist/configure/index.d.mts +2 -1
- package/dist/configure/index.mjs +12 -1
- package/dist/configure/index.mjs.map +1 -1
- package/dist/configure/services/secrets/index.d.mts +14 -0
- package/dist/configure/services/tailordb/schema.d.mts +3 -2
- package/dist/configure/types/secret-vault-name.d.mts +32 -0
- package/dist/crashreport-CBaRJl5h.mjs +1 -0
- package/dist/{crashreport-Cyuz1qiu.mjs → crashreport-DFpRn-LS.mjs} +4 -4
- package/dist/{crashreport-Cyuz1qiu.mjs.map → crashreport-DFpRn-LS.mjs.map} +1 -1
- package/dist/{date-B7-oyTGE.mjs → date-Dri6Yas-.mjs} +2 -2
- package/dist/date-Dri6Yas-.mjs.map +1 -0
- package/dist/{errors-BjJnpXkK.mjs → errors-C9zGf4nz.mjs} +2 -2
- package/dist/{errors-BjJnpXkK.mjs.map → errors-C9zGf4nz.mjs.map} +1 -1
- package/dist/es-builtins-SfvXRVoG.mjs +2 -0
- package/dist/{es-builtins-BHCXINQp.mjs.map → es-builtins-SfvXRVoG.mjs.map} +1 -1
- package/dist/field-parse-DhnFs9WG.mjs +2 -0
- package/dist/field-parse-DhnFs9WG.mjs.map +1 -0
- package/dist/{globals-CMHSnj4w.mjs → globals-BCmGX05J.mjs} +2 -2
- package/dist/{globals-CMHSnj4w.mjs.map → globals-BCmGX05J.mjs.map} +1 -1
- package/dist/guards-yDXyKC9F.mjs +2 -0
- package/dist/{guards-ForsrxnH.mjs.map → guards-yDXyKC9F.mjs.map} +1 -1
- package/dist/{kysely-type-B_oA8D1k.mjs → kysely-type-C-iyFFH7.mjs} +2 -2
- package/dist/{kysely-type-B_oA8D1k.mjs.map → kysely-type-C-iyFFH7.mjs.map} +1 -1
- package/dist/logger-Db-YRTwK.mjs +9 -0
- package/dist/logger-Db-YRTwK.mjs.map +1 -0
- package/dist/manager-8-JOvuLl.mjs +2 -0
- package/dist/{manager-qfbUL7ru.mjs.map → manager-8-JOvuLl.mjs.map} +1 -1
- package/dist/plugin/builtin/enum-constants/index.mjs +1 -1
- package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -1
- package/dist/plugin/builtin/file-utils/index.mjs +1 -1
- package/dist/plugin/builtin/file-utils/index.mjs.map +1 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/register-ts-hook-z7ggXQy4.mjs +922 -0
- package/dist/register-ts-hook-z7ggXQy4.mjs.map +1 -0
- package/dist/registry-BijIDRVA.mjs +2 -0
- package/dist/{registry-HlEaGvl5.mjs.map → registry-BijIDRVA.mjs.map} +1 -1
- package/dist/repl-editor-DGJBfIt1.mjs +2 -0
- package/dist/{repl-editor-BG1aDOfH.mjs.map → repl-editor-DGJBfIt1.mjs.map} +1 -1
- package/dist/runtime/field-parse.d.mts +17 -1
- package/dist/runtime/index.d.mts +2 -1
- package/dist/runtime/index.mjs +1 -1
- package/dist/runtime/secretmanager.d.mts +8 -20
- package/dist/schema-CRtAmDcl.mjs +2 -0
- package/dist/{schema-BKvcWdVf.mjs.map → schema-CRtAmDcl.mjs.map} +1 -1
- package/dist/secretmanager-vHQoXdQz.mjs.map +1 -1
- package/dist/seed/index.mjs +7 -6
- package/dist/seed/index.mjs.map +1 -1
- package/dist/service-Bx-7Lz06.mjs +1 -0
- package/dist/{service-CuqkHP1r.mjs → service-CL1Bp4It.mjs} +3 -3
- package/dist/{service-CuqkHP1r.mjs.map → service-CL1Bp4It.mjs.map} +1 -1
- package/dist/{service-B4Gh_bbL.mjs → service-DHVuH7-X.mjs} +2 -2
- package/dist/{service-B4Gh_bbL.mjs.map → service-DHVuH7-X.mjs.map} +1 -1
- package/dist/service_pb-DNskuJQC.mjs +1 -0
- package/dist/service_pb-y2GYIgfs.mjs +2 -0
- package/dist/{service_pb-DprmLNsq.mjs.map → service_pb-y2GYIgfs.mjs.map} +1 -1
- package/dist/tailordb-ddl-DqInYupv.mjs +7 -0
- package/dist/{tailordb-ddl-Fgm2cNvT.mjs.map → tailordb-ddl-DqInYupv.mjs.map} +1 -1
- package/dist/utils/test/index.mjs +1 -1
- 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 +1 -1
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/mocks/file.d.mts +1 -1
- package/dist/vitest/setup.mjs +1 -1
- package/dist/workspace_resource_pb-D2njwgsE.mjs +2 -0
- package/dist/{workspace_resource_pb-BOoRts_z.mjs.map → workspace_resource_pb-D2njwgsE.mjs.map} +1 -1
- package/docs/cli-reference.md +22 -12
- package/docs/configuration.md +1 -1
- package/docs/github-actions.md +90 -24
- package/docs/migration/v2.md +70 -5
- package/docs/migration/v3.md +64 -0
- package/docs/plugin/index.md +1 -1
- package/docs/services/resolver.md +21 -0
- package/docs/services/secret.md +20 -15
- package/package.json +19 -19
- package/dist/application-B6NYnrhv.mjs +0 -199
- package/dist/application-B6NYnrhv.mjs.map +0 -1
- package/dist/application-BlbyGJsd.mjs +0 -1
- package/dist/crashreport-CgymxQDu.mjs +0 -1
- package/dist/date-B7-oyTGE.mjs.map +0 -1
- package/dist/es-builtins-BHCXINQp.mjs +0 -2
- package/dist/field-parse-BbNyotv5.mjs +0 -2
- package/dist/field-parse-BbNyotv5.mjs.map +0 -1
- package/dist/guards-ForsrxnH.mjs +0 -2
- package/dist/logger-72hM4JWZ.mjs +0 -9
- package/dist/logger-72hM4JWZ.mjs.map +0 -1
- package/dist/manager-qfbUL7ru.mjs +0 -2
- package/dist/register-ts-hook-FsCX38LQ.mjs +0 -917
- package/dist/register-ts-hook-FsCX38LQ.mjs.map +0 -1
- package/dist/registry-HlEaGvl5.mjs +0 -2
- package/dist/repl-editor-BG1aDOfH.mjs +0 -2
- package/dist/schema-BKvcWdVf.mjs +0 -2
- package/dist/service-BgrEteZ2.mjs +0 -1
- package/dist/service_pb-DKrsO1_u.mjs +0 -1
- package/dist/service_pb-DprmLNsq.mjs +0 -2
- package/dist/tailordb-ddl-Fgm2cNvT.mjs +0 -7
- package/dist/workspace_resource_pb-BOoRts_z.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# politty-completion-version: 1
|
|
2
|
-
# politty-bin-sig:
|
|
2
|
+
# politty-bin-sig: 1790566423
|
|
3
3
|
# politty-bin-path: /home/runner/work/sdk/sdk/node_modules/.bin/tailor
|
|
4
4
|
# program: tailor
|
|
5
5
|
# shell: zsh
|
|
@@ -1031,7 +1031,11 @@ __tailor_worker_complete_api_list() {
|
|
|
1031
1031
|
if (( _after_dd )); then return 0; fi
|
|
1032
1032
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1033
1033
|
local -a _opts=()
|
|
1034
|
-
|
|
1034
|
+
if (( ! _any_opt_used )); then
|
|
1035
|
+
_opts+=("--help:Show help")
|
|
1036
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1037
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1038
|
+
fi
|
|
1035
1039
|
__tailor_worker_cdescribe 'options' _opts
|
|
1036
1040
|
return 0
|
|
1037
1041
|
fi
|
|
@@ -1051,7 +1055,11 @@ __tailor_worker_complete_api_inspect() {
|
|
|
1051
1055
|
fi
|
|
1052
1056
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1053
1057
|
local -a _opts=()
|
|
1054
|
-
|
|
1058
|
+
if (( ! _any_opt_used )); then
|
|
1059
|
+
_opts+=("--help:Show help")
|
|
1060
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1061
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1062
|
+
fi
|
|
1055
1063
|
__tailor_worker_cdescribe 'options' _opts
|
|
1056
1064
|
return 0
|
|
1057
1065
|
fi
|
|
@@ -1147,7 +1155,11 @@ __tailor_worker_complete_api() {
|
|
|
1147
1155
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
1148
1156
|
__tailor_worker_not_used "--body" "-b" "--b" && _opts+=("--body:Request body as JSON.")
|
|
1149
1157
|
_opts+=("--field:Set a body field as \`key=value\` (repeatable; dotted keys nest). Overrides --body.")
|
|
1150
|
-
|
|
1158
|
+
if (( ! _any_opt_used )); then
|
|
1159
|
+
_opts+=("--help:Show help")
|
|
1160
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1161
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1162
|
+
fi
|
|
1151
1163
|
__tailor_worker_cdescribe 'options' _opts
|
|
1152
1164
|
return 0
|
|
1153
1165
|
fi
|
|
@@ -1176,7 +1188,11 @@ __tailor_worker_complete_auth_status() {
|
|
|
1176
1188
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1177
1189
|
local -a _opts=()
|
|
1178
1190
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1179
|
-
|
|
1191
|
+
if (( ! _any_opt_used )); then
|
|
1192
|
+
_opts+=("--help:Show help")
|
|
1193
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1194
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1195
|
+
fi
|
|
1180
1196
|
__tailor_worker_cdescribe 'options' _opts
|
|
1181
1197
|
return 0
|
|
1182
1198
|
fi
|
|
@@ -1189,7 +1205,11 @@ __tailor_worker_complete_auth_token() {
|
|
|
1189
1205
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1190
1206
|
local -a _opts=()
|
|
1191
1207
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1192
|
-
|
|
1208
|
+
if (( ! _any_opt_used )); then
|
|
1209
|
+
_opts+=("--help:Show help")
|
|
1210
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1211
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1212
|
+
fi
|
|
1193
1213
|
__tailor_worker_cdescribe 'options' _opts
|
|
1194
1214
|
return 0
|
|
1195
1215
|
fi
|
|
@@ -1201,7 +1221,11 @@ __tailor_worker_complete_auth() {
|
|
|
1201
1221
|
if (( _after_dd )); then return 0; fi
|
|
1202
1222
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1203
1223
|
local -a _opts=()
|
|
1204
|
-
|
|
1224
|
+
if (( ! _any_opt_used )); then
|
|
1225
|
+
_opts+=("--help:Show help")
|
|
1226
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1227
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1228
|
+
fi
|
|
1205
1229
|
__tailor_worker_cdescribe 'options' _opts
|
|
1206
1230
|
return 0
|
|
1207
1231
|
fi
|
|
@@ -1221,7 +1245,11 @@ __tailor_worker_complete_authconnection_authorize() {
|
|
|
1221
1245
|
__tailor_worker_not_used "--scopes" && _opts+=("--scopes:OAuth2 scopes to request (comma-separated)")
|
|
1222
1246
|
__tailor_worker_not_used "--port" && _opts+=("--port:Local callback server port")
|
|
1223
1247
|
__tailor_worker_not_used "--no-browser" "--noBrowser" && _opts+=("--no-browser:Don't open browser automatically")
|
|
1224
|
-
|
|
1248
|
+
if (( ! _any_opt_used )); then
|
|
1249
|
+
_opts+=("--help:Show help")
|
|
1250
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1251
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1252
|
+
fi
|
|
1225
1253
|
__tailor_worker_cdescribe 'options' _opts
|
|
1226
1254
|
return 0
|
|
1227
1255
|
fi
|
|
@@ -1243,7 +1271,11 @@ __tailor_worker_complete_authconnection_list() {
|
|
|
1243
1271
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1244
1272
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
1245
1273
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
1246
|
-
|
|
1274
|
+
if (( ! _any_opt_used )); then
|
|
1275
|
+
_opts+=("--help:Show help")
|
|
1276
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1277
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1278
|
+
fi
|
|
1247
1279
|
__tailor_worker_cdescribe 'options' _opts
|
|
1248
1280
|
return 0
|
|
1249
1281
|
fi
|
|
@@ -1257,7 +1289,11 @@ __tailor_worker_complete_authconnection_open() {
|
|
|
1257
1289
|
local -a _opts=()
|
|
1258
1290
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
1259
1291
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1260
|
-
|
|
1292
|
+
if (( ! _any_opt_used )); then
|
|
1293
|
+
_opts+=("--help:Show help")
|
|
1294
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1295
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1296
|
+
fi
|
|
1261
1297
|
__tailor_worker_cdescribe 'options' _opts
|
|
1262
1298
|
return 0
|
|
1263
1299
|
fi
|
|
@@ -1273,7 +1309,11 @@ __tailor_worker_complete_authconnection_revoke() {
|
|
|
1273
1309
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1274
1310
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Auth connection name")
|
|
1275
1311
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
1276
|
-
|
|
1312
|
+
if (( ! _any_opt_used )); then
|
|
1313
|
+
_opts+=("--help:Show help")
|
|
1314
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1315
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1316
|
+
fi
|
|
1277
1317
|
__tailor_worker_cdescribe 'options' _opts
|
|
1278
1318
|
return 0
|
|
1279
1319
|
fi
|
|
@@ -1289,7 +1329,11 @@ __tailor_worker_complete_authconnection_delete() {
|
|
|
1289
1329
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1290
1330
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Auth connection name")
|
|
1291
1331
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
1292
|
-
|
|
1332
|
+
if (( ! _any_opt_used )); then
|
|
1333
|
+
_opts+=("--help:Show help")
|
|
1334
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1335
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1336
|
+
fi
|
|
1293
1337
|
__tailor_worker_cdescribe 'options' _opts
|
|
1294
1338
|
return 0
|
|
1295
1339
|
fi
|
|
@@ -1301,7 +1345,11 @@ __tailor_worker_complete_authconnection() {
|
|
|
1301
1345
|
if (( _after_dd )); then return 0; fi
|
|
1302
1346
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1303
1347
|
local -a _opts=()
|
|
1304
|
-
|
|
1348
|
+
if (( ! _any_opt_used )); then
|
|
1349
|
+
_opts+=("--help:Show help")
|
|
1350
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1351
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1352
|
+
fi
|
|
1305
1353
|
__tailor_worker_cdescribe 'options' _opts
|
|
1306
1354
|
return 0
|
|
1307
1355
|
fi
|
|
@@ -1323,7 +1371,11 @@ __tailor_worker_complete_crashreport_list() {
|
|
|
1323
1371
|
local -a _opts=()
|
|
1324
1372
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
1325
1373
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
1326
|
-
|
|
1374
|
+
if (( ! _any_opt_used )); then
|
|
1375
|
+
_opts+=("--help:Show help")
|
|
1376
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1377
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1378
|
+
fi
|
|
1327
1379
|
__tailor_worker_cdescribe 'options' _opts
|
|
1328
1380
|
return 0
|
|
1329
1381
|
fi
|
|
@@ -1364,7 +1416,11 @@ __tailor_worker_complete_crashreport_send() {
|
|
|
1364
1416
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1365
1417
|
local -a _opts=()
|
|
1366
1418
|
__tailor_worker_not_used "--file" && _opts+=("--file:Path to the crash report file")
|
|
1367
|
-
|
|
1419
|
+
if (( ! _any_opt_used )); then
|
|
1420
|
+
_opts+=("--help:Show help")
|
|
1421
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1422
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1423
|
+
fi
|
|
1368
1424
|
__tailor_worker_cdescribe 'options' _opts
|
|
1369
1425
|
return 0
|
|
1370
1426
|
fi
|
|
@@ -1376,7 +1432,11 @@ __tailor_worker_complete_crashreport() {
|
|
|
1376
1432
|
if (( _after_dd )); then return 0; fi
|
|
1377
1433
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1378
1434
|
local -a _opts=()
|
|
1379
|
-
|
|
1435
|
+
if (( ! _any_opt_used )); then
|
|
1436
|
+
_opts+=("--help:Show help")
|
|
1437
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1438
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1439
|
+
fi
|
|
1380
1440
|
__tailor_worker_cdescribe 'options' _opts
|
|
1381
1441
|
return 0
|
|
1382
1442
|
fi
|
|
@@ -1432,7 +1492,11 @@ __tailor_worker_complete_deploy() {
|
|
|
1432
1492
|
__tailor_worker_not_used "--no-validate" "--noValidate" && _opts+=("--no-validate:Skip client-side validation against platform resource constraints")
|
|
1433
1493
|
__tailor_worker_not_used "--no-cache" "--noCache" && _opts+=("--no-cache:Disable bundle caching for this run")
|
|
1434
1494
|
__tailor_worker_not_used "--clean-cache" "--cleanCache" && _opts+=("--clean-cache:Clean the bundle cache before building")
|
|
1435
|
-
|
|
1495
|
+
if (( ! _any_opt_used )); then
|
|
1496
|
+
_opts+=("--help:Show help")
|
|
1497
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1498
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1499
|
+
fi
|
|
1436
1500
|
__tailor_worker_cdescribe 'options' _opts
|
|
1437
1501
|
return 0
|
|
1438
1502
|
fi
|
|
@@ -1458,7 +1522,11 @@ __tailor_worker_complete_executor_trigger() {
|
|
|
1458
1522
|
__tailor_worker_not_used "--interval" "-i" "--i" && _opts+=("--interval:Polling interval when using --wait (e.g., '3s', '500ms', '1m')")
|
|
1459
1523
|
__tailor_worker_not_used "--timeout" "-t" "--t" && _opts+=("--timeout:Maximum time to wait when using --wait (e.g., '30s', '5m')")
|
|
1460
1524
|
__tailor_worker_not_used "--logs" "-l" "--l" && _opts+=("--logs:Display function execution logs after completion (requires --wait)")
|
|
1461
|
-
|
|
1525
|
+
if (( ! _any_opt_used )); then
|
|
1526
|
+
_opts+=("--help:Show help")
|
|
1527
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1528
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1529
|
+
fi
|
|
1462
1530
|
__tailor_worker_cdescribe 'options' _opts
|
|
1463
1531
|
return 0
|
|
1464
1532
|
fi
|
|
@@ -1498,7 +1566,11 @@ __tailor_worker_complete_executor_jobs() {
|
|
|
1498
1566
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
1499
1567
|
__tailor_worker_not_used "--limit" && _opts+=("--limit:Maximum number of jobs to list (0\: unlimited, default\: 50) (list mode only)")
|
|
1500
1568
|
__tailor_worker_not_used "--logs" "-l" "--l" && _opts+=("--logs:Display function execution logs after completion (requires --wait)")
|
|
1501
|
-
|
|
1569
|
+
if (( ! _any_opt_used )); then
|
|
1570
|
+
_opts+=("--help:Show help")
|
|
1571
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1572
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1573
|
+
fi
|
|
1502
1574
|
__tailor_worker_cdescribe 'options' _opts
|
|
1503
1575
|
return 0
|
|
1504
1576
|
fi
|
|
@@ -1526,7 +1598,11 @@ __tailor_worker_complete_executor_list() {
|
|
|
1526
1598
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1527
1599
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
1528
1600
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
1529
|
-
|
|
1601
|
+
if (( ! _any_opt_used )); then
|
|
1602
|
+
_opts+=("--help:Show help")
|
|
1603
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1604
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1605
|
+
fi
|
|
1530
1606
|
__tailor_worker_cdescribe 'options' _opts
|
|
1531
1607
|
return 0
|
|
1532
1608
|
fi
|
|
@@ -1546,7 +1622,11 @@ __tailor_worker_complete_executor_get() {
|
|
|
1546
1622
|
local -a _opts=()
|
|
1547
1623
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
1548
1624
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1549
|
-
|
|
1625
|
+
if (( ! _any_opt_used )); then
|
|
1626
|
+
_opts+=("--help:Show help")
|
|
1627
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1628
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1629
|
+
fi
|
|
1550
1630
|
__tailor_worker_cdescribe 'options' _opts
|
|
1551
1631
|
return 0
|
|
1552
1632
|
fi
|
|
@@ -1572,7 +1652,11 @@ __tailor_worker_complete_executor_webhook_list() {
|
|
|
1572
1652
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1573
1653
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
1574
1654
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
1575
|
-
|
|
1655
|
+
if (( ! _any_opt_used )); then
|
|
1656
|
+
_opts+=("--help:Show help")
|
|
1657
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1658
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1659
|
+
fi
|
|
1576
1660
|
__tailor_worker_cdescribe 'options' _opts
|
|
1577
1661
|
return 0
|
|
1578
1662
|
fi
|
|
@@ -1584,7 +1668,11 @@ __tailor_worker_complete_executor_webhook() {
|
|
|
1584
1668
|
if (( _after_dd )); then return 0; fi
|
|
1585
1669
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1586
1670
|
local -a _opts=()
|
|
1587
|
-
|
|
1671
|
+
if (( ! _any_opt_used )); then
|
|
1672
|
+
_opts+=("--help:Show help")
|
|
1673
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1674
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1675
|
+
fi
|
|
1588
1676
|
__tailor_worker_cdescribe 'options' _opts
|
|
1589
1677
|
return 0
|
|
1590
1678
|
fi
|
|
@@ -1598,7 +1686,11 @@ __tailor_worker_complete_executor() {
|
|
|
1598
1686
|
if (( _after_dd )); then return 0; fi
|
|
1599
1687
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1600
1688
|
local -a _opts=()
|
|
1601
|
-
|
|
1689
|
+
if (( ! _any_opt_used )); then
|
|
1690
|
+
_opts+=("--help:Show help")
|
|
1691
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1692
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1693
|
+
fi
|
|
1602
1694
|
__tailor_worker_cdescribe 'options' _opts
|
|
1603
1695
|
return 0
|
|
1604
1696
|
fi
|
|
@@ -1615,7 +1707,11 @@ __tailor_worker_complete_function_get() {
|
|
|
1615
1707
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
1616
1708
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1617
1709
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Function name")
|
|
1618
|
-
|
|
1710
|
+
if (( ! _any_opt_used )); then
|
|
1711
|
+
_opts+=("--help:Show help")
|
|
1712
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1713
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1714
|
+
fi
|
|
1619
1715
|
__tailor_worker_cdescribe 'options' _opts
|
|
1620
1716
|
return 0
|
|
1621
1717
|
fi
|
|
@@ -1637,7 +1733,11 @@ __tailor_worker_complete_function_list() {
|
|
|
1637
1733
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1638
1734
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
1639
1735
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
1640
|
-
|
|
1736
|
+
if (( ! _any_opt_used )); then
|
|
1737
|
+
_opts+=("--help:Show help")
|
|
1738
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1739
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1740
|
+
fi
|
|
1641
1741
|
__tailor_worker_cdescribe 'options' _opts
|
|
1642
1742
|
return 0
|
|
1643
1743
|
fi
|
|
@@ -1668,7 +1768,11 @@ __tailor_worker_complete_function_logs() {
|
|
|
1668
1768
|
__tailor_worker_not_used "--follow" "-f" "--f" && _opts+=("--follow:Keep polling a running execution and print new log entries as they arrive (detail mode only)")
|
|
1669
1769
|
__tailor_worker_not_used "--interval" "-i" "--i" && _opts+=("--interval:Polling interval for --follow (e.g., '3s', '500ms', '1m')")
|
|
1670
1770
|
__tailor_worker_not_used "--timeout" "-t" "--t" && _opts+=("--timeout:Maximum time to keep following (e.g., '30s', '10m'); unbounded by default")
|
|
1671
|
-
|
|
1771
|
+
if (( ! _any_opt_used )); then
|
|
1772
|
+
_opts+=("--help:Show help")
|
|
1773
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1774
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1775
|
+
fi
|
|
1672
1776
|
__tailor_worker_cdescribe 'options' _opts
|
|
1673
1777
|
return 0
|
|
1674
1778
|
fi
|
|
@@ -1697,7 +1801,11 @@ __tailor_worker_complete_function_run() {
|
|
|
1697
1801
|
__tailor_worker_not_used "--machine-user" "--machineUser" "-m" "--m" && _opts+=("--machine-user:Machine user name for authentication. Falls back to the active profile's default machine user.")
|
|
1698
1802
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to SDK config file")
|
|
1699
1803
|
__tailor_worker_not_used "--allow-schema-drift" "--allowSchemaDrift" && _opts+=("--allow-schema-drift:Run a scaffolded script even when its schema snapshot no longer matches")
|
|
1700
|
-
|
|
1804
|
+
if (( ! _any_opt_used )); then
|
|
1805
|
+
_opts+=("--help:Show help")
|
|
1806
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1807
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1808
|
+
fi
|
|
1701
1809
|
__tailor_worker_cdescribe 'options' _opts
|
|
1702
1810
|
return 0
|
|
1703
1811
|
fi
|
|
@@ -1752,7 +1860,11 @@ __tailor_worker_complete_function_script() {
|
|
|
1752
1860
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
1753
1861
|
__tailor_worker_not_used "--namespace" && _opts+=("--namespace:Target TailorDB namespace (required when the config does not pin one)")
|
|
1754
1862
|
__tailor_worker_not_used "--remote" && _opts+=("--remote:Generate script-scoped DB types from the deployed schema")
|
|
1755
|
-
|
|
1863
|
+
if (( ! _any_opt_used )); then
|
|
1864
|
+
_opts+=("--help:Show help")
|
|
1865
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1866
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1867
|
+
fi
|
|
1756
1868
|
__tailor_worker_cdescribe 'options' _opts
|
|
1757
1869
|
return 0
|
|
1758
1870
|
fi
|
|
@@ -1768,7 +1880,11 @@ __tailor_worker_complete_function() {
|
|
|
1768
1880
|
if (( _after_dd )); then return 0; fi
|
|
1769
1881
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1770
1882
|
local -a _opts=()
|
|
1771
|
-
|
|
1883
|
+
if (( ! _any_opt_used )); then
|
|
1884
|
+
_opts+=("--help:Show help")
|
|
1885
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1886
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1887
|
+
fi
|
|
1772
1888
|
__tailor_worker_cdescribe 'options' _opts
|
|
1773
1889
|
return 0
|
|
1774
1890
|
fi
|
|
@@ -1783,7 +1899,11 @@ __tailor_worker_complete_generate() {
|
|
|
1783
1899
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1784
1900
|
local -a _opts=()
|
|
1785
1901
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to SDK config file")
|
|
1786
|
-
|
|
1902
|
+
if (( ! _any_opt_used )); then
|
|
1903
|
+
_opts+=("--help:Show help")
|
|
1904
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1905
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1906
|
+
fi
|
|
1787
1907
|
__tailor_worker_cdescribe 'options' _opts
|
|
1788
1908
|
return 0
|
|
1789
1909
|
fi
|
|
@@ -1802,7 +1922,11 @@ __tailor_worker_complete_init() {
|
|
|
1802
1922
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1803
1923
|
local -a _opts=()
|
|
1804
1924
|
__tailor_worker_not_used "--template" "-t" "--t" && _opts+=("--template:Template name")
|
|
1805
|
-
|
|
1925
|
+
if (( ! _any_opt_used )); then
|
|
1926
|
+
_opts+=("--help:Show help")
|
|
1927
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1928
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1929
|
+
fi
|
|
1806
1930
|
__tailor_worker_cdescribe 'options' _opts
|
|
1807
1931
|
return 0
|
|
1808
1932
|
fi
|
|
@@ -1822,7 +1946,11 @@ __tailor_worker_complete_login() {
|
|
|
1822
1946
|
__tailor_worker_not_used "--machine-user" "--machineUser" && _opts+=("--machine-user:Login as a platform machine user.")
|
|
1823
1947
|
__tailor_worker_not_used "--client-id" "--clientId" && _opts+=("--client-id:Client ID")
|
|
1824
1948
|
__tailor_worker_not_used "--client-secret" "--clientSecret" && _opts+=("--client-secret:Client secret")
|
|
1825
|
-
|
|
1949
|
+
if (( ! _any_opt_used )); then
|
|
1950
|
+
_opts+=("--help:Show help")
|
|
1951
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1952
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1953
|
+
fi
|
|
1826
1954
|
__tailor_worker_cdescribe 'options' _opts
|
|
1827
1955
|
return 0
|
|
1828
1956
|
fi
|
|
@@ -1835,7 +1963,11 @@ __tailor_worker_complete_logout() {
|
|
|
1835
1963
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1836
1964
|
local -a _opts=()
|
|
1837
1965
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile whose platform settings should be used for logout.")
|
|
1838
|
-
|
|
1966
|
+
if (( ! _any_opt_used )); then
|
|
1967
|
+
_opts+=("--help:Show help")
|
|
1968
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
1969
|
+
_opts+=("--help-json:Show help as JSON")
|
|
1970
|
+
fi
|
|
1839
1971
|
__tailor_worker_cdescribe 'options' _opts
|
|
1840
1972
|
return 0
|
|
1841
1973
|
fi
|
|
@@ -1884,7 +2016,11 @@ __tailor_worker_complete_machineuser_list() {
|
|
|
1884
2016
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
1885
2017
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
1886
2018
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
1887
|
-
|
|
2019
|
+
if (( ! _any_opt_used )); then
|
|
2020
|
+
_opts+=("--help:Show help")
|
|
2021
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2022
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2023
|
+
fi
|
|
1888
2024
|
__tailor_worker_cdescribe 'options' _opts
|
|
1889
2025
|
return 0
|
|
1890
2026
|
fi
|
|
@@ -1933,7 +2069,11 @@ __tailor_worker_complete_machineuser_token() {
|
|
|
1933
2069
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
1934
2070
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
1935
2071
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
1936
|
-
|
|
2072
|
+
if (( ! _any_opt_used )); then
|
|
2073
|
+
_opts+=("--help:Show help")
|
|
2074
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2075
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2076
|
+
fi
|
|
1937
2077
|
__tailor_worker_cdescribe 'options' _opts
|
|
1938
2078
|
return 0
|
|
1939
2079
|
fi
|
|
@@ -1949,7 +2089,11 @@ __tailor_worker_complete_machineuser() {
|
|
|
1949
2089
|
if (( _after_dd )); then return 0; fi
|
|
1950
2090
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
1951
2091
|
local -a _opts=()
|
|
1952
|
-
|
|
2092
|
+
if (( ! _any_opt_used )); then
|
|
2093
|
+
_opts+=("--help:Show help")
|
|
2094
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2095
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2096
|
+
fi
|
|
1953
2097
|
__tailor_worker_cdescribe 'options' _opts
|
|
1954
2098
|
return 0
|
|
1955
2099
|
fi
|
|
@@ -2000,7 +2144,11 @@ __tailor_worker_complete_oauth2client_list() {
|
|
|
2000
2144
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
2001
2145
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
2002
2146
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
2003
|
-
|
|
2147
|
+
if (( ! _any_opt_used )); then
|
|
2148
|
+
_opts+=("--help:Show help")
|
|
2149
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2150
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2151
|
+
fi
|
|
2004
2152
|
__tailor_worker_cdescribe 'options' _opts
|
|
2005
2153
|
return 0
|
|
2006
2154
|
fi
|
|
@@ -2049,7 +2197,11 @@ __tailor_worker_complete_oauth2client_get() {
|
|
|
2049
2197
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
2050
2198
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2051
2199
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
2052
|
-
|
|
2200
|
+
if (( ! _any_opt_used )); then
|
|
2201
|
+
_opts+=("--help:Show help")
|
|
2202
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2203
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2204
|
+
fi
|
|
2053
2205
|
__tailor_worker_cdescribe 'options' _opts
|
|
2054
2206
|
return 0
|
|
2055
2207
|
fi
|
|
@@ -2065,7 +2217,11 @@ __tailor_worker_complete_oauth2client() {
|
|
|
2065
2217
|
if (( _after_dd )); then return 0; fi
|
|
2066
2218
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2067
2219
|
local -a _opts=()
|
|
2068
|
-
|
|
2220
|
+
if (( ! _any_opt_used )); then
|
|
2221
|
+
_opts+=("--help:Show help")
|
|
2222
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2223
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2224
|
+
fi
|
|
2069
2225
|
__tailor_worker_cdescribe 'options' _opts
|
|
2070
2226
|
return 0
|
|
2071
2227
|
fi
|
|
@@ -2110,7 +2266,11 @@ __tailor_worker_complete_open() {
|
|
|
2110
2266
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
2111
2267
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2112
2268
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
2113
|
-
|
|
2269
|
+
if (( ! _any_opt_used )); then
|
|
2270
|
+
_opts+=("--help:Show help")
|
|
2271
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2272
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2273
|
+
fi
|
|
2114
2274
|
__tailor_worker_cdescribe 'options' _opts
|
|
2115
2275
|
return 0
|
|
2116
2276
|
fi
|
|
@@ -2125,7 +2285,11 @@ __tailor_worker_complete_organization_folder_create() {
|
|
|
2125
2285
|
__tailor_worker_not_used "--organization-id" "--organizationId" "-o" "--o" && _opts+=("--organization-id:Organization ID")
|
|
2126
2286
|
__tailor_worker_not_used "--parent-folder-id" "--parentFolderId" && _opts+=("--parent-folder-id:Parent folder ID")
|
|
2127
2287
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Folder name")
|
|
2128
|
-
|
|
2288
|
+
if (( ! _any_opt_used )); then
|
|
2289
|
+
_opts+=("--help:Show help")
|
|
2290
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2291
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2292
|
+
fi
|
|
2129
2293
|
__tailor_worker_cdescribe 'options' _opts
|
|
2130
2294
|
return 0
|
|
2131
2295
|
fi
|
|
@@ -2140,7 +2304,11 @@ __tailor_worker_complete_organization_folder_delete() {
|
|
|
2140
2304
|
__tailor_worker_not_used "--organization-id" "--organizationId" "-o" "--o" && _opts+=("--organization-id:Organization ID")
|
|
2141
2305
|
__tailor_worker_not_used "--folder-id" "--folderId" "-f" "--f" && _opts+=("--folder-id:Folder ID")
|
|
2142
2306
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
2143
|
-
|
|
2307
|
+
if (( ! _any_opt_used )); then
|
|
2308
|
+
_opts+=("--help:Show help")
|
|
2309
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2310
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2311
|
+
fi
|
|
2144
2312
|
__tailor_worker_cdescribe 'options' _opts
|
|
2145
2313
|
return 0
|
|
2146
2314
|
fi
|
|
@@ -2154,7 +2322,11 @@ __tailor_worker_complete_organization_folder_get() {
|
|
|
2154
2322
|
local -a _opts=()
|
|
2155
2323
|
__tailor_worker_not_used "--organization-id" "--organizationId" "-o" "--o" && _opts+=("--organization-id:Organization ID")
|
|
2156
2324
|
__tailor_worker_not_used "--folder-id" "--folderId" "-f" "--f" && _opts+=("--folder-id:Folder ID")
|
|
2157
|
-
|
|
2325
|
+
if (( ! _any_opt_used )); then
|
|
2326
|
+
_opts+=("--help:Show help")
|
|
2327
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2328
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2329
|
+
fi
|
|
2158
2330
|
__tailor_worker_cdescribe 'options' _opts
|
|
2159
2331
|
return 0
|
|
2160
2332
|
fi
|
|
@@ -2176,7 +2348,11 @@ __tailor_worker_complete_organization_folder_list() {
|
|
|
2176
2348
|
__tailor_worker_not_used "--parent-folder-id" "--parentFolderId" && _opts+=("--parent-folder-id:Parent folder ID to list children of")
|
|
2177
2349
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
2178
2350
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
2179
|
-
|
|
2351
|
+
if (( ! _any_opt_used )); then
|
|
2352
|
+
_opts+=("--help:Show help")
|
|
2353
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2354
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2355
|
+
fi
|
|
2180
2356
|
__tailor_worker_cdescribe 'options' _opts
|
|
2181
2357
|
return 0
|
|
2182
2358
|
fi
|
|
@@ -2191,7 +2367,11 @@ __tailor_worker_complete_organization_folder_update() {
|
|
|
2191
2367
|
__tailor_worker_not_used "--organization-id" "--organizationId" "-o" "--o" && _opts+=("--organization-id:Organization ID")
|
|
2192
2368
|
__tailor_worker_not_used "--folder-id" "--folderId" "-f" "--f" && _opts+=("--folder-id:Folder ID")
|
|
2193
2369
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:New folder name")
|
|
2194
|
-
|
|
2370
|
+
if (( ! _any_opt_used )); then
|
|
2371
|
+
_opts+=("--help:Show help")
|
|
2372
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2373
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2374
|
+
fi
|
|
2195
2375
|
__tailor_worker_cdescribe 'options' _opts
|
|
2196
2376
|
return 0
|
|
2197
2377
|
fi
|
|
@@ -2203,7 +2383,11 @@ __tailor_worker_complete_organization_folder() {
|
|
|
2203
2383
|
if (( _after_dd )); then return 0; fi
|
|
2204
2384
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2205
2385
|
local -a _opts=()
|
|
2206
|
-
|
|
2386
|
+
if (( ! _any_opt_used )); then
|
|
2387
|
+
_opts+=("--help:Show help")
|
|
2388
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2389
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2390
|
+
fi
|
|
2207
2391
|
__tailor_worker_cdescribe 'options' _opts
|
|
2208
2392
|
return 0
|
|
2209
2393
|
fi
|
|
@@ -2218,7 +2402,11 @@ __tailor_worker_complete_organization_get() {
|
|
|
2218
2402
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2219
2403
|
local -a _opts=()
|
|
2220
2404
|
__tailor_worker_not_used "--organization-id" "--organizationId" "-o" "--o" && _opts+=("--organization-id:Organization ID")
|
|
2221
|
-
|
|
2405
|
+
if (( ! _any_opt_used )); then
|
|
2406
|
+
_opts+=("--help:Show help")
|
|
2407
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2408
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2409
|
+
fi
|
|
2222
2410
|
__tailor_worker_cdescribe 'options' _opts
|
|
2223
2411
|
return 0
|
|
2224
2412
|
fi
|
|
@@ -2231,7 +2419,11 @@ __tailor_worker_complete_organization_list() {
|
|
|
2231
2419
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2232
2420
|
local -a _opts=()
|
|
2233
2421
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of organizations to list")
|
|
2234
|
-
|
|
2422
|
+
if (( ! _any_opt_used )); then
|
|
2423
|
+
_opts+=("--help:Show help")
|
|
2424
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2425
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2426
|
+
fi
|
|
2235
2427
|
__tailor_worker_cdescribe 'options' _opts
|
|
2236
2428
|
return 0
|
|
2237
2429
|
fi
|
|
@@ -2245,7 +2437,11 @@ __tailor_worker_complete_organization_tree() {
|
|
|
2245
2437
|
local -a _opts=()
|
|
2246
2438
|
__tailor_worker_not_used "--organization-id" "--organizationId" "-o" "--o" && _opts+=("--organization-id:Organization ID (show all if omitted)")
|
|
2247
2439
|
__tailor_worker_not_used "--depth" "-d" "--d" && _opts+=("--depth:Maximum folder depth to display")
|
|
2248
|
-
|
|
2440
|
+
if (( ! _any_opt_used )); then
|
|
2441
|
+
_opts+=("--help:Show help")
|
|
2442
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2443
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2444
|
+
fi
|
|
2249
2445
|
__tailor_worker_cdescribe 'options' _opts
|
|
2250
2446
|
return 0
|
|
2251
2447
|
fi
|
|
@@ -2259,7 +2455,11 @@ __tailor_worker_complete_organization_update() {
|
|
|
2259
2455
|
local -a _opts=()
|
|
2260
2456
|
__tailor_worker_not_used "--organization-id" "--organizationId" "-o" "--o" && _opts+=("--organization-id:Organization ID")
|
|
2261
2457
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:New organization name")
|
|
2262
|
-
|
|
2458
|
+
if (( ! _any_opt_used )); then
|
|
2459
|
+
_opts+=("--help:Show help")
|
|
2460
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2461
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2462
|
+
fi
|
|
2263
2463
|
__tailor_worker_cdescribe 'options' _opts
|
|
2264
2464
|
return 0
|
|
2265
2465
|
fi
|
|
@@ -2271,7 +2471,11 @@ __tailor_worker_complete_organization() {
|
|
|
2271
2471
|
if (( _after_dd )); then return 0; fi
|
|
2272
2472
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2273
2473
|
local -a _opts=()
|
|
2274
|
-
|
|
2474
|
+
if (( ! _any_opt_used )); then
|
|
2475
|
+
_opts+=("--help:Show help")
|
|
2476
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2477
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2478
|
+
fi
|
|
2275
2479
|
__tailor_worker_cdescribe 'options' _opts
|
|
2276
2480
|
return 0
|
|
2277
2481
|
fi
|
|
@@ -2285,7 +2489,11 @@ __tailor_worker_complete_plugin_list() {
|
|
|
2285
2489
|
if (( _after_dd )); then return 0; fi
|
|
2286
2490
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2287
2491
|
local -a _opts=()
|
|
2288
|
-
|
|
2492
|
+
if (( ! _any_opt_used )); then
|
|
2493
|
+
_opts+=("--help:Show help")
|
|
2494
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2495
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2496
|
+
fi
|
|
2289
2497
|
__tailor_worker_cdescribe 'options' _opts
|
|
2290
2498
|
return 0
|
|
2291
2499
|
fi
|
|
@@ -2297,7 +2505,11 @@ __tailor_worker_complete_plugin() {
|
|
|
2297
2505
|
if (( _after_dd )); then return 0; fi
|
|
2298
2506
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2299
2507
|
local -a _opts=()
|
|
2300
|
-
|
|
2508
|
+
if (( ! _any_opt_used )); then
|
|
2509
|
+
_opts+=("--help:Show help")
|
|
2510
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2511
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2512
|
+
fi
|
|
2301
2513
|
__tailor_worker_cdescribe 'options' _opts
|
|
2302
2514
|
return 0
|
|
2303
2515
|
fi
|
|
@@ -2335,7 +2547,11 @@ __tailor_worker_complete_profile_create() {
|
|
|
2335
2547
|
__tailor_worker_not_used "--platform-url" "--platformUrl" && _opts+=("--platform-url:Platform API base URL for this profile.")
|
|
2336
2548
|
__tailor_worker_not_used "--oauth2-client-id" "--oauth2ClientId" && _opts+=("--oauth2-client-id:OAuth2 client ID for logging in to this profile's platform.")
|
|
2337
2549
|
__tailor_worker_not_used "--console-url" "--consoleUrl" && _opts+=("--console-url:Console base URL for this profile.")
|
|
2338
|
-
|
|
2550
|
+
if (( ! _any_opt_used )); then
|
|
2551
|
+
_opts+=("--help:Show help")
|
|
2552
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2553
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2554
|
+
fi
|
|
2339
2555
|
__tailor_worker_cdescribe 'options' _opts
|
|
2340
2556
|
return 0
|
|
2341
2557
|
fi
|
|
@@ -2357,7 +2573,11 @@ __tailor_worker_complete_profile_delete() {
|
|
|
2357
2573
|
fi
|
|
2358
2574
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2359
2575
|
local -a _opts=()
|
|
2360
|
-
|
|
2576
|
+
if (( ! _any_opt_used )); then
|
|
2577
|
+
_opts+=("--help:Show help")
|
|
2578
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2579
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2580
|
+
fi
|
|
2361
2581
|
__tailor_worker_cdescribe 'options' _opts
|
|
2362
2582
|
return 0
|
|
2363
2583
|
fi
|
|
@@ -2373,7 +2593,11 @@ __tailor_worker_complete_profile_list() {
|
|
|
2373
2593
|
if (( _after_dd )); then return 0; fi
|
|
2374
2594
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2375
2595
|
local -a _opts=()
|
|
2376
|
-
|
|
2596
|
+
if (( ! _any_opt_used )); then
|
|
2597
|
+
_opts+=("--help:Show help")
|
|
2598
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2599
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2600
|
+
fi
|
|
2377
2601
|
__tailor_worker_cdescribe 'options' _opts
|
|
2378
2602
|
return 0
|
|
2379
2603
|
fi
|
|
@@ -2409,7 +2633,11 @@ __tailor_worker_complete_profile_update() {
|
|
|
2409
2633
|
__tailor_worker_not_used "--platform-url" "--platformUrl" && _opts+=("--platform-url:Platform API base URL for this profile. Pass an empty string to clear.")
|
|
2410
2634
|
__tailor_worker_not_used "--oauth2-client-id" "--oauth2ClientId" && _opts+=("--oauth2-client-id:OAuth2 client ID for logging in to this profile's platform. Pass an empty string to clear.")
|
|
2411
2635
|
__tailor_worker_not_used "--console-url" "--consoleUrl" && _opts+=("--console-url:Console base URL for this profile. Pass an empty string to clear.")
|
|
2412
|
-
|
|
2636
|
+
if (( ! _any_opt_used )); then
|
|
2637
|
+
_opts+=("--help:Show help")
|
|
2638
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2639
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2640
|
+
fi
|
|
2413
2641
|
__tailor_worker_cdescribe 'options' _opts
|
|
2414
2642
|
return 0
|
|
2415
2643
|
fi
|
|
@@ -2425,7 +2653,11 @@ __tailor_worker_complete_profile() {
|
|
|
2425
2653
|
if (( _after_dd )); then return 0; fi
|
|
2426
2654
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2427
2655
|
local -a _opts=()
|
|
2428
|
-
|
|
2656
|
+
if (( ! _any_opt_used )); then
|
|
2657
|
+
_opts+=("--help:Show help")
|
|
2658
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2659
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2660
|
+
fi
|
|
2429
2661
|
__tailor_worker_cdescribe 'options' _opts
|
|
2430
2662
|
return 0
|
|
2431
2663
|
fi
|
|
@@ -2480,7 +2712,11 @@ __tailor_worker_complete_query() {
|
|
|
2480
2712
|
__tailor_worker_not_used "--edit" && _opts+=("--edit:Open a temporary file in your editor; omit to start REPL mode")
|
|
2481
2713
|
__tailor_worker_not_used "--machine-user" "--machineUser" "-m" "--m" && _opts+=("--machine-user:Machine user name for query execution. Falls back to the active profile's default machine user.")
|
|
2482
2714
|
__tailor_worker_not_used "--newline-on-enter" "--newlineOnEnter" && _opts+=("--newline-on-enter:REPL\: when true, Enter inserts a newline and Shift+Enter submits. Use --no-newline-on-enter to swap.")
|
|
2483
|
-
|
|
2715
|
+
if (( ! _any_opt_used )); then
|
|
2716
|
+
_opts+=("--help:Show help")
|
|
2717
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2718
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2719
|
+
fi
|
|
2484
2720
|
__tailor_worker_cdescribe 'options' _opts
|
|
2485
2721
|
return 0
|
|
2486
2722
|
fi
|
|
@@ -2524,7 +2760,11 @@ __tailor_worker_complete_remove() {
|
|
|
2524
2760
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2525
2761
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
2526
2762
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
2527
|
-
|
|
2763
|
+
if (( ! _any_opt_used )); then
|
|
2764
|
+
_opts+=("--help:Show help")
|
|
2765
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2766
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2767
|
+
fi
|
|
2528
2768
|
__tailor_worker_cdescribe 'options' _opts
|
|
2529
2769
|
return 0
|
|
2530
2770
|
fi
|
|
@@ -2544,7 +2784,11 @@ __tailor_worker_complete_secret_vault_create() {
|
|
|
2544
2784
|
local -a _opts=()
|
|
2545
2785
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
2546
2786
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2547
|
-
|
|
2787
|
+
if (( ! _any_opt_used )); then
|
|
2788
|
+
_opts+=("--help:Show help")
|
|
2789
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2790
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2791
|
+
fi
|
|
2548
2792
|
__tailor_worker_cdescribe 'options' _opts
|
|
2549
2793
|
return 0
|
|
2550
2794
|
fi
|
|
@@ -2569,7 +2813,11 @@ __tailor_worker_complete_secret_vault_delete() {
|
|
|
2569
2813
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
2570
2814
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2571
2815
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
2572
|
-
|
|
2816
|
+
if (( ! _any_opt_used )); then
|
|
2817
|
+
_opts+=("--help:Show help")
|
|
2818
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2819
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2820
|
+
fi
|
|
2573
2821
|
__tailor_worker_cdescribe 'options' _opts
|
|
2574
2822
|
return 0
|
|
2575
2823
|
fi
|
|
@@ -2595,7 +2843,11 @@ __tailor_worker_complete_secret_vault_list() {
|
|
|
2595
2843
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2596
2844
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
2597
2845
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
2598
|
-
|
|
2846
|
+
if (( ! _any_opt_used )); then
|
|
2847
|
+
_opts+=("--help:Show help")
|
|
2848
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2849
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2850
|
+
fi
|
|
2599
2851
|
__tailor_worker_cdescribe 'options' _opts
|
|
2600
2852
|
return 0
|
|
2601
2853
|
fi
|
|
@@ -2607,7 +2859,11 @@ __tailor_worker_complete_secret_vault() {
|
|
|
2607
2859
|
if (( _after_dd )); then return 0; fi
|
|
2608
2860
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2609
2861
|
local -a _opts=()
|
|
2610
|
-
|
|
2862
|
+
if (( ! _any_opt_used )); then
|
|
2863
|
+
_opts+=("--help:Show help")
|
|
2864
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2865
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2866
|
+
fi
|
|
2611
2867
|
__tailor_worker_cdescribe 'options' _opts
|
|
2612
2868
|
return 0
|
|
2613
2869
|
fi
|
|
@@ -2627,7 +2883,11 @@ __tailor_worker_complete_secret_create() {
|
|
|
2627
2883
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Secret name")
|
|
2628
2884
|
__tailor_worker_not_used "--value" "-v" "--v" && _opts+=("--value:Secret value")
|
|
2629
2885
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
2630
|
-
|
|
2886
|
+
if (( ! _any_opt_used )); then
|
|
2887
|
+
_opts+=("--help:Show help")
|
|
2888
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2889
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2890
|
+
fi
|
|
2631
2891
|
__tailor_worker_cdescribe 'options' _opts
|
|
2632
2892
|
return 0
|
|
2633
2893
|
fi
|
|
@@ -2645,7 +2905,11 @@ __tailor_worker_complete_secret_update() {
|
|
|
2645
2905
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Secret name")
|
|
2646
2906
|
__tailor_worker_not_used "--value" "-v" "--v" && _opts+=("--value:Secret value")
|
|
2647
2907
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
2648
|
-
|
|
2908
|
+
if (( ! _any_opt_used )); then
|
|
2909
|
+
_opts+=("--help:Show help")
|
|
2910
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2911
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2912
|
+
fi
|
|
2649
2913
|
__tailor_worker_cdescribe 'options' _opts
|
|
2650
2914
|
return 0
|
|
2651
2915
|
fi
|
|
@@ -2668,7 +2932,11 @@ __tailor_worker_complete_secret_list() {
|
|
|
2668
2932
|
__tailor_worker_not_used "--vault-name" "--vaultName" "-V" "--V" && _opts+=("--vault-name:Vault name")
|
|
2669
2933
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
2670
2934
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
2671
|
-
|
|
2935
|
+
if (( ! _any_opt_used )); then
|
|
2936
|
+
_opts+=("--help:Show help")
|
|
2937
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2938
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2939
|
+
fi
|
|
2672
2940
|
__tailor_worker_cdescribe 'options' _opts
|
|
2673
2941
|
return 0
|
|
2674
2942
|
fi
|
|
@@ -2685,7 +2953,11 @@ __tailor_worker_complete_secret_delete() {
|
|
|
2685
2953
|
__tailor_worker_not_used "--vault-name" "--vaultName" "-V" "--V" && _opts+=("--vault-name:Vault name")
|
|
2686
2954
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Secret name")
|
|
2687
2955
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
2688
|
-
|
|
2956
|
+
if (( ! _any_opt_used )); then
|
|
2957
|
+
_opts+=("--help:Show help")
|
|
2958
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2959
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2960
|
+
fi
|
|
2689
2961
|
__tailor_worker_cdescribe 'options' _opts
|
|
2690
2962
|
return 0
|
|
2691
2963
|
fi
|
|
@@ -2697,7 +2969,11 @@ __tailor_worker_complete_secret() {
|
|
|
2697
2969
|
if (( _after_dd )); then return 0; fi
|
|
2698
2970
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2699
2971
|
local -a _opts=()
|
|
2700
|
-
|
|
2972
|
+
if (( ! _any_opt_used )); then
|
|
2973
|
+
_opts+=("--help:Show help")
|
|
2974
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
2975
|
+
_opts+=("--help-json:Show help as JSON")
|
|
2976
|
+
fi
|
|
2701
2977
|
__tailor_worker_cdescribe 'options' _opts
|
|
2702
2978
|
return 0
|
|
2703
2979
|
fi
|
|
@@ -2742,7 +3018,11 @@ __tailor_worker_complete_show() {
|
|
|
2742
3018
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
2743
3019
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2744
3020
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
2745
|
-
|
|
3021
|
+
if (( ! _any_opt_used )); then
|
|
3022
|
+
_opts+=("--help:Show help")
|
|
3023
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3024
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3025
|
+
fi
|
|
2746
3026
|
__tailor_worker_cdescribe 'options' _opts
|
|
2747
3027
|
return 0
|
|
2748
3028
|
fi
|
|
@@ -2763,7 +3043,11 @@ __tailor_worker_complete_staticwebsite_deploy() {
|
|
|
2763
3043
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2764
3044
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Static website name")
|
|
2765
3045
|
__tailor_worker_not_used "--dir" "-d" "--d" && _opts+=("--dir:Path to the static website files")
|
|
2766
|
-
|
|
3046
|
+
if (( ! _any_opt_used )); then
|
|
3047
|
+
_opts+=("--help:Show help")
|
|
3048
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3049
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3050
|
+
fi
|
|
2767
3051
|
__tailor_worker_cdescribe 'options' _opts
|
|
2768
3052
|
return 0
|
|
2769
3053
|
fi
|
|
@@ -2783,7 +3067,11 @@ __tailor_worker_complete_staticwebsite_domain_list() {
|
|
|
2783
3067
|
local -a _opts=()
|
|
2784
3068
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
2785
3069
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2786
|
-
|
|
3070
|
+
if (( ! _any_opt_used )); then
|
|
3071
|
+
_opts+=("--help:Show help")
|
|
3072
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3073
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3074
|
+
fi
|
|
2787
3075
|
__tailor_worker_cdescribe 'options' _opts
|
|
2788
3076
|
return 0
|
|
2789
3077
|
fi
|
|
@@ -2807,7 +3095,11 @@ __tailor_worker_complete_staticwebsite_domain_get() {
|
|
|
2807
3095
|
local -a _opts=()
|
|
2808
3096
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
2809
3097
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2810
|
-
|
|
3098
|
+
if (( ! _any_opt_used )); then
|
|
3099
|
+
_opts+=("--help:Show help")
|
|
3100
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3101
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3102
|
+
fi
|
|
2811
3103
|
__tailor_worker_cdescribe 'options' _opts
|
|
2812
3104
|
return 0
|
|
2813
3105
|
fi
|
|
@@ -2823,7 +3115,11 @@ __tailor_worker_complete_staticwebsite_domain() {
|
|
|
2823
3115
|
if (( _after_dd )); then return 0; fi
|
|
2824
3116
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2825
3117
|
local -a _opts=()
|
|
2826
|
-
|
|
3118
|
+
if (( ! _any_opt_used )); then
|
|
3119
|
+
_opts+=("--help:Show help")
|
|
3120
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3121
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3122
|
+
fi
|
|
2827
3123
|
__tailor_worker_cdescribe 'options' _opts
|
|
2828
3124
|
return 0
|
|
2829
3125
|
fi
|
|
@@ -2847,7 +3143,11 @@ __tailor_worker_complete_staticwebsite_list() {
|
|
|
2847
3143
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2848
3144
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
2849
3145
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
2850
|
-
|
|
3146
|
+
if (( ! _any_opt_used )); then
|
|
3147
|
+
_opts+=("--help:Show help")
|
|
3148
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3149
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3150
|
+
fi
|
|
2851
3151
|
__tailor_worker_cdescribe 'options' _opts
|
|
2852
3152
|
return 0
|
|
2853
3153
|
fi
|
|
@@ -2867,7 +3167,11 @@ __tailor_worker_complete_staticwebsite_get() {
|
|
|
2867
3167
|
local -a _opts=()
|
|
2868
3168
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
2869
3169
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
2870
|
-
|
|
3170
|
+
if (( ! _any_opt_used )); then
|
|
3171
|
+
_opts+=("--help:Show help")
|
|
3172
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3173
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3174
|
+
fi
|
|
2871
3175
|
__tailor_worker_cdescribe 'options' _opts
|
|
2872
3176
|
return 0
|
|
2873
3177
|
fi
|
|
@@ -2883,7 +3187,11 @@ __tailor_worker_complete_staticwebsite() {
|
|
|
2883
3187
|
if (( _after_dd )); then return 0; fi
|
|
2884
3188
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
2885
3189
|
local -a _opts=()
|
|
2886
|
-
|
|
3190
|
+
if (( ! _any_opt_used )); then
|
|
3191
|
+
_opts+=("--help:Show help")
|
|
3192
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3193
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3194
|
+
fi
|
|
2887
3195
|
__tailor_worker_cdescribe 'options' _opts
|
|
2888
3196
|
return 0
|
|
2889
3197
|
fi
|
|
@@ -2937,7 +3245,11 @@ __tailor_worker_complete_tailordb_truncate() {
|
|
|
2937
3245
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
2938
3246
|
__tailor_worker_not_used "--all" "-a" "--a" && _opts+=("--all:Truncate all tables in all owned namespaces (excludes external namespaces)")
|
|
2939
3247
|
__tailor_worker_not_used "--namespace" "-n" "--n" && _opts+=("--namespace:Truncate all tables in specified namespace")
|
|
2940
|
-
|
|
3248
|
+
if (( ! _any_opt_used )); then
|
|
3249
|
+
_opts+=("--help:Show help")
|
|
3250
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3251
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3252
|
+
fi
|
|
2941
3253
|
__tailor_worker_cdescribe 'options' _opts
|
|
2942
3254
|
return 0
|
|
2943
3255
|
fi
|
|
@@ -2990,7 +3302,11 @@ __tailor_worker_complete_tailordb_migration_generate() {
|
|
|
2990
3302
|
_opts+=("--rename:Record a field, table, or nested member rename instead of remove + add (format\: \"Table.oldField\:newField\", \"OldTable\:NewTable\", or \"Table.field.oldMember\:newMember\"; repeatable). Renames require a migration script that copies the data.")
|
|
2991
3303
|
_opts+=("--drop:Confirm that a removed field, table, or nested member is a genuine removal, not a rename (format\: \"Table.field\", \"Table\", or \"Table.field.member\"; repeatable). Required in non-interactive runs for a removal with rename candidates.")
|
|
2992
3304
|
_opts+=("--expand-contract:Convert a field type, or a single value into an array, through a temporary field (format\: \"Table.field\"; repeatable). Generates two migrations.")
|
|
2993
|
-
|
|
3305
|
+
if (( ! _any_opt_used )); then
|
|
3306
|
+
_opts+=("--help:Show help")
|
|
3307
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3308
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3309
|
+
fi
|
|
2994
3310
|
__tailor_worker_cdescribe 'options' _opts
|
|
2995
3311
|
return 0
|
|
2996
3312
|
fi
|
|
@@ -3035,7 +3351,11 @@ __tailor_worker_complete_tailordb_migration_rebaseline() {
|
|
|
3035
3351
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
3036
3352
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
3037
3353
|
__tailor_worker_not_used "--namespace" "-n" "--n" && _opts+=("--namespace:Target TailorDB namespace (required if multiple namespaces exist)")
|
|
3038
|
-
|
|
3354
|
+
if (( ! _any_opt_used )); then
|
|
3355
|
+
_opts+=("--help:Show help")
|
|
3356
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3357
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3358
|
+
fi
|
|
3039
3359
|
__tailor_worker_cdescribe 'options' _opts
|
|
3040
3360
|
return 0
|
|
3041
3361
|
fi
|
|
@@ -3086,7 +3406,11 @@ __tailor_worker_complete_tailordb_migration_script() {
|
|
|
3086
3406
|
__tailor_worker_not_used "--no-script" "--noScript" && _opts+=("--no-script:Record that this migration intentionally runs without a migration script (requires --reason)")
|
|
3087
3407
|
__tailor_worker_not_used "--reason" && _opts+=("--reason:Reason why no migration script is needed (used with --no-script)")
|
|
3088
3408
|
__tailor_worker_not_used "--with-test" "--withTest" && _opts+=("--with-test:Also add the migrate.test.ts and migrate.pglite.test.ts scaffolds")
|
|
3089
|
-
|
|
3409
|
+
if (( ! _any_opt_used )); then
|
|
3410
|
+
_opts+=("--help:Show help")
|
|
3411
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3412
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3413
|
+
fi
|
|
3090
3414
|
__tailor_worker_cdescribe 'options' _opts
|
|
3091
3415
|
return 0
|
|
3092
3416
|
fi
|
|
@@ -3141,7 +3465,11 @@ __tailor_worker_complete_tailordb_migration_set() {
|
|
|
3141
3465
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
3142
3466
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
3143
3467
|
__tailor_worker_not_used "--namespace" "-n" "--n" && _opts+=("--namespace:Target TailorDB namespace (required if multiple namespaces exist)")
|
|
3144
|
-
|
|
3468
|
+
if (( ! _any_opt_used )); then
|
|
3469
|
+
_opts+=("--help:Show help")
|
|
3470
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3471
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3472
|
+
fi
|
|
3145
3473
|
__tailor_worker_cdescribe 'options' _opts
|
|
3146
3474
|
return 0
|
|
3147
3475
|
fi
|
|
@@ -3189,7 +3517,11 @@ __tailor_worker_complete_tailordb_migration_status() {
|
|
|
3189
3517
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3190
3518
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
3191
3519
|
__tailor_worker_not_used "--namespace" "-n" "--n" && _opts+=("--namespace:Target TailorDB namespace (shows all namespaces if not specified)")
|
|
3192
|
-
|
|
3520
|
+
if (( ! _any_opt_used )); then
|
|
3521
|
+
_opts+=("--help:Show help")
|
|
3522
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3523
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3524
|
+
fi
|
|
3193
3525
|
__tailor_worker_cdescribe 'options' _opts
|
|
3194
3526
|
return 0
|
|
3195
3527
|
fi
|
|
@@ -3240,7 +3572,11 @@ __tailor_worker_complete_tailordb_migration_sync() {
|
|
|
3240
3572
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
3241
3573
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
3242
3574
|
__tailor_worker_not_used "--namespace" "-n" "--n" && _opts+=("--namespace:Target TailorDB namespace (required if multiple namespaces exist)")
|
|
3243
|
-
|
|
3575
|
+
if (( ! _any_opt_used )); then
|
|
3576
|
+
_opts+=("--help:Show help")
|
|
3577
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3578
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3579
|
+
fi
|
|
3244
3580
|
__tailor_worker_cdescribe 'options' _opts
|
|
3245
3581
|
return 0
|
|
3246
3582
|
fi
|
|
@@ -3324,7 +3660,11 @@ __tailor_worker_complete_tailordb_migration_test() {
|
|
|
3324
3660
|
__tailor_worker_not_used "--assert" && _opts+=("--assert:Path to a TypeScript assertion script to run after migrations")
|
|
3325
3661
|
__tailor_worker_not_used "--assert-namespace" "--assertNamespace" && _opts+=("--assert-namespace:TailorDB namespace exposed to the assertion script")
|
|
3326
3662
|
__tailor_worker_not_used "--machine-user" "--machineUser" && _opts+=("--machine-user:Machine user for seed and assertion script execution")
|
|
3327
|
-
|
|
3663
|
+
if (( ! _any_opt_used )); then
|
|
3664
|
+
_opts+=("--help:Show help")
|
|
3665
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3666
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3667
|
+
fi
|
|
3328
3668
|
__tailor_worker_cdescribe 'options' _opts
|
|
3329
3669
|
return 0
|
|
3330
3670
|
fi
|
|
@@ -3369,7 +3709,11 @@ __tailor_worker_complete_tailordb_migration_validate() {
|
|
|
3369
3709
|
__tailor_worker_not_used "--config" "-c" "--c" && _opts+=("--config:Path to Tailor config file")
|
|
3370
3710
|
__tailor_worker_not_used "--namespace" "-n" "--n" && _opts+=("--namespace:Target TailorDB namespace (validates all namespaces if not specified)")
|
|
3371
3711
|
__tailor_worker_not_used "--strict" && _opts+=("--strict:Also fail when a pending migration can drop data without an acknowledgment")
|
|
3372
|
-
|
|
3712
|
+
if (( ! _any_opt_used )); then
|
|
3713
|
+
_opts+=("--help:Show help")
|
|
3714
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3715
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3716
|
+
fi
|
|
3373
3717
|
__tailor_worker_cdescribe 'options' _opts
|
|
3374
3718
|
return 0
|
|
3375
3719
|
fi
|
|
@@ -3381,7 +3725,11 @@ __tailor_worker_complete_tailordb_migration() {
|
|
|
3381
3725
|
if (( _after_dd )); then return 0; fi
|
|
3382
3726
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3383
3727
|
local -a _opts=()
|
|
3384
|
-
|
|
3728
|
+
if (( ! _any_opt_used )); then
|
|
3729
|
+
_opts+=("--help:Show help")
|
|
3730
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3731
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3732
|
+
fi
|
|
3385
3733
|
__tailor_worker_cdescribe 'options' _opts
|
|
3386
3734
|
return 0
|
|
3387
3735
|
fi
|
|
@@ -3395,7 +3743,11 @@ __tailor_worker_complete_tailordb() {
|
|
|
3395
3743
|
if (( _after_dd )); then return 0; fi
|
|
3396
3744
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3397
3745
|
local -a _opts=()
|
|
3398
|
-
|
|
3746
|
+
if (( ! _any_opt_used )); then
|
|
3747
|
+
_opts+=("--help:Show help")
|
|
3748
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3749
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3750
|
+
fi
|
|
3399
3751
|
__tailor_worker_cdescribe 'options' _opts
|
|
3400
3752
|
return 0
|
|
3401
3753
|
fi
|
|
@@ -3417,7 +3769,11 @@ __tailor_worker_complete_upgrade() {
|
|
|
3417
3769
|
__tailor_worker_not_used "--from" && _opts+=("--from:SDK version before the upgrade (e.g., 1.33.0)")
|
|
3418
3770
|
__tailor_worker_not_used "--dry-run" "--dryRun" "-d" "--d" && _opts+=("--dry-run:Preview changes without modifying files")
|
|
3419
3771
|
__tailor_worker_not_used "--path" && _opts+=("--path:Project directory to upgrade")
|
|
3420
|
-
|
|
3772
|
+
if (( ! _any_opt_used )); then
|
|
3773
|
+
_opts+=("--help:Show help")
|
|
3774
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3775
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3776
|
+
fi
|
|
3421
3777
|
__tailor_worker_cdescribe 'options' _opts
|
|
3422
3778
|
return 0
|
|
3423
3779
|
fi
|
|
@@ -3430,7 +3786,11 @@ __tailor_worker_complete_user_current() {
|
|
|
3430
3786
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3431
3787
|
local -a _opts=()
|
|
3432
3788
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3433
|
-
|
|
3789
|
+
if (( ! _any_opt_used )); then
|
|
3790
|
+
_opts+=("--help:Show help")
|
|
3791
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3792
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3793
|
+
fi
|
|
3434
3794
|
__tailor_worker_cdescribe 'options' _opts
|
|
3435
3795
|
return 0
|
|
3436
3796
|
fi
|
|
@@ -3443,7 +3803,11 @@ __tailor_worker_complete_user_list() {
|
|
|
3443
3803
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3444
3804
|
local -a _opts=()
|
|
3445
3805
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3446
|
-
|
|
3806
|
+
if (( ! _any_opt_used )); then
|
|
3807
|
+
_opts+=("--help:Show help")
|
|
3808
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3809
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3810
|
+
fi
|
|
3447
3811
|
__tailor_worker_cdescribe 'options' _opts
|
|
3448
3812
|
return 0
|
|
3449
3813
|
fi
|
|
@@ -3462,7 +3826,11 @@ __tailor_worker_complete_user_switch() {
|
|
|
3462
3826
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3463
3827
|
local -a _opts=()
|
|
3464
3828
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3465
|
-
|
|
3829
|
+
if (( ! _any_opt_used )); then
|
|
3830
|
+
_opts+=("--help:Show help")
|
|
3831
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3832
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3833
|
+
fi
|
|
3466
3834
|
__tailor_worker_cdescribe 'options' _opts
|
|
3467
3835
|
return 0
|
|
3468
3836
|
fi
|
|
@@ -3487,7 +3855,11 @@ __tailor_worker_complete_user_pat_list() {
|
|
|
3487
3855
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
3488
3856
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
3489
3857
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3490
|
-
|
|
3858
|
+
if (( ! _any_opt_used )); then
|
|
3859
|
+
_opts+=("--help:Show help")
|
|
3860
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3861
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3862
|
+
fi
|
|
3491
3863
|
__tailor_worker_cdescribe 'options' _opts
|
|
3492
3864
|
return 0
|
|
3493
3865
|
fi
|
|
@@ -3507,7 +3879,11 @@ __tailor_worker_complete_user_pat_create() {
|
|
|
3507
3879
|
local -a _opts=()
|
|
3508
3880
|
__tailor_worker_not_used "--write" "-W" "--W" && _opts+=("--write:Grant write permission (default\: read-only)")
|
|
3509
3881
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3510
|
-
|
|
3882
|
+
if (( ! _any_opt_used )); then
|
|
3883
|
+
_opts+=("--help:Show help")
|
|
3884
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3885
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3886
|
+
fi
|
|
3511
3887
|
__tailor_worker_cdescribe 'options' _opts
|
|
3512
3888
|
return 0
|
|
3513
3889
|
fi
|
|
@@ -3530,7 +3906,11 @@ __tailor_worker_complete_user_pat_delete() {
|
|
|
3530
3906
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3531
3907
|
local -a _opts=()
|
|
3532
3908
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3533
|
-
|
|
3909
|
+
if (( ! _any_opt_used )); then
|
|
3910
|
+
_opts+=("--help:Show help")
|
|
3911
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3912
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3913
|
+
fi
|
|
3534
3914
|
__tailor_worker_cdescribe 'options' _opts
|
|
3535
3915
|
return 0
|
|
3536
3916
|
fi
|
|
@@ -3554,7 +3934,11 @@ __tailor_worker_complete_user_pat_update() {
|
|
|
3554
3934
|
local -a _opts=()
|
|
3555
3935
|
__tailor_worker_not_used "--write" "-W" "--W" && _opts+=("--write:Grant write permission (if not specified, keeps read-only)")
|
|
3556
3936
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3557
|
-
|
|
3937
|
+
if (( ! _any_opt_used )); then
|
|
3938
|
+
_opts+=("--help:Show help")
|
|
3939
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3940
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3941
|
+
fi
|
|
3558
3942
|
__tailor_worker_cdescribe 'options' _opts
|
|
3559
3943
|
return 0
|
|
3560
3944
|
fi
|
|
@@ -3570,7 +3954,11 @@ __tailor_worker_complete_user_pat() {
|
|
|
3570
3954
|
if (( _after_dd )); then return 0; fi
|
|
3571
3955
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3572
3956
|
local -a _opts=()
|
|
3573
|
-
|
|
3957
|
+
if (( ! _any_opt_used )); then
|
|
3958
|
+
_opts+=("--help:Show help")
|
|
3959
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3960
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3961
|
+
fi
|
|
3574
3962
|
__tailor_worker_cdescribe 'options' _opts
|
|
3575
3963
|
return 0
|
|
3576
3964
|
fi
|
|
@@ -3584,7 +3972,11 @@ __tailor_worker_complete_user() {
|
|
|
3584
3972
|
if (( _after_dd )); then return 0; fi
|
|
3585
3973
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3586
3974
|
local -a _opts=()
|
|
3587
|
-
|
|
3975
|
+
if (( ! _any_opt_used )); then
|
|
3976
|
+
_opts+=("--help:Show help")
|
|
3977
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
3978
|
+
_opts+=("--help-json:Show help as JSON")
|
|
3979
|
+
fi
|
|
3588
3980
|
__tailor_worker_cdescribe 'options' _opts
|
|
3589
3981
|
return 0
|
|
3590
3982
|
fi
|
|
@@ -3608,7 +4000,11 @@ __tailor_worker_complete_workflow_list() {
|
|
|
3608
4000
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3609
4001
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
3610
4002
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
3611
|
-
|
|
4003
|
+
if (( ! _any_opt_used )); then
|
|
4004
|
+
_opts+=("--help:Show help")
|
|
4005
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4006
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4007
|
+
fi
|
|
3612
4008
|
__tailor_worker_cdescribe 'options' _opts
|
|
3613
4009
|
return 0
|
|
3614
4010
|
fi
|
|
@@ -3628,7 +4024,11 @@ __tailor_worker_complete_workflow_get() {
|
|
|
3628
4024
|
local -a _opts=()
|
|
3629
4025
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
3630
4026
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3631
|
-
|
|
4027
|
+
if (( ! _any_opt_used )); then
|
|
4028
|
+
_opts+=("--help:Show help")
|
|
4029
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4030
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4031
|
+
fi
|
|
3632
4032
|
__tailor_worker_cdescribe 'options' _opts
|
|
3633
4033
|
return 0
|
|
3634
4034
|
fi
|
|
@@ -3692,7 +4092,11 @@ __tailor_worker_complete_workflow_start() {
|
|
|
3692
4092
|
__tailor_worker_not_used "--timeout" "-t" "--t" && _opts+=("--timeout:Maximum time to wait (e.g., '30s', '10m')")
|
|
3693
4093
|
__tailor_worker_not_used "--until" "-u" "--u" && _opts+=("--until:Wait target (success, suspended, terminal)")
|
|
3694
4094
|
__tailor_worker_not_used "--logs" "-l" "--l" && _opts+=("--logs:Display job execution logs after completion")
|
|
3695
|
-
|
|
4095
|
+
if (( ! _any_opt_used )); then
|
|
4096
|
+
_opts+=("--help:Show help")
|
|
4097
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4098
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4099
|
+
fi
|
|
3696
4100
|
__tailor_worker_cdescribe 'options' _opts
|
|
3697
4101
|
return 0
|
|
3698
4102
|
fi
|
|
@@ -3726,7 +4130,11 @@ __tailor_worker_complete_workflow_wait() {
|
|
|
3726
4130
|
__tailor_worker_not_used "--timeout" "-t" "--t" && _opts+=("--timeout:Maximum time to wait (e.g., '30s', '10m')")
|
|
3727
4131
|
__tailor_worker_not_used "--until" "-u" "--u" && _opts+=("--until:Wait target (success, suspended, terminal)")
|
|
3728
4132
|
__tailor_worker_not_used "--logs" "-l" "--l" && _opts+=("--logs:Display job execution logs after completion")
|
|
3729
|
-
|
|
4133
|
+
if (( ! _any_opt_used )); then
|
|
4134
|
+
_opts+=("--help:Show help")
|
|
4135
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4136
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4137
|
+
fi
|
|
3730
4138
|
__tailor_worker_cdescribe 'options' _opts
|
|
3731
4139
|
return 0
|
|
3732
4140
|
fi
|
|
@@ -3769,7 +4177,11 @@ __tailor_worker_complete_workflow_executions() {
|
|
|
3769
4177
|
__tailor_worker_not_used "--timeout" "-t" "--t" && _opts+=("--timeout:Maximum time to wait (e.g., '30s', '10m')")
|
|
3770
4178
|
__tailor_worker_not_used "--until" "-u" "--u" && _opts+=("--until:Wait target (success, suspended, terminal)")
|
|
3771
4179
|
__tailor_worker_not_used "--logs" && _opts+=("--logs:Display job execution logs (detail mode only)")
|
|
3772
|
-
|
|
4180
|
+
if (( ! _any_opt_used )); then
|
|
4181
|
+
_opts+=("--help:Show help")
|
|
4182
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4183
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4184
|
+
fi
|
|
3773
4185
|
__tailor_worker_cdescribe 'options' _opts
|
|
3774
4186
|
return 0
|
|
3775
4187
|
fi
|
|
@@ -3804,7 +4216,11 @@ __tailor_worker_complete_workflow_resume() {
|
|
|
3804
4216
|
__tailor_worker_not_used "--timeout" "-t" "--t" && _opts+=("--timeout:Maximum time to wait (e.g., '30s', '10m')")
|
|
3805
4217
|
__tailor_worker_not_used "--until" "-u" "--u" && _opts+=("--until:Wait target (success, suspended, terminal)")
|
|
3806
4218
|
__tailor_worker_not_used "--logs" "-l" "--l" && _opts+=("--logs:Display job execution logs after completion")
|
|
3807
|
-
|
|
4219
|
+
if (( ! _any_opt_used )); then
|
|
4220
|
+
_opts+=("--help:Show help")
|
|
4221
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4222
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4223
|
+
fi
|
|
3808
4224
|
__tailor_worker_cdescribe 'options' _opts
|
|
3809
4225
|
return 0
|
|
3810
4226
|
fi
|
|
@@ -3820,7 +4236,11 @@ __tailor_worker_complete_workflow() {
|
|
|
3820
4236
|
if (( _after_dd )); then return 0; fi
|
|
3821
4237
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3822
4238
|
local -a _opts=()
|
|
3823
|
-
|
|
4239
|
+
if (( ! _any_opt_used )); then
|
|
4240
|
+
_opts+=("--help:Show help")
|
|
4241
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4242
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4243
|
+
fi
|
|
3824
4244
|
__tailor_worker_cdescribe 'options' _opts
|
|
3825
4245
|
return 0
|
|
3826
4246
|
fi
|
|
@@ -3837,7 +4257,11 @@ __tailor_worker_complete_workspace_app_health() {
|
|
|
3837
4257
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
3838
4258
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3839
4259
|
__tailor_worker_not_used "--name" "-n" "--n" && _opts+=("--name:Application name")
|
|
3840
|
-
|
|
4260
|
+
if (( ! _any_opt_used )); then
|
|
4261
|
+
_opts+=("--help:Show help")
|
|
4262
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4263
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4264
|
+
fi
|
|
3841
4265
|
__tailor_worker_cdescribe 'options' _opts
|
|
3842
4266
|
return 0
|
|
3843
4267
|
fi
|
|
@@ -3859,7 +4283,11 @@ __tailor_worker_complete_workspace_app_list() {
|
|
|
3859
4283
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3860
4284
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
3861
4285
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
3862
|
-
|
|
4286
|
+
if (( ! _any_opt_used )); then
|
|
4287
|
+
_opts+=("--help:Show help")
|
|
4288
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4289
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4290
|
+
fi
|
|
3863
4291
|
__tailor_worker_cdescribe 'options' _opts
|
|
3864
4292
|
return 0
|
|
3865
4293
|
fi
|
|
@@ -3871,7 +4299,11 @@ __tailor_worker_complete_workspace_app() {
|
|
|
3871
4299
|
if (( _after_dd )); then return 0; fi
|
|
3872
4300
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3873
4301
|
local -a _opts=()
|
|
3874
|
-
|
|
4302
|
+
if (( ! _any_opt_used )); then
|
|
4303
|
+
_opts+=("--help:Show help")
|
|
4304
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4305
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4306
|
+
fi
|
|
3875
4307
|
__tailor_worker_cdescribe 'options' _opts
|
|
3876
4308
|
return 0
|
|
3877
4309
|
fi
|
|
@@ -3901,7 +4333,11 @@ __tailor_worker_complete_workspace_create() {
|
|
|
3901
4333
|
__tailor_worker_not_used "--profile" && _opts+=("--profile:Workspace profile used for authentication and Platform selection")
|
|
3902
4334
|
__tailor_worker_not_used "--profile-user" "--profileUser" && _opts+=("--profile-user:User email address or machine user client ID for the profile (defaults to current user)")
|
|
3903
4335
|
__tailor_worker_not_used "--permission" && _opts+=("--permission:Profile permission (requires --profile-name). 'read' blocks all write commands while the profile is active.")
|
|
3904
|
-
|
|
4336
|
+
if (( ! _any_opt_used )); then
|
|
4337
|
+
_opts+=("--help:Show help")
|
|
4338
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4339
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4340
|
+
fi
|
|
3905
4341
|
__tailor_worker_cdescribe 'options' _opts
|
|
3906
4342
|
return 0
|
|
3907
4343
|
fi
|
|
@@ -3915,7 +4351,11 @@ __tailor_worker_complete_workspace_delete() {
|
|
|
3915
4351
|
local -a _opts=()
|
|
3916
4352
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
3917
4353
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
3918
|
-
|
|
4354
|
+
if (( ! _any_opt_used )); then
|
|
4355
|
+
_opts+=("--help:Show help")
|
|
4356
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4357
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4358
|
+
fi
|
|
3919
4359
|
__tailor_worker_cdescribe 'options' _opts
|
|
3920
4360
|
return 0
|
|
3921
4361
|
fi
|
|
@@ -3929,7 +4369,11 @@ __tailor_worker_complete_workspace_get() {
|
|
|
3929
4369
|
local -a _opts=()
|
|
3930
4370
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
3931
4371
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3932
|
-
|
|
4372
|
+
if (( ! _any_opt_used )); then
|
|
4373
|
+
_opts+=("--help:Show help")
|
|
4374
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4375
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4376
|
+
fi
|
|
3933
4377
|
__tailor_worker_cdescribe 'options' _opts
|
|
3934
4378
|
return 0
|
|
3935
4379
|
fi
|
|
@@ -3950,7 +4394,11 @@ __tailor_worker_complete_workspace_list() {
|
|
|
3950
4394
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
3951
4395
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
3952
4396
|
__tailor_worker_not_used "--profile" && _opts+=("--profile:Workspace profile used for authentication and Platform selection")
|
|
3953
|
-
|
|
4397
|
+
if (( ! _any_opt_used )); then
|
|
4398
|
+
_opts+=("--help:Show help")
|
|
4399
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4400
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4401
|
+
fi
|
|
3954
4402
|
__tailor_worker_cdescribe 'options' _opts
|
|
3955
4403
|
return 0
|
|
3956
4404
|
fi
|
|
@@ -3973,7 +4421,11 @@ __tailor_worker_complete_workspace_prune() {
|
|
|
3973
4421
|
__tailor_worker_not_used "--dry-run" "--dryRun" && _opts+=("--dry-run:List the workspaces that would be deleted without deleting them")
|
|
3974
4422
|
__tailor_worker_not_used "--profile" && _opts+=("--profile:Workspace profile used for authentication and Platform selection")
|
|
3975
4423
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
3976
|
-
|
|
4424
|
+
if (( ! _any_opt_used )); then
|
|
4425
|
+
_opts+=("--help:Show help")
|
|
4426
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4427
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4428
|
+
fi
|
|
3977
4429
|
__tailor_worker_cdescribe 'options' _opts
|
|
3978
4430
|
return 0
|
|
3979
4431
|
fi
|
|
@@ -3987,7 +4439,11 @@ __tailor_worker_complete_workspace_restore() {
|
|
|
3987
4439
|
local -a _opts=()
|
|
3988
4440
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
3989
4441
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
3990
|
-
|
|
4442
|
+
if (( ! _any_opt_used )); then
|
|
4443
|
+
_opts+=("--help:Show help")
|
|
4444
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4445
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4446
|
+
fi
|
|
3991
4447
|
__tailor_worker_cdescribe 'options' _opts
|
|
3992
4448
|
return 0
|
|
3993
4449
|
fi
|
|
@@ -4002,7 +4458,11 @@ __tailor_worker_complete_workspace_ttl_set() {
|
|
|
4002
4458
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
4003
4459
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
4004
4460
|
__tailor_worker_not_used "--ttl" && _opts+=("--ttl:Time from now until the workspace becomes prunable, such as 30m, 24h, or 7d")
|
|
4005
|
-
|
|
4461
|
+
if (( ! _any_opt_used )); then
|
|
4462
|
+
_opts+=("--help:Show help")
|
|
4463
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4464
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4465
|
+
fi
|
|
4006
4466
|
__tailor_worker_cdescribe 'options' _opts
|
|
4007
4467
|
return 0
|
|
4008
4468
|
fi
|
|
@@ -4016,7 +4476,11 @@ __tailor_worker_complete_workspace_ttl_clear() {
|
|
|
4016
4476
|
local -a _opts=()
|
|
4017
4477
|
__tailor_worker_not_used "--workspace-id" "--workspaceId" "-w" "--w" && _opts+=("--workspace-id:Workspace ID")
|
|
4018
4478
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
4019
|
-
|
|
4479
|
+
if (( ! _any_opt_used )); then
|
|
4480
|
+
_opts+=("--help:Show help")
|
|
4481
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4482
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4483
|
+
fi
|
|
4020
4484
|
__tailor_worker_cdescribe 'options' _opts
|
|
4021
4485
|
return 0
|
|
4022
4486
|
fi
|
|
@@ -4028,7 +4492,11 @@ __tailor_worker_complete_workspace_ttl() {
|
|
|
4028
4492
|
if (( _after_dd )); then return 0; fi
|
|
4029
4493
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4030
4494
|
local -a _opts=()
|
|
4031
|
-
|
|
4495
|
+
if (( ! _any_opt_used )); then
|
|
4496
|
+
_opts+=("--help:Show help")
|
|
4497
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4498
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4499
|
+
fi
|
|
4032
4500
|
__tailor_worker_cdescribe 'options' _opts
|
|
4033
4501
|
return 0
|
|
4034
4502
|
fi
|
|
@@ -4052,7 +4520,11 @@ __tailor_worker_complete_workspace_user_invite() {
|
|
|
4052
4520
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
4053
4521
|
__tailor_worker_not_used "--email" && _opts+=("--email:Email address of the user to invite")
|
|
4054
4522
|
__tailor_worker_not_used "--role" "-r" "--r" && _opts+=("--role:Role to assign (admin, editor, viewer)")
|
|
4055
|
-
|
|
4523
|
+
if (( ! _any_opt_used )); then
|
|
4524
|
+
_opts+=("--help:Show help")
|
|
4525
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4526
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4527
|
+
fi
|
|
4056
4528
|
__tailor_worker_cdescribe 'options' _opts
|
|
4057
4529
|
return 0
|
|
4058
4530
|
fi
|
|
@@ -4074,7 +4546,11 @@ __tailor_worker_complete_workspace_user_list() {
|
|
|
4074
4546
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
4075
4547
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
4076
4548
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
4077
|
-
|
|
4549
|
+
if (( ! _any_opt_used )); then
|
|
4550
|
+
_opts+=("--help:Show help")
|
|
4551
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4552
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4553
|
+
fi
|
|
4078
4554
|
__tailor_worker_cdescribe 'options' _opts
|
|
4079
4555
|
return 0
|
|
4080
4556
|
fi
|
|
@@ -4090,7 +4566,11 @@ __tailor_worker_complete_workspace_user_remove() {
|
|
|
4090
4566
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
4091
4567
|
__tailor_worker_not_used "--email" && _opts+=("--email:Email address of the user to remove")
|
|
4092
4568
|
__tailor_worker_not_used "--yes" "-y" "--y" && _opts+=("--yes:Skip confirmation prompts")
|
|
4093
|
-
|
|
4569
|
+
if (( ! _any_opt_used )); then
|
|
4570
|
+
_opts+=("--help:Show help")
|
|
4571
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4572
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4573
|
+
fi
|
|
4094
4574
|
__tailor_worker_cdescribe 'options' _opts
|
|
4095
4575
|
return 0
|
|
4096
4576
|
fi
|
|
@@ -4112,7 +4592,11 @@ __tailor_worker_complete_workspace_user_update() {
|
|
|
4112
4592
|
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
4113
4593
|
__tailor_worker_not_used "--email" && _opts+=("--email:Email address of the user to update")
|
|
4114
4594
|
__tailor_worker_not_used "--role" "-r" "--r" && _opts+=("--role:New role to assign (admin, editor, viewer)")
|
|
4115
|
-
|
|
4595
|
+
if (( ! _any_opt_used )); then
|
|
4596
|
+
_opts+=("--help:Show help")
|
|
4597
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4598
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4599
|
+
fi
|
|
4116
4600
|
__tailor_worker_cdescribe 'options' _opts
|
|
4117
4601
|
return 0
|
|
4118
4602
|
fi
|
|
@@ -4124,7 +4608,11 @@ __tailor_worker_complete_workspace_user() {
|
|
|
4124
4608
|
if (( _after_dd )); then return 0; fi
|
|
4125
4609
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4126
4610
|
local -a _opts=()
|
|
4127
|
-
|
|
4611
|
+
if (( ! _any_opt_used )); then
|
|
4612
|
+
_opts+=("--help:Show help")
|
|
4613
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4614
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4615
|
+
fi
|
|
4128
4616
|
__tailor_worker_cdescribe 'options' _opts
|
|
4129
4617
|
return 0
|
|
4130
4618
|
fi
|
|
@@ -4138,7 +4626,11 @@ __tailor_worker_complete_workspace() {
|
|
|
4138
4626
|
if (( _after_dd )); then return 0; fi
|
|
4139
4627
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4140
4628
|
local -a _opts=()
|
|
4141
|
-
|
|
4629
|
+
if (( ! _any_opt_used )); then
|
|
4630
|
+
_opts+=("--help:Show help")
|
|
4631
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4632
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4633
|
+
fi
|
|
4142
4634
|
__tailor_worker_cdescribe 'options' _opts
|
|
4143
4635
|
return 0
|
|
4144
4636
|
fi
|
|
@@ -4153,7 +4645,11 @@ __tailor_worker_complete_skills_sync() {
|
|
|
4153
4645
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4154
4646
|
local -a _opts=()
|
|
4155
4647
|
_opts+=("--exclude:Skill names to exclude from sync")
|
|
4156
|
-
|
|
4648
|
+
if (( ! _any_opt_used )); then
|
|
4649
|
+
_opts+=("--help:Show help")
|
|
4650
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4651
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4652
|
+
fi
|
|
4157
4653
|
__tailor_worker_cdescribe 'options' _opts
|
|
4158
4654
|
return 0
|
|
4159
4655
|
fi
|
|
@@ -4171,7 +4667,11 @@ __tailor_worker_complete_skills_add() {
|
|
|
4171
4667
|
fi
|
|
4172
4668
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4173
4669
|
local -a _opts=()
|
|
4174
|
-
|
|
4670
|
+
if (( ! _any_opt_used )); then
|
|
4671
|
+
_opts+=("--help:Show help")
|
|
4672
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4673
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4674
|
+
fi
|
|
4175
4675
|
__tailor_worker_cdescribe 'options' _opts
|
|
4176
4676
|
return 0
|
|
4177
4677
|
fi
|
|
@@ -4193,7 +4693,11 @@ __tailor_worker_complete_skills_remove() {
|
|
|
4193
4693
|
fi
|
|
4194
4694
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4195
4695
|
local -a _opts=()
|
|
4196
|
-
|
|
4696
|
+
if (( ! _any_opt_used )); then
|
|
4697
|
+
_opts+=("--help:Show help")
|
|
4698
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4699
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4700
|
+
fi
|
|
4197
4701
|
__tailor_worker_cdescribe 'options' _opts
|
|
4198
4702
|
return 0
|
|
4199
4703
|
fi
|
|
@@ -4209,7 +4713,11 @@ __tailor_worker_complete_skills_list() {
|
|
|
4209
4713
|
if (( _after_dd )); then return 0; fi
|
|
4210
4714
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4211
4715
|
local -a _opts=()
|
|
4212
|
-
|
|
4716
|
+
if (( ! _any_opt_used )); then
|
|
4717
|
+
_opts+=("--help:Show help")
|
|
4718
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4719
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4720
|
+
fi
|
|
4213
4721
|
__tailor_worker_cdescribe 'options' _opts
|
|
4214
4722
|
return 0
|
|
4215
4723
|
fi
|
|
@@ -4221,7 +4729,11 @@ __tailor_worker_complete_skills() {
|
|
|
4221
4729
|
if (( _after_dd )); then return 0; fi
|
|
4222
4730
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4223
4731
|
local -a _opts=()
|
|
4224
|
-
|
|
4732
|
+
if (( ! _any_opt_used )); then
|
|
4733
|
+
_opts+=("--help:Show help")
|
|
4734
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4735
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4736
|
+
fi
|
|
4225
4737
|
__tailor_worker_cdescribe 'options' _opts
|
|
4226
4738
|
return 0
|
|
4227
4739
|
fi
|
|
@@ -4249,7 +4761,11 @@ __tailor_worker_complete_completion() {
|
|
|
4249
4761
|
__tailor_worker_not_used "--static" && _opts+=("--static:Generate the legacy static completion script with command metadata baked in.")
|
|
4250
4762
|
__tailor_worker_not_used "--dispatcher" && _opts+=("--dispatcher:Generate the runtime dispatcher completion script. This is the default.")
|
|
4251
4763
|
__tailor_worker_not_used "--worker" && _opts+=("--worker:Generate an internal static worker artifact for dispatcher mode.")
|
|
4252
|
-
|
|
4764
|
+
if (( ! _any_opt_used )); then
|
|
4765
|
+
_opts+=("--help:Show help")
|
|
4766
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4767
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4768
|
+
fi
|
|
4253
4769
|
__tailor_worker_cdescribe 'options' _opts
|
|
4254
4770
|
return 0
|
|
4255
4771
|
fi
|
|
@@ -4267,7 +4783,11 @@ __tailor_worker_complete_root() {
|
|
|
4267
4783
|
if (( _after_dd )); then return 0; fi
|
|
4268
4784
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
4269
4785
|
local -a _opts=()
|
|
4270
|
-
|
|
4786
|
+
if (( ! _any_opt_used )); then
|
|
4787
|
+
_opts+=("--help:Show help")
|
|
4788
|
+
_opts+=("--help-all:Show help with all subcommand options")
|
|
4789
|
+
_opts+=("--help-json:Show help as JSON")
|
|
4790
|
+
fi
|
|
4271
4791
|
__tailor_worker_cdescribe 'options' _opts
|
|
4272
4792
|
else
|
|
4273
4793
|
local -a _subs=("api:Call Tailor Platform API endpoints directly." "auth:Authentication helpers for scripts and plugins." "authconnection:Manage auth connections." "crashreport:Manage crash reports." "deploy:Deploy your application by applying the Tailor configuration." "executor:Manage executors" "function:Manage functions" "generate:Generate files using Tailor configuration." "init:Initialize a new project using create-sdk." "login:Login to Tailor Platform." "logout:Logout from Tailor Platform." "machineuser:Manage machine users in your Tailor Platform application." "oauth2client:Manage OAuth2 clients in your Tailor Platform application." "open:Open Tailor Platform Console." "organization:Manage Tailor Platform organizations." "plugin:Manage and inspect CLI plugins (beta)." "profile:Manage workspace profiles (user + workspace combinations)." "query:Run SQL/GraphQL query." "remove:Remove all resources managed by the application from the workspace." "secret:Manage Secret Manager vaults and secrets." "show:Show information about the deployed application." "staticwebsite:Manage static websites in your workspace." "tailordb:Manage TailorDB tables and data." "upgrade:Run codemods to upgrade your project to a newer SDK version." "user:Manage Tailor Platform users." "workflow:Manage workflows and workflow executions." "workspace:Manage Tailor Platform workspaces." "skills:Manage Tailor SDK agent skills." "completion:Generate shell completion script")
|
|
@@ -4280,6 +4800,7 @@ _tailor_worker_completions() {
|
|
|
4280
4800
|
|
|
4281
4801
|
local _subcmd="" _after_dd=0 _pos_count=0 _skip_next=0
|
|
4282
4802
|
local -a _used_opts=()
|
|
4803
|
+
local _any_opt_used=0
|
|
4283
4804
|
local -A _arg_values=()
|
|
4284
4805
|
local -A _global_arg_values=()
|
|
4285
4806
|
local -A _used_field_keys=()
|
|
@@ -4294,12 +4815,14 @@ _tailor_worker_completions() {
|
|
|
4294
4815
|
if (( _after_dd )); then __tailor_worker_track_pos "$_subcmd" "$_pos_count" "$_w"; (( _pos_count++ )); (( _j++ )); continue; fi
|
|
4295
4816
|
if [[ "$_w" == -*=* ]]; then
|
|
4296
4817
|
_used_opts+=("${_w%%=*}")
|
|
4818
|
+
_any_opt_used=1
|
|
4297
4819
|
__tailor_worker_track_opt "$_subcmd" "${_w%%=*}" "${_w#*=}"
|
|
4298
4820
|
__tailor_worker_track_array_expand "$_subcmd" "${_w%%=*}" "${_w#*=}"
|
|
4299
4821
|
(( _j++ )); continue
|
|
4300
4822
|
fi
|
|
4301
4823
|
if [[ "$_w" == -* ]]; then
|
|
4302
4824
|
_used_opts+=("$_w")
|
|
4825
|
+
_any_opt_used=1
|
|
4303
4826
|
if __tailor_worker_opt_takes_value "$_subcmd" "$_w"; then
|
|
4304
4827
|
local _next="${words[_j+1]:-}"
|
|
4305
4828
|
if [[ -n "$_next" && "$_next" != -* ]]; then _skip_next=1; fi
|