@quonfig/cli 0.2.1 → 0.2.3
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/README.md +50 -50
- package/dist/commands/override.js +19 -1
- package/dist/commands/set-default.js +15 -3
- package/dist/init/schema.js +4 -1
- package/dist/util/coerce.d.ts +1 -1
- package/dist/util/coerce.js +10 -19
- package/dist/verify/map-key-order.d.ts +52 -0
- package/dist/verify/map-key-order.js +246 -0
- package/dist/verify/validate.d.ts +2 -0
- package/dist/verify/validate.js +101 -7
- package/dist/verify/value-grammar.d.ts +13 -0
- package/dist/verify/value-grammar.js +63 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/oclif.manifest.json +220 -220
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -3441,13 +3441,15 @@
|
|
|
3441
3441
|
"verify.js"
|
|
3442
3442
|
]
|
|
3443
3443
|
},
|
|
3444
|
-
"
|
|
3444
|
+
"migrate:doctor": {
|
|
3445
3445
|
"aliases": [],
|
|
3446
3446
|
"args": {},
|
|
3447
|
-
"description": "
|
|
3447
|
+
"description": "Preflight health checks for `qfg migrate`. Verifies auth, workspace provisioning, working tree, and identifier collisions.",
|
|
3448
3448
|
"examples": [
|
|
3449
|
-
"<%= config.bin %> <%= command.id %>
|
|
3450
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3449
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3450
|
+
"<%= config.bin %> <%= command.id %> --from launch --api-key $LAUNCH_API_KEY",
|
|
3451
|
+
"<%= config.bin %> <%= command.id %> --dir ./my-workspace --language node",
|
|
3452
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
3451
3453
|
],
|
|
3452
3454
|
"flags": {
|
|
3453
3455
|
"json": {
|
|
@@ -3479,53 +3481,45 @@
|
|
|
3479
3481
|
"allowNo": false,
|
|
3480
3482
|
"type": "boolean"
|
|
3481
3483
|
},
|
|
3482
|
-
"
|
|
3483
|
-
"
|
|
3484
|
-
"
|
|
3485
|
-
"helpGroup": "GLOBAL",
|
|
3486
|
-
"name": "workspace",
|
|
3484
|
+
"api-key": {
|
|
3485
|
+
"description": "Legacy SDK API key to validate against the source",
|
|
3486
|
+
"name": "api-key",
|
|
3487
3487
|
"required": false,
|
|
3488
3488
|
"hasDynamicHelp": false,
|
|
3489
3489
|
"multiple": false,
|
|
3490
3490
|
"type": "option"
|
|
3491
3491
|
},
|
|
3492
|
-
"
|
|
3493
|
-
"
|
|
3494
|
-
"
|
|
3495
|
-
"
|
|
3496
|
-
"hidden": true,
|
|
3497
|
-
"name": "profile",
|
|
3498
|
-
"required": false,
|
|
3492
|
+
"dir": {
|
|
3493
|
+
"description": "Workspace directory to check (git clean / identifier map)",
|
|
3494
|
+
"name": "dir",
|
|
3495
|
+
"default": ".",
|
|
3499
3496
|
"hasDynamicHelp": false,
|
|
3500
3497
|
"multiple": false,
|
|
3501
3498
|
"type": "option"
|
|
3502
3499
|
},
|
|
3503
|
-
"
|
|
3504
|
-
"
|
|
3505
|
-
"
|
|
3506
|
-
"
|
|
3507
|
-
"required": false,
|
|
3500
|
+
"from": {
|
|
3501
|
+
"description": "Legacy SDK to migrate from",
|
|
3502
|
+
"name": "from",
|
|
3503
|
+
"default": "launch",
|
|
3508
3504
|
"hasDynamicHelp": false,
|
|
3509
3505
|
"multiple": false,
|
|
3506
|
+
"options": [
|
|
3507
|
+
"launch"
|
|
3508
|
+
],
|
|
3510
3509
|
"type": "option"
|
|
3511
3510
|
},
|
|
3512
|
-
"
|
|
3513
|
-
"
|
|
3514
|
-
"
|
|
3515
|
-
"name": "type",
|
|
3511
|
+
"language": {
|
|
3512
|
+
"description": "Customer SDK language — used to warn when datadir mode is unavailable (e.g. javascript-browser)",
|
|
3513
|
+
"name": "language",
|
|
3516
3514
|
"required": false,
|
|
3517
3515
|
"hasDynamicHelp": false,
|
|
3518
3516
|
"multiple": false,
|
|
3519
|
-
"options": [
|
|
3520
|
-
"server",
|
|
3521
|
-
"browser"
|
|
3522
|
-
],
|
|
3523
3517
|
"type": "option"
|
|
3524
3518
|
}
|
|
3525
3519
|
},
|
|
3526
3520
|
"hasDynamicHelp": false,
|
|
3527
3521
|
"hiddenAliases": [],
|
|
3528
|
-
"id": "
|
|
3522
|
+
"id": "migrate:doctor",
|
|
3529
3523
|
"pluginAlias": "@quonfig/cli",
|
|
3530
3524
|
"pluginName": "@quonfig/cli",
|
|
3531
3525
|
"pluginType": "core",
|
|
@@ -3535,17 +3529,18 @@
|
|
|
3535
3529
|
"relativePath": [
|
|
3536
3530
|
"dist",
|
|
3537
3531
|
"commands",
|
|
3538
|
-
"
|
|
3539
|
-
"
|
|
3532
|
+
"migrate",
|
|
3533
|
+
"doctor.js"
|
|
3540
3534
|
]
|
|
3541
3535
|
},
|
|
3542
|
-
"
|
|
3536
|
+
"migrate:my-code": {
|
|
3543
3537
|
"aliases": [],
|
|
3544
3538
|
"args": {},
|
|
3545
|
-
"description": "
|
|
3539
|
+
"description": "Migrate Launch SDK call sites in your codebase to Quonfig SDK call sites (invokes the qfg-migrate-code Claude skill)",
|
|
3546
3540
|
"examples": [
|
|
3547
3541
|
"<%= config.bin %> <%= command.id %>",
|
|
3548
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3542
|
+
"<%= config.bin %> <%= command.id %> --from launch",
|
|
3543
|
+
"<%= config.bin %> <%= command.id %> --dry-run"
|
|
3549
3544
|
],
|
|
3550
3545
|
"flags": {
|
|
3551
3546
|
"json": {
|
|
@@ -3577,40 +3572,27 @@
|
|
|
3577
3572
|
"allowNo": false,
|
|
3578
3573
|
"type": "boolean"
|
|
3579
3574
|
},
|
|
3580
|
-
"
|
|
3581
|
-
"
|
|
3582
|
-
"
|
|
3583
|
-
"
|
|
3584
|
-
"
|
|
3585
|
-
"required": false,
|
|
3586
|
-
"hasDynamicHelp": false,
|
|
3587
|
-
"multiple": false,
|
|
3588
|
-
"type": "option"
|
|
3589
|
-
},
|
|
3590
|
-
"profile": {
|
|
3591
|
-
"char": "p",
|
|
3592
|
-
"description": "Deprecated: use --workspace instead",
|
|
3593
|
-
"helpGroup": "GLOBAL",
|
|
3594
|
-
"hidden": true,
|
|
3595
|
-
"name": "profile",
|
|
3596
|
-
"required": false,
|
|
3597
|
-
"hasDynamicHelp": false,
|
|
3598
|
-
"multiple": false,
|
|
3599
|
-
"type": "option"
|
|
3575
|
+
"dry-run": {
|
|
3576
|
+
"description": "Show what would be migrated without editing any files",
|
|
3577
|
+
"name": "dry-run",
|
|
3578
|
+
"allowNo": false,
|
|
3579
|
+
"type": "boolean"
|
|
3600
3580
|
},
|
|
3601
|
-
"
|
|
3602
|
-
"
|
|
3603
|
-
"
|
|
3604
|
-
"
|
|
3605
|
-
"required": false,
|
|
3581
|
+
"from": {
|
|
3582
|
+
"description": "Legacy SDK to migrate from",
|
|
3583
|
+
"name": "from",
|
|
3584
|
+
"default": "launch",
|
|
3606
3585
|
"hasDynamicHelp": false,
|
|
3607
3586
|
"multiple": false,
|
|
3587
|
+
"options": [
|
|
3588
|
+
"launch"
|
|
3589
|
+
],
|
|
3608
3590
|
"type": "option"
|
|
3609
3591
|
}
|
|
3610
3592
|
},
|
|
3611
3593
|
"hasDynamicHelp": false,
|
|
3612
3594
|
"hiddenAliases": [],
|
|
3613
|
-
"id": "
|
|
3595
|
+
"id": "migrate:my-code",
|
|
3614
3596
|
"pluginAlias": "@quonfig/cli",
|
|
3615
3597
|
"pluginName": "@quonfig/cli",
|
|
3616
3598
|
"pluginType": "core",
|
|
@@ -3620,22 +3602,18 @@
|
|
|
3620
3602
|
"relativePath": [
|
|
3621
3603
|
"dist",
|
|
3622
3604
|
"commands",
|
|
3623
|
-
"
|
|
3624
|
-
"
|
|
3605
|
+
"migrate",
|
|
3606
|
+
"my-code.js"
|
|
3625
3607
|
]
|
|
3626
3608
|
},
|
|
3627
|
-
"
|
|
3609
|
+
"migrate:status": {
|
|
3628
3610
|
"aliases": [],
|
|
3629
|
-
"args": {
|
|
3630
|
-
|
|
3631
|
-
"description": "ID of the SDK key to revoke",
|
|
3632
|
-
"name": "keyId",
|
|
3633
|
-
"required": true
|
|
3634
|
-
}
|
|
3635
|
-
},
|
|
3636
|
-
"description": "Revoke an SDK key by its ID",
|
|
3611
|
+
"args": {},
|
|
3612
|
+
"description": "Show the status of a workspace migrated with `qfg migrate`. Reads .qf/import-state.json and summarizes source, counts, and next steps.",
|
|
3637
3613
|
"examples": [
|
|
3638
|
-
"<%= config.bin %> <%= command.id %>
|
|
3614
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3615
|
+
"<%= config.bin %> <%= command.id %> --dir ./my-workspace",
|
|
3616
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
3639
3617
|
],
|
|
3640
3618
|
"flags": {
|
|
3641
3619
|
"json": {
|
|
@@ -3667,23 +3645,10 @@
|
|
|
3667
3645
|
"allowNo": false,
|
|
3668
3646
|
"type": "boolean"
|
|
3669
3647
|
},
|
|
3670
|
-
"
|
|
3671
|
-
"
|
|
3672
|
-
"
|
|
3673
|
-
"
|
|
3674
|
-
"name": "workspace",
|
|
3675
|
-
"required": false,
|
|
3676
|
-
"hasDynamicHelp": false,
|
|
3677
|
-
"multiple": false,
|
|
3678
|
-
"type": "option"
|
|
3679
|
-
},
|
|
3680
|
-
"profile": {
|
|
3681
|
-
"char": "p",
|
|
3682
|
-
"description": "Deprecated: use --workspace instead",
|
|
3683
|
-
"helpGroup": "GLOBAL",
|
|
3684
|
-
"hidden": true,
|
|
3685
|
-
"name": "profile",
|
|
3686
|
-
"required": false,
|
|
3648
|
+
"dir": {
|
|
3649
|
+
"description": "Workspace directory to inspect",
|
|
3650
|
+
"name": "dir",
|
|
3651
|
+
"default": ".",
|
|
3687
3652
|
"hasDynamicHelp": false,
|
|
3688
3653
|
"multiple": false,
|
|
3689
3654
|
"type": "option"
|
|
@@ -3691,7 +3656,7 @@
|
|
|
3691
3656
|
},
|
|
3692
3657
|
"hasDynamicHelp": false,
|
|
3693
3658
|
"hiddenAliases": [],
|
|
3694
|
-
"id": "
|
|
3659
|
+
"id": "migrate:status",
|
|
3695
3660
|
"pluginAlias": "@quonfig/cli",
|
|
3696
3661
|
"pluginName": "@quonfig/cli",
|
|
3697
3662
|
"pluginType": "core",
|
|
@@ -3701,18 +3666,17 @@
|
|
|
3701
3666
|
"relativePath": [
|
|
3702
3667
|
"dist",
|
|
3703
3668
|
"commands",
|
|
3704
|
-
"
|
|
3705
|
-
"
|
|
3669
|
+
"migrate",
|
|
3670
|
+
"status.js"
|
|
3706
3671
|
]
|
|
3707
3672
|
},
|
|
3708
|
-
"
|
|
3673
|
+
"sdk-key:create": {
|
|
3709
3674
|
"aliases": [],
|
|
3710
3675
|
"args": {},
|
|
3711
|
-
"description": "
|
|
3676
|
+
"description": "Create a new SDK key",
|
|
3712
3677
|
"examples": [
|
|
3713
|
-
"<%= config.bin %>
|
|
3714
|
-
"<%= config.bin %>
|
|
3715
|
-
"<%= config.bin %> workspace bootstrap --dir ./our-config --skip-validate"
|
|
3678
|
+
"<%= config.bin %> <%= command.id %> --environment production --type server",
|
|
3679
|
+
"<%= config.bin %> <%= command.id %> --environment staging --type browser"
|
|
3716
3680
|
],
|
|
3717
3681
|
"flags": {
|
|
3718
3682
|
"json": {
|
|
@@ -3744,30 +3708,53 @@
|
|
|
3744
3708
|
"allowNo": false,
|
|
3745
3709
|
"type": "boolean"
|
|
3746
3710
|
},
|
|
3747
|
-
"
|
|
3748
|
-
"
|
|
3749
|
-
"
|
|
3711
|
+
"workspace": {
|
|
3712
|
+
"char": "w",
|
|
3713
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3714
|
+
"helpGroup": "GLOBAL",
|
|
3715
|
+
"name": "workspace",
|
|
3750
3716
|
"required": false,
|
|
3751
3717
|
"hasDynamicHelp": false,
|
|
3752
3718
|
"multiple": false,
|
|
3753
3719
|
"type": "option"
|
|
3754
3720
|
},
|
|
3755
|
-
"
|
|
3756
|
-
"
|
|
3757
|
-
"
|
|
3758
|
-
"
|
|
3759
|
-
"
|
|
3721
|
+
"profile": {
|
|
3722
|
+
"char": "p",
|
|
3723
|
+
"description": "Deprecated: use --workspace instead",
|
|
3724
|
+
"helpGroup": "GLOBAL",
|
|
3725
|
+
"hidden": true,
|
|
3726
|
+
"name": "profile",
|
|
3727
|
+
"required": false,
|
|
3728
|
+
"hasDynamicHelp": false,
|
|
3729
|
+
"multiple": false,
|
|
3730
|
+
"type": "option"
|
|
3760
3731
|
},
|
|
3761
|
-
"
|
|
3762
|
-
"
|
|
3763
|
-
"
|
|
3764
|
-
"
|
|
3765
|
-
"
|
|
3732
|
+
"environment": {
|
|
3733
|
+
"char": "e",
|
|
3734
|
+
"description": "Environment name (e.g. production, staging)",
|
|
3735
|
+
"name": "environment",
|
|
3736
|
+
"required": false,
|
|
3737
|
+
"hasDynamicHelp": false,
|
|
3738
|
+
"multiple": false,
|
|
3739
|
+
"type": "option"
|
|
3740
|
+
},
|
|
3741
|
+
"type": {
|
|
3742
|
+
"char": "t",
|
|
3743
|
+
"description": "Key type: server (backend) or browser (frontend)",
|
|
3744
|
+
"name": "type",
|
|
3745
|
+
"required": false,
|
|
3746
|
+
"hasDynamicHelp": false,
|
|
3747
|
+
"multiple": false,
|
|
3748
|
+
"options": [
|
|
3749
|
+
"server",
|
|
3750
|
+
"browser"
|
|
3751
|
+
],
|
|
3752
|
+
"type": "option"
|
|
3766
3753
|
}
|
|
3767
3754
|
},
|
|
3768
3755
|
"hasDynamicHelp": false,
|
|
3769
3756
|
"hiddenAliases": [],
|
|
3770
|
-
"id": "
|
|
3757
|
+
"id": "sdk-key:create",
|
|
3771
3758
|
"pluginAlias": "@quonfig/cli",
|
|
3772
3759
|
"pluginName": "@quonfig/cli",
|
|
3773
3760
|
"pluginType": "core",
|
|
@@ -3777,24 +3764,17 @@
|
|
|
3777
3764
|
"relativePath": [
|
|
3778
3765
|
"dist",
|
|
3779
3766
|
"commands",
|
|
3780
|
-
"
|
|
3781
|
-
"
|
|
3767
|
+
"sdk-key",
|
|
3768
|
+
"create.js"
|
|
3782
3769
|
]
|
|
3783
3770
|
},
|
|
3784
|
-
"
|
|
3771
|
+
"sdk-key:list": {
|
|
3785
3772
|
"aliases": [],
|
|
3786
|
-
"args": {
|
|
3787
|
-
|
|
3788
|
-
"description": "Workspace slug (lowercase letters, numbers, hyphens)",
|
|
3789
|
-
"name": "slug",
|
|
3790
|
-
"required": true
|
|
3791
|
-
}
|
|
3792
|
-
},
|
|
3793
|
-
"description": "Create a new workspace. Provisions the Gitea repo and default environments, identical to the app's New Workspace UI.",
|
|
3773
|
+
"args": {},
|
|
3774
|
+
"description": "List SDK keys for your workspace",
|
|
3794
3775
|
"examples": [
|
|
3795
|
-
"<%= config.bin %> <%= command.id %>
|
|
3796
|
-
"<%= config.bin %> <%= command.id %>
|
|
3797
|
-
"<%= config.bin %> <%= command.id %> my-team --org 11111111-1111-1111-1111-111111111111"
|
|
3776
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3777
|
+
"<%= config.bin %> <%= command.id %> --environment production"
|
|
3798
3778
|
],
|
|
3799
3779
|
"flags": {
|
|
3800
3780
|
"json": {
|
|
@@ -3826,17 +3806,31 @@
|
|
|
3826
3806
|
"allowNo": false,
|
|
3827
3807
|
"type": "boolean"
|
|
3828
3808
|
},
|
|
3829
|
-
"
|
|
3830
|
-
"
|
|
3831
|
-
"
|
|
3809
|
+
"workspace": {
|
|
3810
|
+
"char": "w",
|
|
3811
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3812
|
+
"helpGroup": "GLOBAL",
|
|
3813
|
+
"name": "workspace",
|
|
3832
3814
|
"required": false,
|
|
3833
3815
|
"hasDynamicHelp": false,
|
|
3834
3816
|
"multiple": false,
|
|
3835
3817
|
"type": "option"
|
|
3836
3818
|
},
|
|
3837
|
-
"
|
|
3838
|
-
"
|
|
3839
|
-
"
|
|
3819
|
+
"profile": {
|
|
3820
|
+
"char": "p",
|
|
3821
|
+
"description": "Deprecated: use --workspace instead",
|
|
3822
|
+
"helpGroup": "GLOBAL",
|
|
3823
|
+
"hidden": true,
|
|
3824
|
+
"name": "profile",
|
|
3825
|
+
"required": false,
|
|
3826
|
+
"hasDynamicHelp": false,
|
|
3827
|
+
"multiple": false,
|
|
3828
|
+
"type": "option"
|
|
3829
|
+
},
|
|
3830
|
+
"environment": {
|
|
3831
|
+
"char": "e",
|
|
3832
|
+
"description": "Filter by environment name",
|
|
3833
|
+
"name": "environment",
|
|
3840
3834
|
"required": false,
|
|
3841
3835
|
"hasDynamicHelp": false,
|
|
3842
3836
|
"multiple": false,
|
|
@@ -3845,7 +3839,7 @@
|
|
|
3845
3839
|
},
|
|
3846
3840
|
"hasDynamicHelp": false,
|
|
3847
3841
|
"hiddenAliases": [],
|
|
3848
|
-
"id": "
|
|
3842
|
+
"id": "sdk-key:list",
|
|
3849
3843
|
"pluginAlias": "@quonfig/cli",
|
|
3850
3844
|
"pluginName": "@quonfig/cli",
|
|
3851
3845
|
"pluginType": "core",
|
|
@@ -3855,23 +3849,22 @@
|
|
|
3855
3849
|
"relativePath": [
|
|
3856
3850
|
"dist",
|
|
3857
3851
|
"commands",
|
|
3858
|
-
"
|
|
3859
|
-
"
|
|
3852
|
+
"sdk-key",
|
|
3853
|
+
"list.js"
|
|
3860
3854
|
]
|
|
3861
3855
|
},
|
|
3862
|
-
"
|
|
3856
|
+
"sdk-key:revoke": {
|
|
3863
3857
|
"aliases": [],
|
|
3864
3858
|
"args": {
|
|
3865
|
-
"
|
|
3866
|
-
"description": "
|
|
3867
|
-
"name": "
|
|
3868
|
-
"required":
|
|
3859
|
+
"keyId": {
|
|
3860
|
+
"description": "ID of the SDK key to revoke",
|
|
3861
|
+
"name": "keyId",
|
|
3862
|
+
"required": true
|
|
3869
3863
|
}
|
|
3870
3864
|
},
|
|
3871
|
-
"description": "
|
|
3865
|
+
"description": "Revoke an SDK key by its ID",
|
|
3872
3866
|
"examples": [
|
|
3873
|
-
"<%= config.bin %> <%= command.id %>"
|
|
3874
|
-
"<%= config.bin %> <%= command.id %> acme/production"
|
|
3867
|
+
"<%= config.bin %> <%= command.id %> a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
3875
3868
|
],
|
|
3876
3869
|
"flags": {
|
|
3877
3870
|
"json": {
|
|
@@ -3902,11 +3895,32 @@
|
|
|
3902
3895
|
"name": "verbose",
|
|
3903
3896
|
"allowNo": false,
|
|
3904
3897
|
"type": "boolean"
|
|
3898
|
+
},
|
|
3899
|
+
"workspace": {
|
|
3900
|
+
"char": "w",
|
|
3901
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3902
|
+
"helpGroup": "GLOBAL",
|
|
3903
|
+
"name": "workspace",
|
|
3904
|
+
"required": false,
|
|
3905
|
+
"hasDynamicHelp": false,
|
|
3906
|
+
"multiple": false,
|
|
3907
|
+
"type": "option"
|
|
3908
|
+
},
|
|
3909
|
+
"profile": {
|
|
3910
|
+
"char": "p",
|
|
3911
|
+
"description": "Deprecated: use --workspace instead",
|
|
3912
|
+
"helpGroup": "GLOBAL",
|
|
3913
|
+
"hidden": true,
|
|
3914
|
+
"name": "profile",
|
|
3915
|
+
"required": false,
|
|
3916
|
+
"hasDynamicHelp": false,
|
|
3917
|
+
"multiple": false,
|
|
3918
|
+
"type": "option"
|
|
3905
3919
|
}
|
|
3906
3920
|
},
|
|
3907
3921
|
"hasDynamicHelp": false,
|
|
3908
3922
|
"hiddenAliases": [],
|
|
3909
|
-
"id": "
|
|
3923
|
+
"id": "sdk-key:revoke",
|
|
3910
3924
|
"pluginAlias": "@quonfig/cli",
|
|
3911
3925
|
"pluginName": "@quonfig/cli",
|
|
3912
3926
|
"pluginType": "core",
|
|
@@ -3916,19 +3930,18 @@
|
|
|
3916
3930
|
"relativePath": [
|
|
3917
3931
|
"dist",
|
|
3918
3932
|
"commands",
|
|
3919
|
-
"
|
|
3920
|
-
"
|
|
3933
|
+
"sdk-key",
|
|
3934
|
+
"revoke.js"
|
|
3921
3935
|
]
|
|
3922
3936
|
},
|
|
3923
|
-
"
|
|
3937
|
+
"workspace:bootstrap": {
|
|
3924
3938
|
"aliases": [],
|
|
3925
3939
|
"args": {},
|
|
3926
|
-
"description": "
|
|
3940
|
+
"description": "Push a local git repo to Gitea as this workspace's config repository",
|
|
3927
3941
|
"examples": [
|
|
3928
|
-
"<%= config.bin %>
|
|
3929
|
-
"<%= config.bin %>
|
|
3930
|
-
"<%= config.bin %>
|
|
3931
|
-
"<%= config.bin %> <%= command.id %> --json"
|
|
3942
|
+
"<%= config.bin %> workspace bootstrap --dir ./our-config",
|
|
3943
|
+
"<%= config.bin %> workspace bootstrap --dir ./launch-migrator/output",
|
|
3944
|
+
"<%= config.bin %> workspace bootstrap --dir ./our-config --skip-validate"
|
|
3932
3945
|
],
|
|
3933
3946
|
"flags": {
|
|
3934
3947
|
"json": {
|
|
@@ -3960,45 +3973,30 @@
|
|
|
3960
3973
|
"allowNo": false,
|
|
3961
3974
|
"type": "boolean"
|
|
3962
3975
|
},
|
|
3963
|
-
"api-key": {
|
|
3964
|
-
"description": "Legacy SDK API key to validate against the source",
|
|
3965
|
-
"name": "api-key",
|
|
3966
|
-
"required": false,
|
|
3967
|
-
"hasDynamicHelp": false,
|
|
3968
|
-
"multiple": false,
|
|
3969
|
-
"type": "option"
|
|
3970
|
-
},
|
|
3971
3976
|
"dir": {
|
|
3972
|
-
"description": "
|
|
3977
|
+
"description": "Local directory to push (defaults to current directory)",
|
|
3973
3978
|
"name": "dir",
|
|
3974
|
-
"
|
|
3979
|
+
"required": false,
|
|
3975
3980
|
"hasDynamicHelp": false,
|
|
3976
3981
|
"multiple": false,
|
|
3977
3982
|
"type": "option"
|
|
3978
3983
|
},
|
|
3979
|
-
"
|
|
3980
|
-
"description": "
|
|
3981
|
-
"name": "
|
|
3982
|
-
"
|
|
3983
|
-
"
|
|
3984
|
-
"multiple": false,
|
|
3985
|
-
"options": [
|
|
3986
|
-
"launch"
|
|
3987
|
-
],
|
|
3988
|
-
"type": "option"
|
|
3984
|
+
"force": {
|
|
3985
|
+
"description": "Accepted and ignored (no-op). Bootstrap never rewrites the workspace history.",
|
|
3986
|
+
"name": "force",
|
|
3987
|
+
"allowNo": false,
|
|
3988
|
+
"type": "boolean"
|
|
3989
3989
|
},
|
|
3990
|
-
"
|
|
3991
|
-
"description": "
|
|
3992
|
-
"name": "
|
|
3993
|
-
"
|
|
3994
|
-
"
|
|
3995
|
-
"multiple": false,
|
|
3996
|
-
"type": "option"
|
|
3990
|
+
"skip-validate": {
|
|
3991
|
+
"description": "Skip config validation before pushing",
|
|
3992
|
+
"name": "skip-validate",
|
|
3993
|
+
"allowNo": false,
|
|
3994
|
+
"type": "boolean"
|
|
3997
3995
|
}
|
|
3998
3996
|
},
|
|
3999
3997
|
"hasDynamicHelp": false,
|
|
4000
3998
|
"hiddenAliases": [],
|
|
4001
|
-
"id": "
|
|
3999
|
+
"id": "workspace:bootstrap",
|
|
4002
4000
|
"pluginAlias": "@quonfig/cli",
|
|
4003
4001
|
"pluginName": "@quonfig/cli",
|
|
4004
4002
|
"pluginType": "core",
|
|
@@ -4008,18 +4006,24 @@
|
|
|
4008
4006
|
"relativePath": [
|
|
4009
4007
|
"dist",
|
|
4010
4008
|
"commands",
|
|
4011
|
-
"
|
|
4012
|
-
"
|
|
4009
|
+
"workspace",
|
|
4010
|
+
"bootstrap.js"
|
|
4013
4011
|
]
|
|
4014
4012
|
},
|
|
4015
|
-
"
|
|
4013
|
+
"workspace:create": {
|
|
4016
4014
|
"aliases": [],
|
|
4017
|
-
"args": {
|
|
4018
|
-
|
|
4015
|
+
"args": {
|
|
4016
|
+
"slug": {
|
|
4017
|
+
"description": "Workspace slug (lowercase letters, numbers, hyphens)",
|
|
4018
|
+
"name": "slug",
|
|
4019
|
+
"required": true
|
|
4020
|
+
}
|
|
4021
|
+
},
|
|
4022
|
+
"description": "Create a new workspace. Provisions the Gitea repo and default environments, identical to the app's New Workspace UI.",
|
|
4019
4023
|
"examples": [
|
|
4020
|
-
"<%= config.bin %> <%= command.id %>",
|
|
4021
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4022
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4024
|
+
"<%= config.bin %> <%= command.id %> my-team",
|
|
4025
|
+
"<%= config.bin %> <%= command.id %> lt-21-smoke --name \"Load Test 21\"",
|
|
4026
|
+
"<%= config.bin %> <%= command.id %> my-team --org 11111111-1111-1111-1111-111111111111"
|
|
4023
4027
|
],
|
|
4024
4028
|
"flags": {
|
|
4025
4029
|
"json": {
|
|
@@ -4051,27 +4055,26 @@
|
|
|
4051
4055
|
"allowNo": false,
|
|
4052
4056
|
"type": "boolean"
|
|
4053
4057
|
},
|
|
4054
|
-
"
|
|
4055
|
-
"description": "
|
|
4056
|
-
"name": "
|
|
4057
|
-
"
|
|
4058
|
-
"
|
|
4058
|
+
"name": {
|
|
4059
|
+
"description": "Human-readable display name (defaults to the slug)",
|
|
4060
|
+
"name": "name",
|
|
4061
|
+
"required": false,
|
|
4062
|
+
"hasDynamicHelp": false,
|
|
4063
|
+
"multiple": false,
|
|
4064
|
+
"type": "option"
|
|
4059
4065
|
},
|
|
4060
|
-
"
|
|
4061
|
-
"description": "
|
|
4062
|
-
"name": "
|
|
4063
|
-
"
|
|
4066
|
+
"org": {
|
|
4067
|
+
"description": "Organization UUID or slug. Required when you belong to more than one organization; inferred otherwise.",
|
|
4068
|
+
"name": "org",
|
|
4069
|
+
"required": false,
|
|
4064
4070
|
"hasDynamicHelp": false,
|
|
4065
4071
|
"multiple": false,
|
|
4066
|
-
"options": [
|
|
4067
|
-
"launch"
|
|
4068
|
-
],
|
|
4069
4072
|
"type": "option"
|
|
4070
4073
|
}
|
|
4071
4074
|
},
|
|
4072
4075
|
"hasDynamicHelp": false,
|
|
4073
4076
|
"hiddenAliases": [],
|
|
4074
|
-
"id": "
|
|
4077
|
+
"id": "workspace:create",
|
|
4075
4078
|
"pluginAlias": "@quonfig/cli",
|
|
4076
4079
|
"pluginName": "@quonfig/cli",
|
|
4077
4080
|
"pluginType": "core",
|
|
@@ -4081,18 +4084,23 @@
|
|
|
4081
4084
|
"relativePath": [
|
|
4082
4085
|
"dist",
|
|
4083
4086
|
"commands",
|
|
4084
|
-
"
|
|
4085
|
-
"
|
|
4087
|
+
"workspace",
|
|
4088
|
+
"create.js"
|
|
4086
4089
|
]
|
|
4087
4090
|
},
|
|
4088
|
-
"
|
|
4091
|
+
"workspace:switch": {
|
|
4089
4092
|
"aliases": [],
|
|
4090
|
-
"args": {
|
|
4091
|
-
|
|
4093
|
+
"args": {
|
|
4094
|
+
"slug": {
|
|
4095
|
+
"description": "Workspace pin in `<org-slug>/<workspace-slug>` form. Omit for an interactive picker.",
|
|
4096
|
+
"name": "slug",
|
|
4097
|
+
"required": false
|
|
4098
|
+
}
|
|
4099
|
+
},
|
|
4100
|
+
"description": "Switch the saved default profile to a different (org, workspace) pair",
|
|
4092
4101
|
"examples": [
|
|
4093
4102
|
"<%= config.bin %> <%= command.id %>",
|
|
4094
|
-
"<%= config.bin %> <%= command.id %>
|
|
4095
|
-
"<%= config.bin %> <%= command.id %> --json"
|
|
4103
|
+
"<%= config.bin %> <%= command.id %> acme/production"
|
|
4096
4104
|
],
|
|
4097
4105
|
"flags": {
|
|
4098
4106
|
"json": {
|
|
@@ -4123,19 +4131,11 @@
|
|
|
4123
4131
|
"name": "verbose",
|
|
4124
4132
|
"allowNo": false,
|
|
4125
4133
|
"type": "boolean"
|
|
4126
|
-
},
|
|
4127
|
-
"dir": {
|
|
4128
|
-
"description": "Workspace directory to inspect",
|
|
4129
|
-
"name": "dir",
|
|
4130
|
-
"default": ".",
|
|
4131
|
-
"hasDynamicHelp": false,
|
|
4132
|
-
"multiple": false,
|
|
4133
|
-
"type": "option"
|
|
4134
4134
|
}
|
|
4135
4135
|
},
|
|
4136
4136
|
"hasDynamicHelp": false,
|
|
4137
4137
|
"hiddenAliases": [],
|
|
4138
|
-
"id": "
|
|
4138
|
+
"id": "workspace:switch",
|
|
4139
4139
|
"pluginAlias": "@quonfig/cli",
|
|
4140
4140
|
"pluginName": "@quonfig/cli",
|
|
4141
4141
|
"pluginType": "core",
|
|
@@ -4145,10 +4145,10 @@
|
|
|
4145
4145
|
"relativePath": [
|
|
4146
4146
|
"dist",
|
|
4147
4147
|
"commands",
|
|
4148
|
-
"
|
|
4149
|
-
"
|
|
4148
|
+
"workspace",
|
|
4149
|
+
"switch.js"
|
|
4150
4150
|
]
|
|
4151
4151
|
}
|
|
4152
4152
|
},
|
|
4153
|
-
"version": "0.2.
|
|
4153
|
+
"version": "0.2.3"
|
|
4154
4154
|
}
|