@quonfig/cli 0.0.71 → 0.0.72
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/get.js +6 -4
- package/dist/commands/workspace.d.ts +10 -1
- package/dist/commands/workspace.js +72 -13
- package/dist/push/run-push.d.ts +21 -0
- package/dist/push/run-push.js +26 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/oclif.manifest.json +1 -1
- 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.72 linux-x64 node-v24.4.1
|
|
21
21
|
$ qfg --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ qfg COMMAND
|
|
@@ -201,7 +201,7 @@ EXAMPLES
|
|
|
201
201
|
$ qfg activity restore my.flag --yes
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
_See code: [src/commands/activity.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
204
|
+
_See code: [src/commands/activity.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/activity.ts)_
|
|
205
205
|
|
|
206
206
|
## `qfg activity deleted`
|
|
207
207
|
|
|
@@ -230,7 +230,7 @@ EXAMPLES
|
|
|
230
230
|
$ qfg activity deleted --json
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-
_See code: [src/commands/activity/deleted.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
233
|
+
_See code: [src/commands/activity/deleted.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/activity/deleted.ts)_
|
|
234
234
|
|
|
235
235
|
## `qfg activity feed`
|
|
236
236
|
|
|
@@ -265,7 +265,7 @@ EXAMPLES
|
|
|
265
265
|
$ qfg activity feed --json
|
|
266
266
|
```
|
|
267
267
|
|
|
268
|
-
_See code: [src/commands/activity/feed.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
268
|
+
_See code: [src/commands/activity/feed.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/activity/feed.ts)_
|
|
269
269
|
|
|
270
270
|
## `qfg activity history [NAME]`
|
|
271
271
|
|
|
@@ -299,7 +299,7 @@ EXAMPLES
|
|
|
299
299
|
$ qfg activity history request.timeout --json
|
|
300
300
|
```
|
|
301
301
|
|
|
302
|
-
_See code: [src/commands/activity/history.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
302
|
+
_See code: [src/commands/activity/history.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/activity/history.ts)_
|
|
303
303
|
|
|
304
304
|
## `qfg activity restore [NAME]`
|
|
305
305
|
|
|
@@ -338,7 +338,7 @@ EXAMPLES
|
|
|
338
338
|
$ qfg activity restore request.timeout --type config --yes
|
|
339
339
|
```
|
|
340
340
|
|
|
341
|
-
_See code: [src/commands/activity/restore.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
341
|
+
_See code: [src/commands/activity/restore.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/activity/restore.ts)_
|
|
342
342
|
|
|
343
343
|
## `qfg audit-log [NAME]`
|
|
344
344
|
|
|
@@ -366,7 +366,7 @@ EXAMPLES
|
|
|
366
366
|
$ qfg audit-log my.flag
|
|
367
367
|
```
|
|
368
368
|
|
|
369
|
-
_See code: [src/commands/audit-log.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
369
|
+
_See code: [src/commands/audit-log.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/audit-log.ts)_
|
|
370
370
|
|
|
371
371
|
## `qfg cleanup`
|
|
372
372
|
|
|
@@ -407,7 +407,7 @@ EXAMPLES
|
|
|
407
407
|
$ qfg cleanup status my.flag.key
|
|
408
408
|
```
|
|
409
409
|
|
|
410
|
-
_See code: [src/commands/cleanup.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
410
|
+
_See code: [src/commands/cleanup.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/cleanup.ts)_
|
|
411
411
|
|
|
412
412
|
## `qfg cleanup list`
|
|
413
413
|
|
|
@@ -453,7 +453,7 @@ EXAMPLES
|
|
|
453
453
|
$ qfg cleanup list --json
|
|
454
454
|
```
|
|
455
455
|
|
|
456
|
-
_See code: [src/commands/cleanup/list.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
456
|
+
_See code: [src/commands/cleanup/list.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/cleanup/list.ts)_
|
|
457
457
|
|
|
458
458
|
## `qfg cleanup remove [NAME]`
|
|
459
459
|
|
|
@@ -498,7 +498,7 @@ EXAMPLES
|
|
|
498
498
|
$ qfg cleanup remove my.flag.key --json
|
|
499
499
|
```
|
|
500
500
|
|
|
501
|
-
_See code: [src/commands/cleanup/remove.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
501
|
+
_See code: [src/commands/cleanup/remove.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/cleanup/remove.ts)_
|
|
502
502
|
|
|
503
503
|
## `qfg cleanup status [NAME]`
|
|
504
504
|
|
|
@@ -538,7 +538,7 @@ EXAMPLES
|
|
|
538
538
|
$ qfg cleanup status my.flag.key --json
|
|
539
539
|
```
|
|
540
540
|
|
|
541
|
-
_See code: [src/commands/cleanup/status.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
541
|
+
_See code: [src/commands/cleanup/status.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/cleanup/status.ts)_
|
|
542
542
|
|
|
543
543
|
## `qfg cleanup verify [NAME]`
|
|
544
544
|
|
|
@@ -584,7 +584,7 @@ EXAMPLES
|
|
|
584
584
|
$ qfg cleanup verify my.flag.key && qfg delete my.flag.key
|
|
585
585
|
```
|
|
586
586
|
|
|
587
|
-
_See code: [src/commands/cleanup/verify.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
587
|
+
_See code: [src/commands/cleanup/verify.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/cleanup/verify.ts)_
|
|
588
588
|
|
|
589
589
|
## `qfg config-schema`
|
|
590
590
|
|
|
@@ -613,7 +613,7 @@ EXAMPLES
|
|
|
613
613
|
$ qfg config-schema --json-schema # full JSON Schema document (copy into your editor)
|
|
614
614
|
```
|
|
615
615
|
|
|
616
|
-
_See code: [src/commands/config-schema.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
616
|
+
_See code: [src/commands/config-schema.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/config-schema.ts)_
|
|
617
617
|
|
|
618
618
|
## `qfg create NAME`
|
|
619
619
|
|
|
@@ -700,7 +700,7 @@ EXAMPLES
|
|
|
700
700
|
$ qfg set-rollout my.new.flag --environment production --true-percent 20
|
|
701
701
|
```
|
|
702
702
|
|
|
703
|
-
_See code: [src/commands/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
703
|
+
_See code: [src/commands/create.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/create.ts)_
|
|
704
704
|
|
|
705
705
|
## `qfg delete NAME`
|
|
706
706
|
|
|
@@ -746,7 +746,7 @@ EXAMPLES
|
|
|
746
746
|
$ qfg delete my.config --yes
|
|
747
747
|
```
|
|
748
748
|
|
|
749
|
-
_See code: [src/commands/delete.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
749
|
+
_See code: [src/commands/delete.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/delete.ts)_
|
|
750
750
|
|
|
751
751
|
## `qfg flag info [NAME]`
|
|
752
752
|
|
|
@@ -950,7 +950,7 @@ EXAMPLES
|
|
|
950
950
|
$ qfg generate --targets node-ts -o ./dist # combine with targets
|
|
951
951
|
```
|
|
952
952
|
|
|
953
|
-
_See code: [src/commands/generate.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
953
|
+
_See code: [src/commands/generate.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/generate.ts)_
|
|
954
954
|
|
|
955
955
|
## `qfg generate-new-hex-key`
|
|
956
956
|
|
|
@@ -973,7 +973,7 @@ EXAMPLES
|
|
|
973
973
|
$ qfg generate-new-hex-key
|
|
974
974
|
```
|
|
975
975
|
|
|
976
|
-
_See code: [src/commands/generate-new-hex-key.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
976
|
+
_See code: [src/commands/generate-new-hex-key.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/generate-new-hex-key.ts)_
|
|
977
977
|
|
|
978
978
|
## `qfg get [NAME]`
|
|
979
979
|
|
|
@@ -1005,7 +1005,7 @@ EXAMPLES
|
|
|
1005
1005
|
$ qfg get my.config.name --environment=production
|
|
1006
1006
|
```
|
|
1007
1007
|
|
|
1008
|
-
_See code: [src/commands/get.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1008
|
+
_See code: [src/commands/get.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/get.ts)_
|
|
1009
1009
|
|
|
1010
1010
|
## `qfg history NAME`
|
|
1011
1011
|
|
|
@@ -1031,7 +1031,7 @@ EXAMPLES
|
|
|
1031
1031
|
$ qfg history my.flag
|
|
1032
1032
|
```
|
|
1033
1033
|
|
|
1034
|
-
_See code: [src/commands/history.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1034
|
+
_See code: [src/commands/history.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/history.ts)_
|
|
1035
1035
|
|
|
1036
1036
|
## `qfg info [NAME]`
|
|
1037
1037
|
|
|
@@ -1079,7 +1079,7 @@ EXAMPLES
|
|
|
1079
1079
|
$ qfg info my.config.name --exclude-evaluations # skip 24h stats
|
|
1080
1080
|
```
|
|
1081
1081
|
|
|
1082
|
-
_See code: [src/commands/info.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1082
|
+
_See code: [src/commands/info.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/info.ts)_
|
|
1083
1083
|
|
|
1084
1084
|
## `qfg init [DIRECTORY]`
|
|
1085
1085
|
|
|
@@ -1119,7 +1119,7 @@ EXAMPLES
|
|
|
1119
1119
|
$ qfg init --dry-run
|
|
1120
1120
|
```
|
|
1121
1121
|
|
|
1122
|
-
_See code: [src/commands/init.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1122
|
+
_See code: [src/commands/init.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/init.ts)_
|
|
1123
1123
|
|
|
1124
1124
|
## `qfg interactive`
|
|
1125
1125
|
|
|
@@ -1149,7 +1149,7 @@ EXAMPLES
|
|
|
1149
1149
|
$ qfg
|
|
1150
1150
|
```
|
|
1151
1151
|
|
|
1152
|
-
_See code: [src/commands/interactive.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1152
|
+
_See code: [src/commands/interactive.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/interactive.ts)_
|
|
1153
1153
|
|
|
1154
1154
|
## `qfg list`
|
|
1155
1155
|
|
|
@@ -1189,7 +1189,7 @@ EXAMPLES
|
|
|
1189
1189
|
$ qfg list --feature-flags
|
|
1190
1190
|
```
|
|
1191
1191
|
|
|
1192
|
-
_See code: [src/commands/list.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1192
|
+
_See code: [src/commands/list.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/list.ts)_
|
|
1193
1193
|
|
|
1194
1194
|
## `qfg log`
|
|
1195
1195
|
|
|
@@ -1214,7 +1214,7 @@ EXAMPLES
|
|
|
1214
1214
|
$ qfg log --limit 5
|
|
1215
1215
|
```
|
|
1216
1216
|
|
|
1217
|
-
_See code: [src/commands/log.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1217
|
+
_See code: [src/commands/log.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/log.ts)_
|
|
1218
1218
|
|
|
1219
1219
|
## `qfg log-level NAME`
|
|
1220
1220
|
|
|
@@ -1279,7 +1279,7 @@ EXAMPLES
|
|
|
1279
1279
|
$ qfg log-level log-level.my-app --target=Chatty --value=INFO --environment=production
|
|
1280
1280
|
```
|
|
1281
1281
|
|
|
1282
|
-
_See code: [src/commands/log-level.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1282
|
+
_See code: [src/commands/log-level.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/log-level.ts)_
|
|
1283
1283
|
|
|
1284
1284
|
## `qfg login`
|
|
1285
1285
|
|
|
@@ -1304,7 +1304,7 @@ EXAMPLES
|
|
|
1304
1304
|
$ qfg login --profile myprofile
|
|
1305
1305
|
```
|
|
1306
1306
|
|
|
1307
|
-
_See code: [src/commands/login.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1307
|
+
_See code: [src/commands/login.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/login.ts)_
|
|
1308
1308
|
|
|
1309
1309
|
## `qfg logout`
|
|
1310
1310
|
|
|
@@ -1327,7 +1327,7 @@ EXAMPLES
|
|
|
1327
1327
|
$ qfg logout
|
|
1328
1328
|
```
|
|
1329
1329
|
|
|
1330
|
-
_See code: [src/commands/logout.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1330
|
+
_See code: [src/commands/logout.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/logout.ts)_
|
|
1331
1331
|
|
|
1332
1332
|
## `qfg migrate`
|
|
1333
1333
|
|
|
@@ -1392,7 +1392,7 @@ EXAMPLES
|
|
|
1392
1392
|
$ qfg migrate --from launch --source-api-key $LAUNCH_API_KEY --dir ./quonfig-repo --staging
|
|
1393
1393
|
```
|
|
1394
1394
|
|
|
1395
|
-
_See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1395
|
+
_See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/migrate.ts)_
|
|
1396
1396
|
|
|
1397
1397
|
## `qfg migrate doctor`
|
|
1398
1398
|
|
|
@@ -1430,7 +1430,7 @@ EXAMPLES
|
|
|
1430
1430
|
$ qfg migrate doctor --json
|
|
1431
1431
|
```
|
|
1432
1432
|
|
|
1433
|
-
_See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1433
|
+
_See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/migrate/doctor.ts)_
|
|
1434
1434
|
|
|
1435
1435
|
## `qfg migrate my-code`
|
|
1436
1436
|
|
|
@@ -1462,7 +1462,7 @@ EXAMPLES
|
|
|
1462
1462
|
$ qfg migrate my-code --dry-run
|
|
1463
1463
|
```
|
|
1464
1464
|
|
|
1465
|
-
_See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1465
|
+
_See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/migrate/my-code.ts)_
|
|
1466
1466
|
|
|
1467
1467
|
## `qfg migrate status`
|
|
1468
1468
|
|
|
@@ -1493,7 +1493,7 @@ EXAMPLES
|
|
|
1493
1493
|
$ qfg migrate status --json
|
|
1494
1494
|
```
|
|
1495
1495
|
|
|
1496
|
-
_See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1496
|
+
_See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/migrate/status.ts)_
|
|
1497
1497
|
|
|
1498
1498
|
## `qfg override [NAME] [VALUE]`
|
|
1499
1499
|
|
|
@@ -1548,7 +1548,7 @@ EXAMPLES
|
|
|
1548
1548
|
$ qfg override my.flag true --env=staging
|
|
1549
1549
|
```
|
|
1550
1550
|
|
|
1551
|
-
_See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1551
|
+
_See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/override.ts)_
|
|
1552
1552
|
|
|
1553
1553
|
## `qfg pull`
|
|
1554
1554
|
|
|
@@ -1595,7 +1595,7 @@ EXAMPLES
|
|
|
1595
1595
|
$ qfg pull # uses QUONFIG_DIR env var
|
|
1596
1596
|
```
|
|
1597
1597
|
|
|
1598
|
-
_See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1598
|
+
_See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/pull.ts)_
|
|
1599
1599
|
|
|
1600
1600
|
## `qfg push`
|
|
1601
1601
|
|
|
@@ -1644,7 +1644,7 @@ EXAMPLES
|
|
|
1644
1644
|
$ qfg push --dir ./our-config --yes
|
|
1645
1645
|
```
|
|
1646
1646
|
|
|
1647
|
-
_See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1647
|
+
_See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/push.ts)_
|
|
1648
1648
|
|
|
1649
1649
|
## `qfg run [COMMAND]`
|
|
1650
1650
|
|
|
@@ -1695,7 +1695,7 @@ EXAMPLES
|
|
|
1695
1695
|
$ qfg run --env DATABASE_URL=db.url --preserve-env --environment=staging -- npm test
|
|
1696
1696
|
```
|
|
1697
1697
|
|
|
1698
|
-
_See code: [src/commands/run.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1698
|
+
_See code: [src/commands/run.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/run.ts)_
|
|
1699
1699
|
|
|
1700
1700
|
## `qfg schema NAME`
|
|
1701
1701
|
|
|
@@ -1733,7 +1733,7 @@ EXAMPLES
|
|
|
1733
1733
|
$ qfg schema my-schema --set-json-schema=@schemas/my-schema.json --protected
|
|
1734
1734
|
```
|
|
1735
1735
|
|
|
1736
|
-
_See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1736
|
+
_See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/schema.ts)_
|
|
1737
1737
|
|
|
1738
1738
|
## `qfg sdk-key`
|
|
1739
1739
|
|
|
@@ -1760,7 +1760,7 @@ EXAMPLES
|
|
|
1760
1760
|
$ qfg sdk-key revoke <key-id>
|
|
1761
1761
|
```
|
|
1762
1762
|
|
|
1763
|
-
_See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1763
|
+
_See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/sdk-key.ts)_
|
|
1764
1764
|
|
|
1765
1765
|
## `qfg sdk-key create`
|
|
1766
1766
|
|
|
@@ -1792,7 +1792,7 @@ EXAMPLES
|
|
|
1792
1792
|
$ qfg sdk-key create --environment staging --type browser
|
|
1793
1793
|
```
|
|
1794
1794
|
|
|
1795
|
-
_See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1795
|
+
_See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/sdk-key/create.ts)_
|
|
1796
1796
|
|
|
1797
1797
|
## `qfg sdk-key list`
|
|
1798
1798
|
|
|
@@ -1821,7 +1821,7 @@ EXAMPLES
|
|
|
1821
1821
|
$ qfg sdk-key list --environment production
|
|
1822
1822
|
```
|
|
1823
1823
|
|
|
1824
|
-
_See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1824
|
+
_See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/sdk-key/list.ts)_
|
|
1825
1825
|
|
|
1826
1826
|
## `qfg sdk-key revoke KEYID`
|
|
1827
1827
|
|
|
@@ -1848,7 +1848,7 @@ EXAMPLES
|
|
|
1848
1848
|
$ qfg sdk-key revoke a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
1849
1849
|
```
|
|
1850
1850
|
|
|
1851
|
-
_See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1851
|
+
_See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/sdk-key/revoke.ts)_
|
|
1852
1852
|
|
|
1853
1853
|
## `qfg serve`
|
|
1854
1854
|
|
|
@@ -1905,7 +1905,7 @@ EXAMPLES
|
|
|
1905
1905
|
$ qfg serve --port 6581 --frontend-sdk-key PUBLIC_KEY
|
|
1906
1906
|
```
|
|
1907
1907
|
|
|
1908
|
-
_See code: [src/commands/serve.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1908
|
+
_See code: [src/commands/serve.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/serve.ts)_
|
|
1909
1909
|
|
|
1910
1910
|
## `qfg set-default [NAME]`
|
|
1911
1911
|
|
|
@@ -1976,7 +1976,7 @@ EXAMPLES
|
|
|
1976
1976
|
$ qfg pull && qfg config-schema
|
|
1977
1977
|
```
|
|
1978
1978
|
|
|
1979
|
-
_See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1979
|
+
_See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/set-default.ts)_
|
|
1980
1980
|
|
|
1981
1981
|
## `qfg set-rollout [NAME]`
|
|
1982
1982
|
|
|
@@ -2053,7 +2053,7 @@ EXAMPLES
|
|
|
2053
2053
|
$ qfg set-rollout my.variant.flag --environment production --weights "a:33,b:33,c:34" --hash-by user.id
|
|
2054
2054
|
```
|
|
2055
2055
|
|
|
2056
|
-
_See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2056
|
+
_See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/set-rollout.ts)_
|
|
2057
2057
|
|
|
2058
2058
|
## `qfg sync`
|
|
2059
2059
|
|
|
@@ -2085,7 +2085,7 @@ EXAMPLES
|
|
|
2085
2085
|
$ qfg sync --watch --dir ./our-config --interval 30
|
|
2086
2086
|
```
|
|
2087
2087
|
|
|
2088
|
-
_See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2088
|
+
_See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/sync.ts)_
|
|
2089
2089
|
|
|
2090
2090
|
## `qfg toggle [NAME]`
|
|
2091
2091
|
|
|
@@ -2187,7 +2187,7 @@ EXAMPLES
|
|
|
2187
2187
|
$ qfg verify --json
|
|
2188
2188
|
```
|
|
2189
2189
|
|
|
2190
|
-
_See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2190
|
+
_See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/verify.ts)_
|
|
2191
2191
|
|
|
2192
2192
|
## `qfg whoami`
|
|
2193
2193
|
|
|
@@ -2210,7 +2210,7 @@ EXAMPLES
|
|
|
2210
2210
|
$ qfg whoami
|
|
2211
2211
|
```
|
|
2212
2212
|
|
|
2213
|
-
_See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2213
|
+
_See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/whoami.ts)_
|
|
2214
2214
|
|
|
2215
2215
|
## `qfg workspace`
|
|
2216
2216
|
|
|
@@ -2233,7 +2233,7 @@ EXAMPLES
|
|
|
2233
2233
|
$ qfg workspace
|
|
2234
2234
|
```
|
|
2235
2235
|
|
|
2236
|
-
_See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2236
|
+
_See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/workspace.ts)_
|
|
2237
2237
|
|
|
2238
2238
|
## `qfg workspace bootstrap`
|
|
2239
2239
|
|
|
@@ -2266,7 +2266,7 @@ EXAMPLES
|
|
|
2266
2266
|
$ qfg workspace bootstrap --dir ./our-config --skip-validate
|
|
2267
2267
|
```
|
|
2268
2268
|
|
|
2269
|
-
_See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2269
|
+
_See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/workspace/bootstrap.ts)_
|
|
2270
2270
|
|
|
2271
2271
|
## `qfg workspace create SLUG`
|
|
2272
2272
|
|
|
@@ -2300,7 +2300,7 @@ EXAMPLES
|
|
|
2300
2300
|
$ qfg workspace create my-team --org 11111111-1111-1111-1111-111111111111
|
|
2301
2301
|
```
|
|
2302
2302
|
|
|
2303
|
-
_See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2303
|
+
_See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/workspace/create.ts)_
|
|
2304
2304
|
|
|
2305
2305
|
## `qfg workspace switch [SLUG]`
|
|
2306
2306
|
|
|
@@ -2328,7 +2328,7 @@ EXAMPLES
|
|
|
2328
2328
|
$ qfg workspace switch acme/production
|
|
2329
2329
|
```
|
|
2330
2330
|
|
|
2331
|
-
_See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2331
|
+
_See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.72/src/commands/workspace/switch.ts)_
|
|
2332
2332
|
<!-- commandsstop -->
|
|
2333
2333
|
|
|
2334
2334
|
## Local Development
|
package/dist/commands/get.js
CHANGED
|
@@ -72,7 +72,9 @@ export default class Get extends APICommand {
|
|
|
72
72
|
const providedByDep = config.dependencies?.find((dep) => dep.dependencyType === 'providedBy');
|
|
73
73
|
if (providedByDep) {
|
|
74
74
|
const envVarName = providedByDep.source;
|
|
75
|
-
|
|
75
|
+
// qfg-zvef: diagnostics go to stderr so stdout stays a bare value —
|
|
76
|
+
// `qfg get` is commonly used in `$(...)` substitutions.
|
|
77
|
+
this.logToStderr(`This config is provided by env var '${envVarName}'`);
|
|
76
78
|
const envValue = process.env[envVarName];
|
|
77
79
|
if (envValue === undefined) {
|
|
78
80
|
return this.err(`Environment variable '${envVarName}' is not set. Cannot resolve config '${key}'.`, {
|
|
@@ -82,7 +84,7 @@ export default class Get extends APICommand {
|
|
|
82
84
|
});
|
|
83
85
|
}
|
|
84
86
|
value = envValue;
|
|
85
|
-
this.
|
|
87
|
+
this.logToStderr(`Successfully resolved config '${key}' from env var`);
|
|
86
88
|
}
|
|
87
89
|
const decryptWithDep = config.dependencies?.find((dep) => dep.dependencyType === 'decryptWith');
|
|
88
90
|
if (decryptWithDep && decryptWithDep.config) {
|
|
@@ -90,7 +92,7 @@ export default class Get extends APICommand {
|
|
|
90
92
|
const keyProvidedByDep = encryptionKeyConfig.dependencies?.find((dep) => dep.dependencyType === 'providedBy');
|
|
91
93
|
if (keyProvidedByDep) {
|
|
92
94
|
const envVarName = keyProvidedByDep.source;
|
|
93
|
-
this.
|
|
95
|
+
this.logToStderr(`This config is encrypted by key '${encryptionKeyConfig.key}' that should be found in env var '${envVarName}'`);
|
|
94
96
|
const encryptionKey = process.env[envVarName];
|
|
95
97
|
if (encryptionKey === undefined) {
|
|
96
98
|
return this.err(`Environment variable '${envVarName}' is not set. Cannot decrypt config '${key}'.`, {
|
|
@@ -107,7 +109,7 @@ export default class Get extends APICommand {
|
|
|
107
109
|
}
|
|
108
110
|
try {
|
|
109
111
|
value = decrypt(value, encryptionKey);
|
|
110
|
-
this.
|
|
112
|
+
this.logToStderr(`Successfully decrypted config '${key}'`);
|
|
111
113
|
}
|
|
112
114
|
catch (error) {
|
|
113
115
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
@@ -13,9 +13,18 @@ export default class Workspace extends BaseCommand {
|
|
|
13
13
|
private activePin;
|
|
14
14
|
/**
|
|
15
15
|
* Fan out across every cached org's token and merge the results. One org's
|
|
16
|
-
* stale token doesn't block the others —
|
|
16
|
+
* stale token doesn't block the others — that isolation is deliberate for
|
|
17
|
+
* multi-org accounts. What is NOT ok (qfg-t15h) is losing the fact that an
|
|
18
|
+
* org failed: each failure is returned so the caller can decide between a
|
|
19
|
+
* hard session-expired error (nothing listed) and a per-org warning
|
|
20
|
+
* alongside the orgs that did answer.
|
|
17
21
|
*/
|
|
18
22
|
private fetchAllOrgsWorkspaces;
|
|
23
|
+
/**
|
|
24
|
+
* qfg-t15h: returns a tagged result rather than a bare array, so a 401 or a
|
|
25
|
+
* dead connection is distinguishable from an org that genuinely has no
|
|
26
|
+
* workspaces yet.
|
|
27
|
+
*/
|
|
19
28
|
private fetchWorkspaces;
|
|
20
29
|
/**
|
|
21
30
|
* Pin the default-profile workspaceId to org/ws form by looking it up in
|
|
@@ -21,7 +21,31 @@ export default class Workspace extends BaseCommand {
|
|
|
21
21
|
// /userWorkspaces/list is per-token-org-scoped — a single org's JWT
|
|
22
22
|
// only sees that org's workspaces. Iterate every cached org so the
|
|
23
23
|
// listing is comprehensive in multi-org accounts.
|
|
24
|
-
const allWorkspaces = await this.fetchAllOrgsWorkspaces(orgEntries);
|
|
24
|
+
const { failures, workspaces: allWorkspaces } = await this.fetchAllOrgsWorkspaces(orgEntries);
|
|
25
|
+
// qfg-t15h: an empty listing used to be indistinguishable from "your
|
|
26
|
+
// session is dead", so an expired login rendered as "(no workspaces
|
|
27
|
+
// yet)" and nudged the user toward creating a duplicate workspace.
|
|
28
|
+
// When NOTHING could be listed and the cause is auth, fail the way
|
|
29
|
+
// `qfg pull`/`qfg get` do (get-client.ts:141) instead of printing a
|
|
30
|
+
// listing we know is a lie.
|
|
31
|
+
const authFailures = failures.filter((f) => f.auth);
|
|
32
|
+
if (failures.length === orgEntries.length && authFailures.length > 0) {
|
|
33
|
+
const label = authFailures.length === 1
|
|
34
|
+
? `org ${authFailures[0].orgSlug}`
|
|
35
|
+
: `orgs ${authFailures.map((f) => f.orgSlug).join(', ')}`;
|
|
36
|
+
const detail = authFailures.length === 1
|
|
37
|
+
? authFailures[0].detail
|
|
38
|
+
: authFailures.map((f) => `${f.orgSlug}: ${f.detail}`).join('; ');
|
|
39
|
+
this.error(`Session expired for ${label}: ${detail}. Run \`qfg login\` to re-authenticate.`, { exit: 401 });
|
|
40
|
+
}
|
|
41
|
+
// Partial failure keeps the deliberate multi-org isolation above: the
|
|
42
|
+
// healthy orgs still list, the dead ones say so instead of looking empty.
|
|
43
|
+
for (const f of failures) {
|
|
44
|
+
this.logToStderr(f.auth
|
|
45
|
+
? `Warning: could not list workspaces for org ${f.orgSlug} — ${f.detail}. Run \`qfg login\` to re-authenticate.`
|
|
46
|
+
: `Warning: could not list workspaces for org ${f.orgSlug} — ${f.detail}.`);
|
|
47
|
+
}
|
|
48
|
+
const failedOrgIds = new Set(failures.map((f) => f.orgId));
|
|
25
49
|
const defaultProfilePin = this.profilePin(authConfig, allWorkspaces);
|
|
26
50
|
const activePin = this.activePin(store, authConfig, allWorkspaces, defaultProfilePin);
|
|
27
51
|
this.log(`Active workspace: ${activePin ?? '(none)'}`);
|
|
@@ -37,7 +61,10 @@ export default class Workspace extends BaseCommand {
|
|
|
37
61
|
for (const group of grouped) {
|
|
38
62
|
this.log(` ${group.orgSlug}:`);
|
|
39
63
|
if (group.workspaces.length === 0) {
|
|
40
|
-
|
|
64
|
+
// qfg-t15h: "yet" is only true if we actually got an answer.
|
|
65
|
+
this.log(failedOrgIds.has(group.workosOrgId)
|
|
66
|
+
? ' (could not list workspaces — see warning above)'
|
|
67
|
+
: ' (no workspaces yet — `qfg workspace create` to add one)');
|
|
41
68
|
continue;
|
|
42
69
|
}
|
|
43
70
|
for (const w of group.workspaces) {
|
|
@@ -56,6 +83,10 @@ export default class Workspace extends BaseCommand {
|
|
|
56
83
|
activeWorkspace: activePin,
|
|
57
84
|
defaultProfile: defaultProfilePin,
|
|
58
85
|
orgsWithTokens: orgSlugsWithTokens,
|
|
86
|
+
// qfg-t15h: --json suppresses the stderr warnings, so the failures
|
|
87
|
+
// have to be in the payload or a script cannot tell an org that
|
|
88
|
+
// returned nothing from one that could not be asked.
|
|
89
|
+
failedOrgs: failures.map((f) => ({ orgSlug: f.orgSlug, authFailure: f.auth, reason: f.detail })),
|
|
59
90
|
orgs: grouped.map((g) => ({
|
|
60
91
|
orgSlug: g.orgSlug,
|
|
61
92
|
workosOrgId: g.workosOrgId,
|
|
@@ -90,28 +121,47 @@ export default class Workspace extends BaseCommand {
|
|
|
90
121
|
}
|
|
91
122
|
/**
|
|
92
123
|
* Fan out across every cached org's token and merge the results. One org's
|
|
93
|
-
* stale token doesn't block the others —
|
|
124
|
+
* stale token doesn't block the others — that isolation is deliberate for
|
|
125
|
+
* multi-org accounts. What is NOT ok (qfg-t15h) is losing the fact that an
|
|
126
|
+
* org failed: each failure is returned so the caller can decide between a
|
|
127
|
+
* hard session-expired error (nothing listed) and a per-org warning
|
|
128
|
+
* alongside the orgs that did answer.
|
|
94
129
|
*/
|
|
95
130
|
async fetchAllOrgsWorkspaces(orgEntries) {
|
|
96
131
|
const merged = new Map();
|
|
97
|
-
|
|
132
|
+
const failures = [];
|
|
133
|
+
for (const [orgId, tokens] of orgEntries) {
|
|
134
|
+
const orgSlug = tokens.org_slug ?? orgId;
|
|
98
135
|
let jwt;
|
|
99
136
|
try {
|
|
100
137
|
// eslint-disable-next-line no-await-in-loop
|
|
101
138
|
jwt = await getValidAccessToken(orgId, this.verboseLog);
|
|
102
139
|
}
|
|
103
140
|
catch (error) {
|
|
104
|
-
|
|
141
|
+
const detail = error instanceof Error ? error.message : String(error);
|
|
142
|
+
this.verboseLog('workspace: token refresh failed for org', { orgId, error: detail });
|
|
143
|
+
// A refresh that fails is always an auth failure — the stored
|
|
144
|
+
// grant is dead (invalid_grant) or there is no refresh token.
|
|
145
|
+
failures.push({ auth: true, detail, orgId, orgSlug });
|
|
105
146
|
continue;
|
|
106
147
|
}
|
|
107
148
|
// eslint-disable-next-line no-await-in-loop
|
|
108
|
-
const
|
|
109
|
-
|
|
149
|
+
const listed = await this.fetchWorkspaces(jwt);
|
|
150
|
+
if (listed.kind === 'failed') {
|
|
151
|
+
failures.push({ auth: listed.auth, detail: listed.detail, orgId, orgSlug });
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
for (const w of listed.entries) {
|
|
110
155
|
merged.set(w.workspaceId, w);
|
|
111
156
|
}
|
|
112
157
|
}
|
|
113
|
-
return [...merged.values()];
|
|
158
|
+
return { failures, workspaces: [...merged.values()] };
|
|
114
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* qfg-t15h: returns a tagged result rather than a bare array, so a 401 or a
|
|
162
|
+
* dead connection is distinguishable from an org that genuinely has no
|
|
163
|
+
* workspaces yet.
|
|
164
|
+
*/
|
|
115
165
|
async fetchWorkspaces(jwt) {
|
|
116
166
|
try {
|
|
117
167
|
const res = await fetch(`${getApiUrl()}/api/v1/userWorkspaces/list`, {
|
|
@@ -121,15 +171,20 @@ export default class Workspace extends BaseCommand {
|
|
|
121
171
|
});
|
|
122
172
|
if (!res.ok) {
|
|
123
173
|
this.verboseLog('workspace: userWorkspaces/list non-OK', { status: res.status });
|
|
124
|
-
return
|
|
174
|
+
return {
|
|
175
|
+
auth: res.status === 401 || res.status === 403,
|
|
176
|
+
detail: `workspace listing failed (HTTP ${res.status})`,
|
|
177
|
+
kind: 'failed',
|
|
178
|
+
};
|
|
125
179
|
}
|
|
126
180
|
const body = (await res.json());
|
|
127
181
|
const list = (body.json ?? body);
|
|
128
|
-
return Array.isArray(list) ? list : [];
|
|
182
|
+
return { entries: Array.isArray(list) ? list : [], kind: 'ok' };
|
|
129
183
|
}
|
|
130
184
|
catch (error) {
|
|
131
|
-
|
|
132
|
-
|
|
185
|
+
const detail = error instanceof Error ? error.message : String(error);
|
|
186
|
+
this.verboseLog('workspace: userWorkspaces/list failed', { error: detail });
|
|
187
|
+
return { auth: false, detail, kind: 'failed' };
|
|
133
188
|
}
|
|
134
189
|
}
|
|
135
190
|
/**
|
|
@@ -164,7 +219,11 @@ export default class Workspace extends BaseCommand {
|
|
|
164
219
|
catch (error) {
|
|
165
220
|
return this.err(error instanceof Error ? error.message : String(error));
|
|
166
221
|
}
|
|
167
|
-
const
|
|
222
|
+
const listed = await this.fetchWorkspaces(jwt);
|
|
223
|
+
if (listed.kind === 'failed') {
|
|
224
|
+
return this.err(`Failed to resolve workspace "${override}" — ${listed.detail}.`);
|
|
225
|
+
}
|
|
226
|
+
const { entries } = listed;
|
|
168
227
|
if (entries.length === 0) {
|
|
169
228
|
return this.err(`Failed to resolve workspace "${override}" — no entries returned.`);
|
|
170
229
|
}
|
package/dist/push/run-push.d.ts
CHANGED
|
@@ -319,4 +319,25 @@ export declare class PushFatalError extends Error {
|
|
|
319
319
|
* caller has been updated to drop the call entirely.
|
|
320
320
|
*/
|
|
321
321
|
export declare const withPushedViaTrailer: (message: string) => string;
|
|
322
|
+
/**
|
|
323
|
+
* Render the detail half of one push-denial line (qfg-szte).
|
|
324
|
+
*
|
|
325
|
+
* The server's `reason` is already a complete sentence: every family in
|
|
326
|
+
* app-quonfig `authorize-push-files.ts` renders
|
|
327
|
+
* `Missing required permission to edit <path>: …<requiredPermission>`, so it
|
|
328
|
+
* names both the path and the slug. The clone path used to append
|
|
329
|
+
* `, requires <requiredPermission>` on top of that (slug and path twice), and
|
|
330
|
+
* the bare path used to print the slug alone and throw the reason away — so
|
|
331
|
+
* the "why" (which environment is protected, which rule reaches the default)
|
|
332
|
+
* never reached the user.
|
|
333
|
+
*
|
|
334
|
+
* Both now render the reason, and add back only the field it does not
|
|
335
|
+
* already carry. That keeps the line honest against a server that sends a
|
|
336
|
+
* terser reason than today's without ever duplicating anything.
|
|
337
|
+
*/
|
|
338
|
+
export declare function formatDenialDetail(d: {
|
|
339
|
+
path: string;
|
|
340
|
+
reason: string;
|
|
341
|
+
requiredPermission: string;
|
|
342
|
+
}): string;
|
|
322
343
|
export declare function runPush(input: RunPushInput, deps: RunPushDeps): Promise<RunPushResult>;
|
package/dist/push/run-push.js
CHANGED
|
@@ -64,6 +64,27 @@ const sameRepo = (a, b) => normalizeForCompare(a) === normalizeForCompare(b);
|
|
|
64
64
|
* caller has been updated to drop the call entirely.
|
|
65
65
|
*/
|
|
66
66
|
export const withPushedViaTrailer = (message) => message;
|
|
67
|
+
/**
|
|
68
|
+
* Render the detail half of one push-denial line (qfg-szte).
|
|
69
|
+
*
|
|
70
|
+
* The server's `reason` is already a complete sentence: every family in
|
|
71
|
+
* app-quonfig `authorize-push-files.ts` renders
|
|
72
|
+
* `Missing required permission to edit <path>: …<requiredPermission>`, so it
|
|
73
|
+
* names both the path and the slug. The clone path used to append
|
|
74
|
+
* `, requires <requiredPermission>` on top of that (slug and path twice), and
|
|
75
|
+
* the bare path used to print the slug alone and throw the reason away — so
|
|
76
|
+
* the "why" (which environment is protected, which rule reaches the default)
|
|
77
|
+
* never reached the user.
|
|
78
|
+
*
|
|
79
|
+
* Both now render the reason, and add back only the field it does not
|
|
80
|
+
* already carry. That keeps the line honest against a server that sends a
|
|
81
|
+
* terser reason than today's without ever duplicating anything.
|
|
82
|
+
*/
|
|
83
|
+
export function formatDenialDetail(d) {
|
|
84
|
+
const reason = d.reason.trim() || `missing permission ${d.requiredPermission}`;
|
|
85
|
+
const withPath = reason.includes(d.path) ? reason : `${d.path}: ${reason}`;
|
|
86
|
+
return withPath.includes(d.requiredPermission) ? withPath : `${withPath} (requires ${d.requiredPermission})`;
|
|
87
|
+
}
|
|
67
88
|
export async function runPush(input, deps) {
|
|
68
89
|
const log = deps.log ?? ((s) => console.log(s));
|
|
69
90
|
const errLog = deps.errLog ?? ((s) => console.error(s));
|
|
@@ -272,8 +293,8 @@ export async function runPush(input, deps) {
|
|
|
272
293
|
if (packResult.kind === 'denied') {
|
|
273
294
|
errLog(`Push denied for ${packResult.denials.length} commit(s):`);
|
|
274
295
|
for (const d of packResult.denials) {
|
|
275
|
-
// qfg-7429.5 denial line: `<short-sha> <
|
|
276
|
-
errLog(` ${d.commitSha.slice(0, 8)} ${d
|
|
296
|
+
// qfg-7429.5 denial line, qfg-szte detail: `<short-sha> <reason>`
|
|
297
|
+
errLog(` ${d.commitSha.slice(0, 8)} ${formatDenialDetail(d)}`);
|
|
277
298
|
}
|
|
278
299
|
if (packResult.suggestedRecovery) {
|
|
279
300
|
errLog('');
|
|
@@ -369,7 +390,9 @@ export async function runPush(input, deps) {
|
|
|
369
390
|
if (result.kind === 'denied') {
|
|
370
391
|
errLog(`Push denied for ${result.denials.length} file(s):`);
|
|
371
392
|
for (const d of result.denials) {
|
|
372
|
-
|
|
393
|
+
// qfg-szte: was `<path>: missing permission <perm>`, which dropped the
|
|
394
|
+
// server's reason (the "why") entirely.
|
|
395
|
+
errLog(` ${formatDenialDetail(d)}`);
|
|
373
396
|
}
|
|
374
397
|
throw new PushFatalError(`Push denied for ${result.denials.length} file(s). See errors above.`, 'PUSH_DENIED');
|
|
375
398
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.0.
|
|
1
|
+
declare const _default: "0.0.72";
|
|
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.72';
|
package/oclif.manifest.json
CHANGED
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.72",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/quonfig/cli/issues"
|
|
7
7
|
},
|