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