@tailor-platform/sdk 2.12.0 → 2.13.1
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 +24 -0
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/main.mjs +18 -19
- package/dist/cli/main.mjs.map +1 -1
- package/dist/completion/zsh-worker.zsh +15 -1
- package/dist/plugin/builtin/seed/index.mjs +1 -1
- package/dist/{register-ts-hook-rBH346V_.mjs → register-ts-hook-BJmGCQAA.mjs} +10 -10
- package/dist/register-ts-hook-BJmGCQAA.mjs.map +1 -0
- package/dist/{seed-CMkupmX8.mjs → seed-CCc9Xk66.mjs} +2 -2
- package/dist/seed-CCc9Xk66.mjs.map +1 -0
- package/docs/cli/user.md +41 -14
- package/package.json +8 -8
- package/dist/register-ts-hook-rBH346V_.mjs.map +0 -1
- package/dist/seed-CMkupmX8.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# politty-completion-version: 1
|
|
2
|
-
# politty-bin-sig:
|
|
2
|
+
# politty-bin-sig: 1788699006
|
|
3
3
|
# politty-bin-path: /home/runner/work/sdk/sdk/node_modules/.bin/tailor
|
|
4
4
|
# program: tailor
|
|
5
5
|
# shell: zsh
|
|
@@ -768,8 +768,15 @@ __tailor_worker_opt_takes_value() {
|
|
|
768
768
|
tailordb:migration:validate:--namespace|tailordb:migration:validate:-n|tailordb:migration:validate:--n) return 0 ;;
|
|
769
769
|
upgrade:--from) return 0 ;;
|
|
770
770
|
upgrade:--path) return 0 ;;
|
|
771
|
+
user:current:--profile|user:current:-p|user:current:--p) return 0 ;;
|
|
772
|
+
user:list:--profile|user:list:-p|user:list:--p) return 0 ;;
|
|
773
|
+
user:switch:--profile|user:switch:-p|user:switch:--p) return 0 ;;
|
|
771
774
|
user:pat:list:--order) return 0 ;;
|
|
772
775
|
user:pat:list:--limit|user:pat:list:-l|user:pat:list:--l) return 0 ;;
|
|
776
|
+
user:pat:list:--profile|user:pat:list:-p|user:pat:list:--p) return 0 ;;
|
|
777
|
+
user:pat:create:--profile|user:pat:create:-p|user:pat:create:--p) return 0 ;;
|
|
778
|
+
user:pat:delete:--profile|user:pat:delete:-p|user:pat:delete:--p) return 0 ;;
|
|
779
|
+
user:pat:update:--profile|user:pat:update:-p|user:pat:update:--p) return 0 ;;
|
|
773
780
|
workflow:list:--workspace-id|workflow:list:--workspaceId|workflow:list:-w|workflow:list:--w) return 0 ;;
|
|
774
781
|
workflow:list:--profile|workflow:list:-p|workflow:list:--p) return 0 ;;
|
|
775
782
|
workflow:list:--order) return 0 ;;
|
|
@@ -3400,6 +3407,7 @@ __tailor_worker_complete_user_current() {
|
|
|
3400
3407
|
if (( _after_dd )); then return 0; fi
|
|
3401
3408
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3402
3409
|
local -a _opts=()
|
|
3410
|
+
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3403
3411
|
__tailor_worker_not_used "--help" && _opts+=("--help:Show help")
|
|
3404
3412
|
__tailor_worker_cdescribe 'options' _opts
|
|
3405
3413
|
return 0
|
|
@@ -3412,6 +3420,7 @@ __tailor_worker_complete_user_list() {
|
|
|
3412
3420
|
if (( _after_dd )); then return 0; fi
|
|
3413
3421
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3414
3422
|
local -a _opts=()
|
|
3423
|
+
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3415
3424
|
__tailor_worker_not_used "--help" && _opts+=("--help:Show help")
|
|
3416
3425
|
__tailor_worker_cdescribe 'options' _opts
|
|
3417
3426
|
return 0
|
|
@@ -3430,6 +3439,7 @@ __tailor_worker_complete_user_switch() {
|
|
|
3430
3439
|
fi
|
|
3431
3440
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3432
3441
|
local -a _opts=()
|
|
3442
|
+
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3433
3443
|
__tailor_worker_not_used "--help" && _opts+=("--help:Show help")
|
|
3434
3444
|
__tailor_worker_cdescribe 'options' _opts
|
|
3435
3445
|
return 0
|
|
@@ -3454,6 +3464,7 @@ __tailor_worker_complete_user_pat_list() {
|
|
|
3454
3464
|
local -a _opts=()
|
|
3455
3465
|
__tailor_worker_not_used "--order" && _opts+=("--order:Sort order (asc or desc)")
|
|
3456
3466
|
__tailor_worker_not_used "--limit" "-l" "--l" && _opts+=("--limit:Maximum number of items to return (0 or omit\: unlimited)")
|
|
3467
|
+
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3457
3468
|
__tailor_worker_not_used "--help" && _opts+=("--help:Show help")
|
|
3458
3469
|
__tailor_worker_cdescribe 'options' _opts
|
|
3459
3470
|
return 0
|
|
@@ -3473,6 +3484,7 @@ __tailor_worker_complete_user_pat_create() {
|
|
|
3473
3484
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3474
3485
|
local -a _opts=()
|
|
3475
3486
|
__tailor_worker_not_used "--write" "-W" "--W" && _opts+=("--write:Grant write permission (default\: read-only)")
|
|
3487
|
+
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3476
3488
|
__tailor_worker_not_used "--help" && _opts+=("--help:Show help")
|
|
3477
3489
|
__tailor_worker_cdescribe 'options' _opts
|
|
3478
3490
|
return 0
|
|
@@ -3495,6 +3507,7 @@ __tailor_worker_complete_user_pat_delete() {
|
|
|
3495
3507
|
fi
|
|
3496
3508
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3497
3509
|
local -a _opts=()
|
|
3510
|
+
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3498
3511
|
__tailor_worker_not_used "--help" && _opts+=("--help:Show help")
|
|
3499
3512
|
__tailor_worker_cdescribe 'options' _opts
|
|
3500
3513
|
return 0
|
|
@@ -3518,6 +3531,7 @@ __tailor_worker_complete_user_pat_update() {
|
|
|
3518
3531
|
if [[ "${words[CURRENT]}" == -* ]]; then
|
|
3519
3532
|
local -a _opts=()
|
|
3520
3533
|
__tailor_worker_not_used "--write" "-W" "--W" && _opts+=("--write:Grant write permission (if not specified, keeps read-only)")
|
|
3534
|
+
__tailor_worker_not_used "--profile" "-p" "--p" && _opts+=("--profile:Workspace profile")
|
|
3521
3535
|
__tailor_worker_not_used "--help" && _opts+=("--help:Show help")
|
|
3522
3536
|
__tailor_worker_cdescribe 'options' _opts
|
|
3523
3537
|
return 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"../../../seed-
|
|
1
|
+
import{n as e,t}from"../../../seed-CCc9Xk66.mjs";export{t as SeedGeneratorID,e as seedPlugin};
|