@quonfig/cli 0.0.48 → 0.0.49
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 +44 -44
- package/dist/migrate/local-write.js +13 -2
- package/dist/util/clone-and-stack-push.js +8 -2
- package/dist/util/git-ops.d.ts +6 -0
- package/dist/util/git-ops.js +8 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/oclif.manifest.json +156 -156
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ $ npm install -g @quonfig/cli
|
|
|
17
17
|
$ qfg COMMAND
|
|
18
18
|
running command...
|
|
19
19
|
$ qfg (--version)
|
|
20
|
-
@quonfig/cli/0.0.
|
|
20
|
+
@quonfig/cli/0.0.49 linux-x64 node-v24.4.1
|
|
21
21
|
$ qfg --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ qfg COMMAND
|
|
@@ -195,7 +195,7 @@ EXAMPLES
|
|
|
195
195
|
$ qfg activity restore my.flag --yes
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
_See code: [src/commands/activity.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
198
|
+
_See code: [src/commands/activity.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/activity.ts)_
|
|
199
199
|
|
|
200
200
|
## `qfg activity deleted`
|
|
201
201
|
|
|
@@ -224,7 +224,7 @@ EXAMPLES
|
|
|
224
224
|
$ qfg activity deleted --json
|
|
225
225
|
```
|
|
226
226
|
|
|
227
|
-
_See code: [src/commands/activity/deleted.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
227
|
+
_See code: [src/commands/activity/deleted.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/activity/deleted.ts)_
|
|
228
228
|
|
|
229
229
|
## `qfg activity feed`
|
|
230
230
|
|
|
@@ -259,7 +259,7 @@ EXAMPLES
|
|
|
259
259
|
$ qfg activity feed --json
|
|
260
260
|
```
|
|
261
261
|
|
|
262
|
-
_See code: [src/commands/activity/feed.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
262
|
+
_See code: [src/commands/activity/feed.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/activity/feed.ts)_
|
|
263
263
|
|
|
264
264
|
## `qfg activity history [NAME]`
|
|
265
265
|
|
|
@@ -293,7 +293,7 @@ EXAMPLES
|
|
|
293
293
|
$ qfg activity history request.timeout --json
|
|
294
294
|
```
|
|
295
295
|
|
|
296
|
-
_See code: [src/commands/activity/history.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
296
|
+
_See code: [src/commands/activity/history.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/activity/history.ts)_
|
|
297
297
|
|
|
298
298
|
## `qfg activity restore [NAME]`
|
|
299
299
|
|
|
@@ -332,7 +332,7 @@ EXAMPLES
|
|
|
332
332
|
$ qfg activity restore request.timeout --type config --yes
|
|
333
333
|
```
|
|
334
334
|
|
|
335
|
-
_See code: [src/commands/activity/restore.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
335
|
+
_See code: [src/commands/activity/restore.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/activity/restore.ts)_
|
|
336
336
|
|
|
337
337
|
## `qfg audit-log [NAME]`
|
|
338
338
|
|
|
@@ -360,7 +360,7 @@ EXAMPLES
|
|
|
360
360
|
$ qfg audit-log my.flag
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
-
_See code: [src/commands/audit-log.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
363
|
+
_See code: [src/commands/audit-log.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/audit-log.ts)_
|
|
364
364
|
|
|
365
365
|
## `qfg config-schema`
|
|
366
366
|
|
|
@@ -389,7 +389,7 @@ EXAMPLES
|
|
|
389
389
|
$ qfg config-schema --json-schema # full JSON Schema document (copy into your editor)
|
|
390
390
|
```
|
|
391
391
|
|
|
392
|
-
_See code: [src/commands/config-schema.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
392
|
+
_See code: [src/commands/config-schema.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/config-schema.ts)_
|
|
393
393
|
|
|
394
394
|
## `qfg create NAME`
|
|
395
395
|
|
|
@@ -474,7 +474,7 @@ EXAMPLES
|
|
|
474
474
|
$ qfg set-rollout my.new.flag --environment production --true-percent 20
|
|
475
475
|
```
|
|
476
476
|
|
|
477
|
-
_See code: [src/commands/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
477
|
+
_See code: [src/commands/create.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/create.ts)_
|
|
478
478
|
|
|
479
479
|
## `qfg delete NAME`
|
|
480
480
|
|
|
@@ -520,7 +520,7 @@ EXAMPLES
|
|
|
520
520
|
$ qfg delete my.config --yes
|
|
521
521
|
```
|
|
522
522
|
|
|
523
|
-
_See code: [src/commands/delete.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
523
|
+
_See code: [src/commands/delete.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/delete.ts)_
|
|
524
524
|
|
|
525
525
|
## `qfg flag info [NAME]`
|
|
526
526
|
|
|
@@ -723,7 +723,7 @@ EXAMPLES
|
|
|
723
723
|
$ qfg generate --targets node-ts -o ./dist # combine with targets
|
|
724
724
|
```
|
|
725
725
|
|
|
726
|
-
_See code: [src/commands/generate.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
726
|
+
_See code: [src/commands/generate.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/generate.ts)_
|
|
727
727
|
|
|
728
728
|
## `qfg generate-new-hex-key`
|
|
729
729
|
|
|
@@ -746,7 +746,7 @@ EXAMPLES
|
|
|
746
746
|
$ qfg generate-new-hex-key
|
|
747
747
|
```
|
|
748
748
|
|
|
749
|
-
_See code: [src/commands/generate-new-hex-key.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
749
|
+
_See code: [src/commands/generate-new-hex-key.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/generate-new-hex-key.ts)_
|
|
750
750
|
|
|
751
751
|
## `qfg get [NAME]`
|
|
752
752
|
|
|
@@ -778,7 +778,7 @@ EXAMPLES
|
|
|
778
778
|
$ qfg get my.config.name --environment=production
|
|
779
779
|
```
|
|
780
780
|
|
|
781
|
-
_See code: [src/commands/get.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
781
|
+
_See code: [src/commands/get.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/get.ts)_
|
|
782
782
|
|
|
783
783
|
## `qfg history NAME`
|
|
784
784
|
|
|
@@ -804,7 +804,7 @@ EXAMPLES
|
|
|
804
804
|
$ qfg history my.flag
|
|
805
805
|
```
|
|
806
806
|
|
|
807
|
-
_See code: [src/commands/history.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
807
|
+
_See code: [src/commands/history.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/history.ts)_
|
|
808
808
|
|
|
809
809
|
## `qfg info [NAME]`
|
|
810
810
|
|
|
@@ -852,7 +852,7 @@ EXAMPLES
|
|
|
852
852
|
$ qfg info my.config.name --exclude-evaluations # skip 24h stats
|
|
853
853
|
```
|
|
854
854
|
|
|
855
|
-
_See code: [src/commands/info.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
855
|
+
_See code: [src/commands/info.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/info.ts)_
|
|
856
856
|
|
|
857
857
|
## `qfg init [DIRECTORY]`
|
|
858
858
|
|
|
@@ -892,7 +892,7 @@ EXAMPLES
|
|
|
892
892
|
$ qfg init --dry-run
|
|
893
893
|
```
|
|
894
894
|
|
|
895
|
-
_See code: [src/commands/init.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
895
|
+
_See code: [src/commands/init.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/init.ts)_
|
|
896
896
|
|
|
897
897
|
## `qfg interactive`
|
|
898
898
|
|
|
@@ -922,7 +922,7 @@ EXAMPLES
|
|
|
922
922
|
$ qfg
|
|
923
923
|
```
|
|
924
924
|
|
|
925
|
-
_See code: [src/commands/interactive.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
925
|
+
_See code: [src/commands/interactive.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/interactive.ts)_
|
|
926
926
|
|
|
927
927
|
## `qfg list`
|
|
928
928
|
|
|
@@ -962,7 +962,7 @@ EXAMPLES
|
|
|
962
962
|
$ qfg list --feature-flags
|
|
963
963
|
```
|
|
964
964
|
|
|
965
|
-
_See code: [src/commands/list.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
965
|
+
_See code: [src/commands/list.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/list.ts)_
|
|
966
966
|
|
|
967
967
|
## `qfg log`
|
|
968
968
|
|
|
@@ -987,7 +987,7 @@ EXAMPLES
|
|
|
987
987
|
$ qfg log --limit 5
|
|
988
988
|
```
|
|
989
989
|
|
|
990
|
-
_See code: [src/commands/log.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
990
|
+
_See code: [src/commands/log.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/log.ts)_
|
|
991
991
|
|
|
992
992
|
## `qfg log-level NAME`
|
|
993
993
|
|
|
@@ -1052,7 +1052,7 @@ EXAMPLES
|
|
|
1052
1052
|
$ qfg log-level log-level.my-app --target=Chatty --value=INFO --environment=production
|
|
1053
1053
|
```
|
|
1054
1054
|
|
|
1055
|
-
_See code: [src/commands/log-level.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1055
|
+
_See code: [src/commands/log-level.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/log-level.ts)_
|
|
1056
1056
|
|
|
1057
1057
|
## `qfg login`
|
|
1058
1058
|
|
|
@@ -1077,7 +1077,7 @@ EXAMPLES
|
|
|
1077
1077
|
$ qfg login --profile myprofile
|
|
1078
1078
|
```
|
|
1079
1079
|
|
|
1080
|
-
_See code: [src/commands/login.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1080
|
+
_See code: [src/commands/login.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/login.ts)_
|
|
1081
1081
|
|
|
1082
1082
|
## `qfg logout`
|
|
1083
1083
|
|
|
@@ -1100,7 +1100,7 @@ EXAMPLES
|
|
|
1100
1100
|
$ qfg logout
|
|
1101
1101
|
```
|
|
1102
1102
|
|
|
1103
|
-
_See code: [src/commands/logout.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1103
|
+
_See code: [src/commands/logout.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/logout.ts)_
|
|
1104
1104
|
|
|
1105
1105
|
## `qfg migrate`
|
|
1106
1106
|
|
|
@@ -1162,7 +1162,7 @@ EXAMPLES
|
|
|
1162
1162
|
$ qfg migrate --from launch --source-api-key $LAUNCH_API_KEY --dir ./quonfig-repo --staging
|
|
1163
1163
|
```
|
|
1164
1164
|
|
|
1165
|
-
_See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1165
|
+
_See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/migrate.ts)_
|
|
1166
1166
|
|
|
1167
1167
|
## `qfg migrate doctor`
|
|
1168
1168
|
|
|
@@ -1200,7 +1200,7 @@ EXAMPLES
|
|
|
1200
1200
|
$ qfg migrate doctor --json
|
|
1201
1201
|
```
|
|
1202
1202
|
|
|
1203
|
-
_See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1203
|
+
_See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/migrate/doctor.ts)_
|
|
1204
1204
|
|
|
1205
1205
|
## `qfg migrate my-code`
|
|
1206
1206
|
|
|
@@ -1232,7 +1232,7 @@ EXAMPLES
|
|
|
1232
1232
|
$ qfg migrate my-code --dry-run
|
|
1233
1233
|
```
|
|
1234
1234
|
|
|
1235
|
-
_See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1235
|
+
_See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/migrate/my-code.ts)_
|
|
1236
1236
|
|
|
1237
1237
|
## `qfg migrate status`
|
|
1238
1238
|
|
|
@@ -1263,7 +1263,7 @@ EXAMPLES
|
|
|
1263
1263
|
$ qfg migrate status --json
|
|
1264
1264
|
```
|
|
1265
1265
|
|
|
1266
|
-
_See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1266
|
+
_See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/migrate/status.ts)_
|
|
1267
1267
|
|
|
1268
1268
|
## `qfg override [NAME] [VALUE]`
|
|
1269
1269
|
|
|
@@ -1318,7 +1318,7 @@ EXAMPLES
|
|
|
1318
1318
|
$ qfg override my.flag true --env=staging
|
|
1319
1319
|
```
|
|
1320
1320
|
|
|
1321
|
-
_See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1321
|
+
_See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/override.ts)_
|
|
1322
1322
|
|
|
1323
1323
|
## `qfg pull`
|
|
1324
1324
|
|
|
@@ -1366,7 +1366,7 @@ EXAMPLES
|
|
|
1366
1366
|
$ qfg pull # uses QUONFIG_DIR env var
|
|
1367
1367
|
```
|
|
1368
1368
|
|
|
1369
|
-
_See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1369
|
+
_See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/pull.ts)_
|
|
1370
1370
|
|
|
1371
1371
|
## `qfg push`
|
|
1372
1372
|
|
|
@@ -1415,7 +1415,7 @@ EXAMPLES
|
|
|
1415
1415
|
$ qfg push --dir ./our-config --yes
|
|
1416
1416
|
```
|
|
1417
1417
|
|
|
1418
|
-
_See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1418
|
+
_See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/push.ts)_
|
|
1419
1419
|
|
|
1420
1420
|
## `qfg run [COMMAND]`
|
|
1421
1421
|
|
|
@@ -1466,7 +1466,7 @@ EXAMPLES
|
|
|
1466
1466
|
$ qfg run --env DATABASE_URL=db.url --preserve-env --environment=staging -- npm test
|
|
1467
1467
|
```
|
|
1468
1468
|
|
|
1469
|
-
_See code: [src/commands/run.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1469
|
+
_See code: [src/commands/run.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/run.ts)_
|
|
1470
1470
|
|
|
1471
1471
|
## `qfg schema NAME`
|
|
1472
1472
|
|
|
@@ -1504,7 +1504,7 @@ EXAMPLES
|
|
|
1504
1504
|
$ qfg schema my-schema --set-json-schema=@schemas/my-schema.json --protected
|
|
1505
1505
|
```
|
|
1506
1506
|
|
|
1507
|
-
_See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1507
|
+
_See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/schema.ts)_
|
|
1508
1508
|
|
|
1509
1509
|
## `qfg sdk-key`
|
|
1510
1510
|
|
|
@@ -1531,7 +1531,7 @@ EXAMPLES
|
|
|
1531
1531
|
$ qfg sdk-key revoke <key-id>
|
|
1532
1532
|
```
|
|
1533
1533
|
|
|
1534
|
-
_See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1534
|
+
_See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/sdk-key.ts)_
|
|
1535
1535
|
|
|
1536
1536
|
## `qfg sdk-key create`
|
|
1537
1537
|
|
|
@@ -1563,7 +1563,7 @@ EXAMPLES
|
|
|
1563
1563
|
$ qfg sdk-key create --environment staging --type browser
|
|
1564
1564
|
```
|
|
1565
1565
|
|
|
1566
|
-
_See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1566
|
+
_See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/sdk-key/create.ts)_
|
|
1567
1567
|
|
|
1568
1568
|
## `qfg sdk-key list`
|
|
1569
1569
|
|
|
@@ -1592,7 +1592,7 @@ EXAMPLES
|
|
|
1592
1592
|
$ qfg sdk-key list --environment production
|
|
1593
1593
|
```
|
|
1594
1594
|
|
|
1595
|
-
_See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1595
|
+
_See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/sdk-key/list.ts)_
|
|
1596
1596
|
|
|
1597
1597
|
## `qfg sdk-key revoke KEYID`
|
|
1598
1598
|
|
|
@@ -1619,7 +1619,7 @@ EXAMPLES
|
|
|
1619
1619
|
$ qfg sdk-key revoke a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
1620
1620
|
```
|
|
1621
1621
|
|
|
1622
|
-
_See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1622
|
+
_See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/sdk-key/revoke.ts)_
|
|
1623
1623
|
|
|
1624
1624
|
## `qfg set-default [NAME]`
|
|
1625
1625
|
|
|
@@ -1690,7 +1690,7 @@ EXAMPLES
|
|
|
1690
1690
|
$ qfg pull && qfg config-schema
|
|
1691
1691
|
```
|
|
1692
1692
|
|
|
1693
|
-
_See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1693
|
+
_See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/set-default.ts)_
|
|
1694
1694
|
|
|
1695
1695
|
## `qfg set-rollout [NAME]`
|
|
1696
1696
|
|
|
@@ -1767,7 +1767,7 @@ EXAMPLES
|
|
|
1767
1767
|
$ qfg set-rollout my.variant.flag --environment production --weights "a:33,b:33,c:34" --hash-by user.id
|
|
1768
1768
|
```
|
|
1769
1769
|
|
|
1770
|
-
_See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1770
|
+
_See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/set-rollout.ts)_
|
|
1771
1771
|
|
|
1772
1772
|
## `qfg sync`
|
|
1773
1773
|
|
|
@@ -1799,7 +1799,7 @@ EXAMPLES
|
|
|
1799
1799
|
$ qfg sync --watch --dir ./our-config --interval 30
|
|
1800
1800
|
```
|
|
1801
1801
|
|
|
1802
|
-
_See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1802
|
+
_See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/sync.ts)_
|
|
1803
1803
|
|
|
1804
1804
|
## `qfg toggle [NAME]`
|
|
1805
1805
|
|
|
@@ -1901,7 +1901,7 @@ EXAMPLES
|
|
|
1901
1901
|
$ qfg verify --json
|
|
1902
1902
|
```
|
|
1903
1903
|
|
|
1904
|
-
_See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1904
|
+
_See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/verify.ts)_
|
|
1905
1905
|
|
|
1906
1906
|
## `qfg whoami`
|
|
1907
1907
|
|
|
@@ -1924,7 +1924,7 @@ EXAMPLES
|
|
|
1924
1924
|
$ qfg whoami
|
|
1925
1925
|
```
|
|
1926
1926
|
|
|
1927
|
-
_See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1927
|
+
_See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/whoami.ts)_
|
|
1928
1928
|
|
|
1929
1929
|
## `qfg workspace`
|
|
1930
1930
|
|
|
@@ -1947,7 +1947,7 @@ EXAMPLES
|
|
|
1947
1947
|
$ qfg workspace
|
|
1948
1948
|
```
|
|
1949
1949
|
|
|
1950
|
-
_See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1950
|
+
_See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/workspace.ts)_
|
|
1951
1951
|
|
|
1952
1952
|
## `qfg workspace bootstrap`
|
|
1953
1953
|
|
|
@@ -1980,7 +1980,7 @@ EXAMPLES
|
|
|
1980
1980
|
$ qfg workspace bootstrap --dir ./our-config --skip-validate
|
|
1981
1981
|
```
|
|
1982
1982
|
|
|
1983
|
-
_See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1983
|
+
_See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/workspace/bootstrap.ts)_
|
|
1984
1984
|
|
|
1985
1985
|
## `qfg workspace create SLUG`
|
|
1986
1986
|
|
|
@@ -2014,7 +2014,7 @@ EXAMPLES
|
|
|
2014
2014
|
$ qfg workspace create my-team --org 11111111-1111-1111-1111-111111111111
|
|
2015
2015
|
```
|
|
2016
2016
|
|
|
2017
|
-
_See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2017
|
+
_See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/workspace/create.ts)_
|
|
2018
2018
|
|
|
2019
2019
|
## `qfg workspace switch [SLUG]`
|
|
2020
2020
|
|
|
@@ -2042,7 +2042,7 @@ EXAMPLES
|
|
|
2042
2042
|
$ qfg workspace switch acme/production
|
|
2043
2043
|
```
|
|
2044
2044
|
|
|
2045
|
-
_See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2045
|
+
_See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.49/src/commands/workspace/switch.ts)_
|
|
2046
2046
|
<!-- commandsstop -->
|
|
2047
2047
|
|
|
2048
2048
|
## Local Development
|
|
@@ -5,10 +5,21 @@ import { writeMigrationReport } from './migration-report.js';
|
|
|
5
5
|
import { detectDuplicateKeys } from './sources/launch/translate.js';
|
|
6
6
|
import { MIGRATOR_IDENTITY, stackCommits } from '../util/clone-and-stack-push.js';
|
|
7
7
|
import { runGit, spawnGit } from '../util/git-ops.js';
|
|
8
|
+
/**
|
|
9
|
+
* True only when `dir` is itself the root of a git repo. `rev-parse --git-dir`
|
|
10
|
+
* walks UP the filesystem, so a plain `rev-parse` check returns true for any
|
|
11
|
+
* subdir of any ancestor repo — and the migrator then commits into that
|
|
12
|
+
* ancestor instead of `git init`-ing a fresh repo at `dir`. We use
|
|
13
|
+
* `--show-prefix`, which is the relative path from the enclosing toplevel
|
|
14
|
+
* down to `dir`: empty string when `dir` IS the toplevel, non-empty when it's
|
|
15
|
+
* a subdir of an ancestor repo. Avoids all the cross-platform path-string
|
|
16
|
+
* pitfalls of comparing toplevel against `dir` (macOS /var/folders symlinks,
|
|
17
|
+
* Windows 8.3 short names, case folding) (qfg-wu85).
|
|
18
|
+
*/
|
|
8
19
|
const isGitRepo = async (dir) => {
|
|
9
20
|
try {
|
|
10
|
-
await runGit(['-C', dir, 'rev-parse', '--
|
|
11
|
-
return
|
|
21
|
+
const { stdout } = await runGit(['-C', dir, 'rev-parse', '--show-prefix']);
|
|
22
|
+
return stdout.trim() === '';
|
|
12
23
|
}
|
|
13
24
|
catch {
|
|
14
25
|
return false;
|
|
@@ -33,10 +33,16 @@ const runGit = async (cwd, args) => {
|
|
|
33
33
|
throw wrapped;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* True only when `dir` is itself the root of a git repo. Uses `--show-prefix`
|
|
38
|
+
* (relative path from enclosing toplevel down to `dir`, empty when `dir` IS
|
|
39
|
+
* the toplevel) to avoid cross-platform path-string pitfalls — see the
|
|
40
|
+
* matching comment in cli/src/migrate/local-write.ts (qfg-wu85).
|
|
41
|
+
*/
|
|
36
42
|
const isGitRepo = async (dir) => {
|
|
37
43
|
try {
|
|
38
|
-
await runGitSafe(['-C', dir, 'rev-parse', '--
|
|
39
|
-
return
|
|
44
|
+
const { stdout } = await runGitSafe(['-C', dir, 'rev-parse', '--show-prefix']);
|
|
45
|
+
return stdout.trim() === '';
|
|
40
46
|
}
|
|
41
47
|
catch {
|
|
42
48
|
return false;
|
package/dist/util/git-ops.d.ts
CHANGED
|
@@ -40,6 +40,12 @@ export interface SpawnGitOptions {
|
|
|
40
40
|
*/
|
|
41
41
|
export declare const spawnGit: (args: string[], options?: SpawnGitOptions) => Promise<void>;
|
|
42
42
|
export declare const gitClone: (repoUrl: string, dir: string) => Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* True only when `dir` is itself the root of a git repo. Uses `--show-prefix`
|
|
45
|
+
* (relative path from enclosing toplevel down to `dir`, empty when `dir` IS
|
|
46
|
+
* the toplevel) to avoid cross-platform path-string pitfalls — see the
|
|
47
|
+
* matching comment in cli/src/migrate/local-write.ts (qfg-wu85).
|
|
48
|
+
*/
|
|
43
49
|
export declare const isGitRepo: (dir: string) => Promise<boolean>;
|
|
44
50
|
export declare const getRemoteUrl: (dir: string) => Promise<string | null>;
|
|
45
51
|
/**
|
package/dist/util/git-ops.js
CHANGED
|
@@ -63,10 +63,16 @@ export const spawnGit = (args, options) => new Promise((resolve, reject) => {
|
|
|
63
63
|
export const gitClone = async (repoUrl, dir) => {
|
|
64
64
|
await runGit(['clone', repoUrl, dir]);
|
|
65
65
|
};
|
|
66
|
+
/**
|
|
67
|
+
* True only when `dir` is itself the root of a git repo. Uses `--show-prefix`
|
|
68
|
+
* (relative path from enclosing toplevel down to `dir`, empty when `dir` IS
|
|
69
|
+
* the toplevel) to avoid cross-platform path-string pitfalls — see the
|
|
70
|
+
* matching comment in cli/src/migrate/local-write.ts (qfg-wu85).
|
|
71
|
+
*/
|
|
66
72
|
export const isGitRepo = async (dir) => {
|
|
67
73
|
try {
|
|
68
|
-
await runGit(['-C', dir, 'rev-parse', '--
|
|
69
|
-
return
|
|
74
|
+
const { stdout } = await runGit(['-C', dir, 'rev-parse', '--show-prefix']);
|
|
75
|
+
return stdout.trim() === '';
|
|
70
76
|
}
|
|
71
77
|
catch {
|
|
72
78
|
return false;
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.0.
|
|
1
|
+
declare const _default: "0.0.49";
|
|
2
2
|
export default _default;
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTO-GENERATED from package.json by scripts/generate-version.mjs — do not edit.
|
|
2
|
-
export default '0.0.
|
|
2
|
+
export default '0.0.49';
|
package/oclif.manifest.json
CHANGED
|
@@ -3145,13 +3145,14 @@
|
|
|
3145
3145
|
"status.js"
|
|
3146
3146
|
]
|
|
3147
3147
|
},
|
|
3148
|
-
"
|
|
3148
|
+
"workspace:bootstrap": {
|
|
3149
3149
|
"aliases": [],
|
|
3150
3150
|
"args": {},
|
|
3151
|
-
"description": "
|
|
3151
|
+
"description": "Push a local git repo to Gitea as this workspace's config repository",
|
|
3152
3152
|
"examples": [
|
|
3153
|
-
"<%= config.bin %>
|
|
3154
|
-
"<%= config.bin %>
|
|
3153
|
+
"<%= config.bin %> workspace bootstrap --dir ./our-config",
|
|
3154
|
+
"<%= config.bin %> workspace bootstrap --dir ./launch-migrator/output",
|
|
3155
|
+
"<%= config.bin %> workspace bootstrap --dir ./our-config --skip-validate"
|
|
3155
3156
|
],
|
|
3156
3157
|
"flags": {
|
|
3157
3158
|
"json": {
|
|
@@ -3183,53 +3184,30 @@
|
|
|
3183
3184
|
"allowNo": false,
|
|
3184
3185
|
"type": "boolean"
|
|
3185
3186
|
},
|
|
3186
|
-
"
|
|
3187
|
-
"
|
|
3188
|
-
"
|
|
3189
|
-
"helpGroup": "GLOBAL",
|
|
3190
|
-
"name": "workspace",
|
|
3191
|
-
"required": false,
|
|
3192
|
-
"hasDynamicHelp": false,
|
|
3193
|
-
"multiple": false,
|
|
3194
|
-
"type": "option"
|
|
3195
|
-
},
|
|
3196
|
-
"profile": {
|
|
3197
|
-
"char": "p",
|
|
3198
|
-
"description": "Deprecated: use --workspace instead",
|
|
3199
|
-
"helpGroup": "GLOBAL",
|
|
3200
|
-
"hidden": true,
|
|
3201
|
-
"name": "profile",
|
|
3187
|
+
"dir": {
|
|
3188
|
+
"description": "Local directory to push (defaults to current directory)",
|
|
3189
|
+
"name": "dir",
|
|
3202
3190
|
"required": false,
|
|
3203
3191
|
"hasDynamicHelp": false,
|
|
3204
3192
|
"multiple": false,
|
|
3205
3193
|
"type": "option"
|
|
3206
3194
|
},
|
|
3207
|
-
"
|
|
3208
|
-
"
|
|
3209
|
-
"
|
|
3210
|
-
"
|
|
3211
|
-
"
|
|
3212
|
-
"hasDynamicHelp": false,
|
|
3213
|
-
"multiple": false,
|
|
3214
|
-
"type": "option"
|
|
3195
|
+
"force": {
|
|
3196
|
+
"description": "Force push even if remote already has commits",
|
|
3197
|
+
"name": "force",
|
|
3198
|
+
"allowNo": false,
|
|
3199
|
+
"type": "boolean"
|
|
3215
3200
|
},
|
|
3216
|
-
"
|
|
3217
|
-
"
|
|
3218
|
-
"
|
|
3219
|
-
"
|
|
3220
|
-
"
|
|
3221
|
-
"hasDynamicHelp": false,
|
|
3222
|
-
"multiple": false,
|
|
3223
|
-
"options": [
|
|
3224
|
-
"server",
|
|
3225
|
-
"browser"
|
|
3226
|
-
],
|
|
3227
|
-
"type": "option"
|
|
3201
|
+
"skip-validate": {
|
|
3202
|
+
"description": "Skip config validation before pushing",
|
|
3203
|
+
"name": "skip-validate",
|
|
3204
|
+
"allowNo": false,
|
|
3205
|
+
"type": "boolean"
|
|
3228
3206
|
}
|
|
3229
3207
|
},
|
|
3230
3208
|
"hasDynamicHelp": false,
|
|
3231
3209
|
"hiddenAliases": [],
|
|
3232
|
-
"id": "
|
|
3210
|
+
"id": "workspace:bootstrap",
|
|
3233
3211
|
"pluginAlias": "@quonfig/cli",
|
|
3234
3212
|
"pluginName": "@quonfig/cli",
|
|
3235
3213
|
"pluginType": "core",
|
|
@@ -3239,17 +3217,24 @@
|
|
|
3239
3217
|
"relativePath": [
|
|
3240
3218
|
"dist",
|
|
3241
3219
|
"commands",
|
|
3242
|
-
"
|
|
3243
|
-
"
|
|
3220
|
+
"workspace",
|
|
3221
|
+
"bootstrap.js"
|
|
3244
3222
|
]
|
|
3245
3223
|
},
|
|
3246
|
-
"
|
|
3224
|
+
"workspace:create": {
|
|
3247
3225
|
"aliases": [],
|
|
3248
|
-
"args": {
|
|
3249
|
-
|
|
3226
|
+
"args": {
|
|
3227
|
+
"slug": {
|
|
3228
|
+
"description": "Workspace slug (lowercase letters, numbers, hyphens)",
|
|
3229
|
+
"name": "slug",
|
|
3230
|
+
"required": true
|
|
3231
|
+
}
|
|
3232
|
+
},
|
|
3233
|
+
"description": "Create a new workspace. Provisions the Gitea repo and default environments, identical to the app's New Workspace UI.",
|
|
3250
3234
|
"examples": [
|
|
3251
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3252
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3235
|
+
"<%= config.bin %> <%= command.id %> my-team",
|
|
3236
|
+
"<%= config.bin %> <%= command.id %> lt-21-smoke --name \"Load Test 21\"",
|
|
3237
|
+
"<%= config.bin %> <%= command.id %> my-team --org 11111111-1111-1111-1111-111111111111"
|
|
3253
3238
|
],
|
|
3254
3239
|
"flags": {
|
|
3255
3240
|
"json": {
|
|
@@ -3281,31 +3266,17 @@
|
|
|
3281
3266
|
"allowNo": false,
|
|
3282
3267
|
"type": "boolean"
|
|
3283
3268
|
},
|
|
3284
|
-
"
|
|
3285
|
-
"
|
|
3286
|
-
"
|
|
3287
|
-
"helpGroup": "GLOBAL",
|
|
3288
|
-
"name": "workspace",
|
|
3289
|
-
"required": false,
|
|
3290
|
-
"hasDynamicHelp": false,
|
|
3291
|
-
"multiple": false,
|
|
3292
|
-
"type": "option"
|
|
3293
|
-
},
|
|
3294
|
-
"profile": {
|
|
3295
|
-
"char": "p",
|
|
3296
|
-
"description": "Deprecated: use --workspace instead",
|
|
3297
|
-
"helpGroup": "GLOBAL",
|
|
3298
|
-
"hidden": true,
|
|
3299
|
-
"name": "profile",
|
|
3269
|
+
"name": {
|
|
3270
|
+
"description": "Human-readable display name (defaults to the slug)",
|
|
3271
|
+
"name": "name",
|
|
3300
3272
|
"required": false,
|
|
3301
3273
|
"hasDynamicHelp": false,
|
|
3302
3274
|
"multiple": false,
|
|
3303
3275
|
"type": "option"
|
|
3304
3276
|
},
|
|
3305
|
-
"
|
|
3306
|
-
"
|
|
3307
|
-
"
|
|
3308
|
-
"name": "environment",
|
|
3277
|
+
"org": {
|
|
3278
|
+
"description": "Organization UUID or slug. Required when you belong to more than one organization; inferred otherwise.",
|
|
3279
|
+
"name": "org",
|
|
3309
3280
|
"required": false,
|
|
3310
3281
|
"hasDynamicHelp": false,
|
|
3311
3282
|
"multiple": false,
|
|
@@ -3314,7 +3285,7 @@
|
|
|
3314
3285
|
},
|
|
3315
3286
|
"hasDynamicHelp": false,
|
|
3316
3287
|
"hiddenAliases": [],
|
|
3317
|
-
"id": "
|
|
3288
|
+
"id": "workspace:create",
|
|
3318
3289
|
"pluginAlias": "@quonfig/cli",
|
|
3319
3290
|
"pluginName": "@quonfig/cli",
|
|
3320
3291
|
"pluginType": "core",
|
|
@@ -3324,22 +3295,23 @@
|
|
|
3324
3295
|
"relativePath": [
|
|
3325
3296
|
"dist",
|
|
3326
3297
|
"commands",
|
|
3327
|
-
"
|
|
3328
|
-
"
|
|
3298
|
+
"workspace",
|
|
3299
|
+
"create.js"
|
|
3329
3300
|
]
|
|
3330
3301
|
},
|
|
3331
|
-
"
|
|
3302
|
+
"workspace:switch": {
|
|
3332
3303
|
"aliases": [],
|
|
3333
3304
|
"args": {
|
|
3334
|
-
"
|
|
3335
|
-
"description": "
|
|
3336
|
-
"name": "
|
|
3337
|
-
"required":
|
|
3305
|
+
"slug": {
|
|
3306
|
+
"description": "Workspace pin in `<org-slug>/<workspace-slug>` form. Omit for an interactive picker.",
|
|
3307
|
+
"name": "slug",
|
|
3308
|
+
"required": false
|
|
3338
3309
|
}
|
|
3339
3310
|
},
|
|
3340
|
-
"description": "
|
|
3311
|
+
"description": "Switch the saved default profile to a different (org, workspace) pair",
|
|
3341
3312
|
"examples": [
|
|
3342
|
-
"<%= config.bin %> <%= command.id %>
|
|
3313
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3314
|
+
"<%= config.bin %> <%= command.id %> acme/production"
|
|
3343
3315
|
],
|
|
3344
3316
|
"flags": {
|
|
3345
3317
|
"json": {
|
|
@@ -3370,32 +3342,11 @@
|
|
|
3370
3342
|
"name": "verbose",
|
|
3371
3343
|
"allowNo": false,
|
|
3372
3344
|
"type": "boolean"
|
|
3373
|
-
},
|
|
3374
|
-
"workspace": {
|
|
3375
|
-
"char": "w",
|
|
3376
|
-
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3377
|
-
"helpGroup": "GLOBAL",
|
|
3378
|
-
"name": "workspace",
|
|
3379
|
-
"required": false,
|
|
3380
|
-
"hasDynamicHelp": false,
|
|
3381
|
-
"multiple": false,
|
|
3382
|
-
"type": "option"
|
|
3383
|
-
},
|
|
3384
|
-
"profile": {
|
|
3385
|
-
"char": "p",
|
|
3386
|
-
"description": "Deprecated: use --workspace instead",
|
|
3387
|
-
"helpGroup": "GLOBAL",
|
|
3388
|
-
"hidden": true,
|
|
3389
|
-
"name": "profile",
|
|
3390
|
-
"required": false,
|
|
3391
|
-
"hasDynamicHelp": false,
|
|
3392
|
-
"multiple": false,
|
|
3393
|
-
"type": "option"
|
|
3394
3345
|
}
|
|
3395
3346
|
},
|
|
3396
3347
|
"hasDynamicHelp": false,
|
|
3397
3348
|
"hiddenAliases": [],
|
|
3398
|
-
"id": "
|
|
3349
|
+
"id": "workspace:switch",
|
|
3399
3350
|
"pluginAlias": "@quonfig/cli",
|
|
3400
3351
|
"pluginName": "@quonfig/cli",
|
|
3401
3352
|
"pluginType": "core",
|
|
@@ -3405,18 +3356,17 @@
|
|
|
3405
3356
|
"relativePath": [
|
|
3406
3357
|
"dist",
|
|
3407
3358
|
"commands",
|
|
3408
|
-
"
|
|
3409
|
-
"
|
|
3359
|
+
"workspace",
|
|
3360
|
+
"switch.js"
|
|
3410
3361
|
]
|
|
3411
3362
|
},
|
|
3412
|
-
"
|
|
3363
|
+
"sdk-key:create": {
|
|
3413
3364
|
"aliases": [],
|
|
3414
3365
|
"args": {},
|
|
3415
|
-
"description": "
|
|
3366
|
+
"description": "Create a new SDK key",
|
|
3416
3367
|
"examples": [
|
|
3417
|
-
"<%= config.bin %>
|
|
3418
|
-
"<%= config.bin %>
|
|
3419
|
-
"<%= config.bin %> workspace bootstrap --dir ./our-config --skip-validate"
|
|
3368
|
+
"<%= config.bin %> <%= command.id %> --environment production --type server",
|
|
3369
|
+
"<%= config.bin %> <%= command.id %> --environment staging --type browser"
|
|
3420
3370
|
],
|
|
3421
3371
|
"flags": {
|
|
3422
3372
|
"json": {
|
|
@@ -3448,30 +3398,53 @@
|
|
|
3448
3398
|
"allowNo": false,
|
|
3449
3399
|
"type": "boolean"
|
|
3450
3400
|
},
|
|
3451
|
-
"
|
|
3452
|
-
"
|
|
3453
|
-
"
|
|
3401
|
+
"workspace": {
|
|
3402
|
+
"char": "w",
|
|
3403
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3404
|
+
"helpGroup": "GLOBAL",
|
|
3405
|
+
"name": "workspace",
|
|
3454
3406
|
"required": false,
|
|
3455
3407
|
"hasDynamicHelp": false,
|
|
3456
3408
|
"multiple": false,
|
|
3457
3409
|
"type": "option"
|
|
3458
3410
|
},
|
|
3459
|
-
"
|
|
3460
|
-
"
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3463
|
-
"
|
|
3411
|
+
"profile": {
|
|
3412
|
+
"char": "p",
|
|
3413
|
+
"description": "Deprecated: use --workspace instead",
|
|
3414
|
+
"helpGroup": "GLOBAL",
|
|
3415
|
+
"hidden": true,
|
|
3416
|
+
"name": "profile",
|
|
3417
|
+
"required": false,
|
|
3418
|
+
"hasDynamicHelp": false,
|
|
3419
|
+
"multiple": false,
|
|
3420
|
+
"type": "option"
|
|
3464
3421
|
},
|
|
3465
|
-
"
|
|
3466
|
-
"
|
|
3467
|
-
"
|
|
3468
|
-
"
|
|
3469
|
-
"
|
|
3422
|
+
"environment": {
|
|
3423
|
+
"char": "e",
|
|
3424
|
+
"description": "Environment name (e.g. production, staging)",
|
|
3425
|
+
"name": "environment",
|
|
3426
|
+
"required": false,
|
|
3427
|
+
"hasDynamicHelp": false,
|
|
3428
|
+
"multiple": false,
|
|
3429
|
+
"type": "option"
|
|
3430
|
+
},
|
|
3431
|
+
"type": {
|
|
3432
|
+
"char": "t",
|
|
3433
|
+
"description": "Key type: server (backend) or browser (frontend)",
|
|
3434
|
+
"name": "type",
|
|
3435
|
+
"required": false,
|
|
3436
|
+
"hasDynamicHelp": false,
|
|
3437
|
+
"multiple": false,
|
|
3438
|
+
"options": [
|
|
3439
|
+
"server",
|
|
3440
|
+
"browser"
|
|
3441
|
+
],
|
|
3442
|
+
"type": "option"
|
|
3470
3443
|
}
|
|
3471
3444
|
},
|
|
3472
3445
|
"hasDynamicHelp": false,
|
|
3473
3446
|
"hiddenAliases": [],
|
|
3474
|
-
"id": "
|
|
3447
|
+
"id": "sdk-key:create",
|
|
3475
3448
|
"pluginAlias": "@quonfig/cli",
|
|
3476
3449
|
"pluginName": "@quonfig/cli",
|
|
3477
3450
|
"pluginType": "core",
|
|
@@ -3481,24 +3454,17 @@
|
|
|
3481
3454
|
"relativePath": [
|
|
3482
3455
|
"dist",
|
|
3483
3456
|
"commands",
|
|
3484
|
-
"
|
|
3485
|
-
"
|
|
3457
|
+
"sdk-key",
|
|
3458
|
+
"create.js"
|
|
3486
3459
|
]
|
|
3487
3460
|
},
|
|
3488
|
-
"
|
|
3461
|
+
"sdk-key:list": {
|
|
3489
3462
|
"aliases": [],
|
|
3490
|
-
"args": {
|
|
3491
|
-
|
|
3492
|
-
"description": "Workspace slug (lowercase letters, numbers, hyphens)",
|
|
3493
|
-
"name": "slug",
|
|
3494
|
-
"required": true
|
|
3495
|
-
}
|
|
3496
|
-
},
|
|
3497
|
-
"description": "Create a new workspace. Provisions the Gitea repo and default environments, identical to the app's New Workspace UI.",
|
|
3463
|
+
"args": {},
|
|
3464
|
+
"description": "List SDK keys for your workspace",
|
|
3498
3465
|
"examples": [
|
|
3499
|
-
"<%= config.bin %> <%= command.id %>
|
|
3500
|
-
"<%= config.bin %> <%= command.id %>
|
|
3501
|
-
"<%= config.bin %> <%= command.id %> my-team --org 11111111-1111-1111-1111-111111111111"
|
|
3466
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3467
|
+
"<%= config.bin %> <%= command.id %> --environment production"
|
|
3502
3468
|
],
|
|
3503
3469
|
"flags": {
|
|
3504
3470
|
"json": {
|
|
@@ -3530,17 +3496,31 @@
|
|
|
3530
3496
|
"allowNo": false,
|
|
3531
3497
|
"type": "boolean"
|
|
3532
3498
|
},
|
|
3533
|
-
"
|
|
3534
|
-
"
|
|
3535
|
-
"
|
|
3499
|
+
"workspace": {
|
|
3500
|
+
"char": "w",
|
|
3501
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3502
|
+
"helpGroup": "GLOBAL",
|
|
3503
|
+
"name": "workspace",
|
|
3536
3504
|
"required": false,
|
|
3537
3505
|
"hasDynamicHelp": false,
|
|
3538
3506
|
"multiple": false,
|
|
3539
3507
|
"type": "option"
|
|
3540
3508
|
},
|
|
3541
|
-
"
|
|
3542
|
-
"
|
|
3543
|
-
"
|
|
3509
|
+
"profile": {
|
|
3510
|
+
"char": "p",
|
|
3511
|
+
"description": "Deprecated: use --workspace instead",
|
|
3512
|
+
"helpGroup": "GLOBAL",
|
|
3513
|
+
"hidden": true,
|
|
3514
|
+
"name": "profile",
|
|
3515
|
+
"required": false,
|
|
3516
|
+
"hasDynamicHelp": false,
|
|
3517
|
+
"multiple": false,
|
|
3518
|
+
"type": "option"
|
|
3519
|
+
},
|
|
3520
|
+
"environment": {
|
|
3521
|
+
"char": "e",
|
|
3522
|
+
"description": "Filter by environment name",
|
|
3523
|
+
"name": "environment",
|
|
3544
3524
|
"required": false,
|
|
3545
3525
|
"hasDynamicHelp": false,
|
|
3546
3526
|
"multiple": false,
|
|
@@ -3549,7 +3529,7 @@
|
|
|
3549
3529
|
},
|
|
3550
3530
|
"hasDynamicHelp": false,
|
|
3551
3531
|
"hiddenAliases": [],
|
|
3552
|
-
"id": "
|
|
3532
|
+
"id": "sdk-key:list",
|
|
3553
3533
|
"pluginAlias": "@quonfig/cli",
|
|
3554
3534
|
"pluginName": "@quonfig/cli",
|
|
3555
3535
|
"pluginType": "core",
|
|
@@ -3559,23 +3539,22 @@
|
|
|
3559
3539
|
"relativePath": [
|
|
3560
3540
|
"dist",
|
|
3561
3541
|
"commands",
|
|
3562
|
-
"
|
|
3563
|
-
"
|
|
3542
|
+
"sdk-key",
|
|
3543
|
+
"list.js"
|
|
3564
3544
|
]
|
|
3565
3545
|
},
|
|
3566
|
-
"
|
|
3546
|
+
"sdk-key:revoke": {
|
|
3567
3547
|
"aliases": [],
|
|
3568
3548
|
"args": {
|
|
3569
|
-
"
|
|
3570
|
-
"description": "
|
|
3571
|
-
"name": "
|
|
3572
|
-
"required":
|
|
3549
|
+
"keyId": {
|
|
3550
|
+
"description": "ID of the SDK key to revoke",
|
|
3551
|
+
"name": "keyId",
|
|
3552
|
+
"required": true
|
|
3573
3553
|
}
|
|
3574
3554
|
},
|
|
3575
|
-
"description": "
|
|
3555
|
+
"description": "Revoke an SDK key by its ID",
|
|
3576
3556
|
"examples": [
|
|
3577
|
-
"<%= config.bin %> <%= command.id %>"
|
|
3578
|
-
"<%= config.bin %> <%= command.id %> acme/production"
|
|
3557
|
+
"<%= config.bin %> <%= command.id %> a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
3579
3558
|
],
|
|
3580
3559
|
"flags": {
|
|
3581
3560
|
"json": {
|
|
@@ -3606,11 +3585,32 @@
|
|
|
3606
3585
|
"name": "verbose",
|
|
3607
3586
|
"allowNo": false,
|
|
3608
3587
|
"type": "boolean"
|
|
3588
|
+
},
|
|
3589
|
+
"workspace": {
|
|
3590
|
+
"char": "w",
|
|
3591
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3592
|
+
"helpGroup": "GLOBAL",
|
|
3593
|
+
"name": "workspace",
|
|
3594
|
+
"required": false,
|
|
3595
|
+
"hasDynamicHelp": false,
|
|
3596
|
+
"multiple": false,
|
|
3597
|
+
"type": "option"
|
|
3598
|
+
},
|
|
3599
|
+
"profile": {
|
|
3600
|
+
"char": "p",
|
|
3601
|
+
"description": "Deprecated: use --workspace instead",
|
|
3602
|
+
"helpGroup": "GLOBAL",
|
|
3603
|
+
"hidden": true,
|
|
3604
|
+
"name": "profile",
|
|
3605
|
+
"required": false,
|
|
3606
|
+
"hasDynamicHelp": false,
|
|
3607
|
+
"multiple": false,
|
|
3608
|
+
"type": "option"
|
|
3609
3609
|
}
|
|
3610
3610
|
},
|
|
3611
3611
|
"hasDynamicHelp": false,
|
|
3612
3612
|
"hiddenAliases": [],
|
|
3613
|
-
"id": "
|
|
3613
|
+
"id": "sdk-key:revoke",
|
|
3614
3614
|
"pluginAlias": "@quonfig/cli",
|
|
3615
3615
|
"pluginName": "@quonfig/cli",
|
|
3616
3616
|
"pluginType": "core",
|
|
@@ -3620,10 +3620,10 @@
|
|
|
3620
3620
|
"relativePath": [
|
|
3621
3621
|
"dist",
|
|
3622
3622
|
"commands",
|
|
3623
|
-
"
|
|
3624
|
-
"
|
|
3623
|
+
"sdk-key",
|
|
3624
|
+
"revoke.js"
|
|
3625
3625
|
]
|
|
3626
3626
|
}
|
|
3627
3627
|
},
|
|
3628
|
-
"version": "0.0.
|
|
3628
|
+
"version": "0.0.49"
|
|
3629
3629
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageManager": "yarn@4.11.0+sha512.4e54aeace9141df2f0177c266b05ec50dc044638157dae128c471ba65994ac802122d7ab35bcd9e81641228b7dcf24867d28e750e0bcae8a05277d600008ad54",
|
|
3
3
|
"name": "@quonfig/cli",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.49",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/quonfig/cli/issues"
|
|
7
7
|
},
|