@quonfig/cli 0.0.54 → 0.0.57
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 +270 -45
- package/dist/commands/cleanup/list.d.ts +10 -0
- package/dist/commands/cleanup/list.js +157 -0
- package/dist/commands/cleanup/remove.d.ts +13 -0
- package/dist/commands/cleanup/remove.js +234 -0
- package/dist/commands/cleanup/status.d.ts +13 -0
- package/dist/commands/cleanup/status.js +184 -0
- package/dist/commands/cleanup/verify.d.ts +14 -0
- package/dist/commands/cleanup/verify.js +100 -0
- package/dist/commands/cleanup.d.ts +6 -0
- package/dist/commands/cleanup.js +28 -0
- package/dist/commands/config-schema.js +6 -0
- package/dist/commands/create.js +3 -1
- package/dist/commands/delete.js +24 -1
- package/dist/commands/info.js +7 -0
- package/dist/delete/safety-nudge.d.ts +33 -0
- package/dist/delete/safety-nudge.js +50 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/oclif.manifest.json +390 -2
- package/package.json +4 -4
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.57 linux-x64 node-v24.4.1
|
|
21
21
|
$ qfg --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ qfg COMMAND
|
|
@@ -126,6 +126,11 @@ script doesn't need to know which env it's running in.
|
|
|
126
126
|
* [`qfg activity history [NAME]`](#qfg-activity-history-name)
|
|
127
127
|
* [`qfg activity restore [NAME]`](#qfg-activity-restore-name)
|
|
128
128
|
* [`qfg audit-log [NAME]`](#qfg-audit-log-name)
|
|
129
|
+
* [`qfg cleanup`](#qfg-cleanup)
|
|
130
|
+
* [`qfg cleanup list`](#qfg-cleanup-list)
|
|
131
|
+
* [`qfg cleanup remove [NAME]`](#qfg-cleanup-remove-name)
|
|
132
|
+
* [`qfg cleanup status [NAME]`](#qfg-cleanup-status-name)
|
|
133
|
+
* [`qfg cleanup verify [NAME]`](#qfg-cleanup-verify-name)
|
|
129
134
|
* [`qfg config-schema`](#qfg-config-schema)
|
|
130
135
|
* [`qfg create NAME`](#qfg-create-name)
|
|
131
136
|
* [`qfg delete NAME`](#qfg-delete-name)
|
|
@@ -196,7 +201,7 @@ EXAMPLES
|
|
|
196
201
|
$ qfg activity restore my.flag --yes
|
|
197
202
|
```
|
|
198
203
|
|
|
199
|
-
_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.57/src/commands/activity.ts)_
|
|
200
205
|
|
|
201
206
|
## `qfg activity deleted`
|
|
202
207
|
|
|
@@ -225,7 +230,7 @@ EXAMPLES
|
|
|
225
230
|
$ qfg activity deleted --json
|
|
226
231
|
```
|
|
227
232
|
|
|
228
|
-
_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.57/src/commands/activity/deleted.ts)_
|
|
229
234
|
|
|
230
235
|
## `qfg activity feed`
|
|
231
236
|
|
|
@@ -260,7 +265,7 @@ EXAMPLES
|
|
|
260
265
|
$ qfg activity feed --json
|
|
261
266
|
```
|
|
262
267
|
|
|
263
|
-
_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.57/src/commands/activity/feed.ts)_
|
|
264
269
|
|
|
265
270
|
## `qfg activity history [NAME]`
|
|
266
271
|
|
|
@@ -294,7 +299,7 @@ EXAMPLES
|
|
|
294
299
|
$ qfg activity history request.timeout --json
|
|
295
300
|
```
|
|
296
301
|
|
|
297
|
-
_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.57/src/commands/activity/history.ts)_
|
|
298
303
|
|
|
299
304
|
## `qfg activity restore [NAME]`
|
|
300
305
|
|
|
@@ -333,7 +338,7 @@ EXAMPLES
|
|
|
333
338
|
$ qfg activity restore request.timeout --type config --yes
|
|
334
339
|
```
|
|
335
340
|
|
|
336
|
-
_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.57/src/commands/activity/restore.ts)_
|
|
337
342
|
|
|
338
343
|
## `qfg audit-log [NAME]`
|
|
339
344
|
|
|
@@ -361,7 +366,225 @@ EXAMPLES
|
|
|
361
366
|
$ qfg audit-log my.flag
|
|
362
367
|
```
|
|
363
368
|
|
|
364
|
-
_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.57/src/commands/audit-log.ts)_
|
|
370
|
+
|
|
371
|
+
## `qfg cleanup`
|
|
372
|
+
|
|
373
|
+
Retire feature flags that have done their job.
|
|
374
|
+
|
|
375
|
+
```
|
|
376
|
+
USAGE
|
|
377
|
+
$ qfg cleanup [--json] [--interactive] [--no-color] [--verbose]
|
|
378
|
+
|
|
379
|
+
GLOBAL FLAGS
|
|
380
|
+
--[no-]interactive Force interactive mode
|
|
381
|
+
--json Format output as json.
|
|
382
|
+
--no-color Do not colorize output
|
|
383
|
+
--verbose Verbose output
|
|
384
|
+
|
|
385
|
+
DESCRIPTION
|
|
386
|
+
Retire feature flags that have done their job.
|
|
387
|
+
|
|
388
|
+
The cleanup workflow turns a flag's "Ready for cleanup" marker into an end-to-end
|
|
389
|
+
removal flow: surface the flags that are safe to retire, hand the actual code
|
|
390
|
+
removal to the qfg-flag-cleanup Claude skill, then delete the flag definition
|
|
391
|
+
once the call sites are gone.
|
|
392
|
+
|
|
393
|
+
Lifecycle (high-level):
|
|
394
|
+
1. Owner flips readyForCleanup=true in the UI (already exists)
|
|
395
|
+
2. qfg cleanup list see candidates + telemetry
|
|
396
|
+
3. qfg cleanup status <key> drill into one flag
|
|
397
|
+
4. qfg cleanup remove <key> handoff to the cleanup skill
|
|
398
|
+
5. PR merges, SDK redeploys, telemetry confirms 0 evals
|
|
399
|
+
6. qfg cleanup verify <key> (optional) confirm safe
|
|
400
|
+
7. qfg delete <key> remove the flag definition
|
|
401
|
+
|
|
402
|
+
EXAMPLES
|
|
403
|
+
$ qfg cleanup list
|
|
404
|
+
|
|
405
|
+
$ qfg cleanup list --json
|
|
406
|
+
|
|
407
|
+
$ qfg cleanup status my.flag.key
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
_See code: [src/commands/cleanup.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/cleanup.ts)_
|
|
411
|
+
|
|
412
|
+
## `qfg cleanup list`
|
|
413
|
+
|
|
414
|
+
List feature flags marked readyForCleanup=true, with eval volume per window.
|
|
415
|
+
|
|
416
|
+
```
|
|
417
|
+
USAGE
|
|
418
|
+
$ qfg cleanup list [--json] [--interactive] [--no-color] [--verbose] [-w <value>]
|
|
419
|
+
|
|
420
|
+
FLAGS
|
|
421
|
+
--json Return structured rows for agent consumption
|
|
422
|
+
|
|
423
|
+
GLOBAL FLAGS
|
|
424
|
+
-w, --workspace=<value> Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)
|
|
425
|
+
--[no-]interactive Force interactive mode
|
|
426
|
+
--no-color Do not colorize output
|
|
427
|
+
--verbose Verbose output
|
|
428
|
+
|
|
429
|
+
DESCRIPTION
|
|
430
|
+
List feature flags marked readyForCleanup=true, with eval volume per window.
|
|
431
|
+
|
|
432
|
+
Columns:
|
|
433
|
+
KEY the flag key
|
|
434
|
+
TYPE the flag's valueType (bool, string, int, etc.)
|
|
435
|
+
EVALS_24H evals counted in today's bucket (latest day)
|
|
436
|
+
EVALS_2D evals in the last 2 calendar days
|
|
437
|
+
EVALS_7D evals in the last 7 calendar days
|
|
438
|
+
EVALS_30D evals in the last 30 calendar days
|
|
439
|
+
LAST_EVAL most recent calendar day with any evals (UTC), blank if none
|
|
440
|
+
CLASS quiet (zero evals in last 2 days) or active
|
|
441
|
+
|
|
442
|
+
Default sort: quiet first, oldest LAST_EVAL at top.
|
|
443
|
+
|
|
444
|
+
Pass --json for the structured object (rows[]). Each row carries the columns
|
|
445
|
+
above plus the raw eval counts your agent can reason about itself.
|
|
446
|
+
|
|
447
|
+
Once you've picked a candidate, run `qfg cleanup status <key>` for the
|
|
448
|
+
drill-in or hand off the removal to the qfg-flag-cleanup Claude skill.
|
|
449
|
+
|
|
450
|
+
EXAMPLES
|
|
451
|
+
$ qfg cleanup list
|
|
452
|
+
|
|
453
|
+
$ qfg cleanup list --json
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
_See code: [src/commands/cleanup/list.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/cleanup/list.ts)_
|
|
457
|
+
|
|
458
|
+
## `qfg cleanup remove [NAME]`
|
|
459
|
+
|
|
460
|
+
Write a cleanup payload for a ready-for-cleanup flag and hand off to the qfg-flag-cleanup Claude skill.
|
|
461
|
+
|
|
462
|
+
```
|
|
463
|
+
USAGE
|
|
464
|
+
$ qfg cleanup remove [NAME] [--json] [--interactive] [--no-color] [--verbose] [-w <value>] [--force]
|
|
465
|
+
|
|
466
|
+
ARGUMENTS
|
|
467
|
+
NAME config/feature-flag/etc. name
|
|
468
|
+
|
|
469
|
+
FLAGS
|
|
470
|
+
--force Skip the evals_2d > 0 safety gate (useful when telemetry is delayed but you know the flag is dead)
|
|
471
|
+
|
|
472
|
+
GLOBAL FLAGS
|
|
473
|
+
-w, --workspace=<value> Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)
|
|
474
|
+
--[no-]interactive Force interactive mode
|
|
475
|
+
--json Format output as json.
|
|
476
|
+
--no-color Do not colorize output
|
|
477
|
+
--verbose Verbose output
|
|
478
|
+
|
|
479
|
+
DESCRIPTION
|
|
480
|
+
Write a cleanup payload for a ready-for-cleanup flag and hand off to the qfg-flag-cleanup Claude skill.
|
|
481
|
+
|
|
482
|
+
Modeled on `qfg migrate my-code` — this command never edits source files
|
|
483
|
+
itself. It validates that the flag is marked readyForCleanup=true, refuses to
|
|
484
|
+
proceed if there are still evals_2d > 0 (use --force to override), writes
|
|
485
|
+
`.qf/cleanup/<key>.json` describing the flag's current rule shape +
|
|
486
|
+
telemetry, and prints instructions to invoke the qfg-flag-cleanup skill which
|
|
487
|
+
asks the engineer which value should "win" and applies the inlining.
|
|
488
|
+
|
|
489
|
+
The payload deliberately does NOT suggest a winning value; that's the
|
|
490
|
+
engineer's call. Run `qfg cleanup status <key>` first if you want to inspect
|
|
491
|
+
telemetry before retiring.
|
|
492
|
+
|
|
493
|
+
EXAMPLES
|
|
494
|
+
$ qfg cleanup remove my.flag.key
|
|
495
|
+
|
|
496
|
+
$ qfg cleanup remove my.flag.key --force
|
|
497
|
+
|
|
498
|
+
$ qfg cleanup remove my.flag.key --json
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
_See code: [src/commands/cleanup/remove.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/cleanup/remove.ts)_
|
|
502
|
+
|
|
503
|
+
## `qfg cleanup status [NAME]`
|
|
504
|
+
|
|
505
|
+
Drill into one ready-for-cleanup flag — show telemetry across all environments and the current rule shape.
|
|
506
|
+
|
|
507
|
+
```
|
|
508
|
+
USAGE
|
|
509
|
+
$ qfg cleanup status [NAME] [--json] [--interactive] [--no-color] [--verbose] [-w <value>]
|
|
510
|
+
|
|
511
|
+
ARGUMENTS
|
|
512
|
+
NAME config/feature-flag/etc. name
|
|
513
|
+
|
|
514
|
+
FLAGS
|
|
515
|
+
--json Return structured object for agent consumption
|
|
516
|
+
|
|
517
|
+
GLOBAL FLAGS
|
|
518
|
+
-w, --workspace=<value> Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)
|
|
519
|
+
--[no-]interactive Force interactive mode
|
|
520
|
+
--no-color Do not colorize output
|
|
521
|
+
--verbose Verbose output
|
|
522
|
+
|
|
523
|
+
DESCRIPTION
|
|
524
|
+
Drill into one ready-for-cleanup flag — show telemetry across all environments and the current rule shape.
|
|
525
|
+
|
|
526
|
+
Use this after `qfg cleanup list` to inspect a specific flag before handing
|
|
527
|
+
removal off to the qfg-flag-cleanup Claude skill. The eval counts come from
|
|
528
|
+
analytics.configSparklines (the same backing data the per-flag sparklines on
|
|
529
|
+
the flag detail page use), summed into 24h/2d/7d/30d windows so you can decide
|
|
530
|
+
whether it's safe to retire.
|
|
531
|
+
|
|
532
|
+
Pass --json for the structured object including the full rule shape per
|
|
533
|
+
environment — the cleanup skill consumes this directly.
|
|
534
|
+
|
|
535
|
+
EXAMPLES
|
|
536
|
+
$ qfg cleanup status my.flag.key
|
|
537
|
+
|
|
538
|
+
$ qfg cleanup status my.flag.key --json
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
_See code: [src/commands/cleanup/status.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/cleanup/status.ts)_
|
|
542
|
+
|
|
543
|
+
## `qfg cleanup verify [NAME]`
|
|
544
|
+
|
|
545
|
+
Confirm zero evals for a flag in the trailing N days (default 7). Exits 0 if safe to delete, non-zero otherwise.
|
|
546
|
+
|
|
547
|
+
```
|
|
548
|
+
USAGE
|
|
549
|
+
$ qfg cleanup verify [NAME] [--json] [--interactive] [--no-color] [--verbose] [-w <value>] [--days <value>]
|
|
550
|
+
|
|
551
|
+
ARGUMENTS
|
|
552
|
+
NAME config/feature-flag/etc. name
|
|
553
|
+
|
|
554
|
+
FLAGS
|
|
555
|
+
--days=<value> [default: 7] Number of trailing calendar days that must have zero evals
|
|
556
|
+
--json Return structured object for agent consumption
|
|
557
|
+
|
|
558
|
+
GLOBAL FLAGS
|
|
559
|
+
-w, --workspace=<value> Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)
|
|
560
|
+
--[no-]interactive Force interactive mode
|
|
561
|
+
--no-color Do not colorize output
|
|
562
|
+
--verbose Verbose output
|
|
563
|
+
|
|
564
|
+
DESCRIPTION
|
|
565
|
+
Confirm zero evals for a flag in the trailing N days (default 7). Exits 0 if safe to delete, non-zero otherwise.
|
|
566
|
+
|
|
567
|
+
Read-only gate intended for chaining with `qfg delete` after a cleanup PR
|
|
568
|
+
has merged and the SDK has redeployed:
|
|
569
|
+
|
|
570
|
+
qfg cleanup verify my.flag.key && qfg delete my.flag.key
|
|
571
|
+
|
|
572
|
+
The trailing window is stricter than the `qfg cleanup remove` 2-day gate on
|
|
573
|
+
purpose — `remove` only writes a payload describing the flag, but `delete`
|
|
574
|
+
permanently removes the flag definition, so we want a longer quiet period
|
|
575
|
+
before chaining. Bump --days N if you want a more conservative window.
|
|
576
|
+
|
|
577
|
+
EXAMPLES
|
|
578
|
+
$ qfg cleanup verify my.flag.key
|
|
579
|
+
|
|
580
|
+
$ qfg cleanup verify my.flag.key --days 14
|
|
581
|
+
|
|
582
|
+
$ qfg cleanup verify my.flag.key --json
|
|
583
|
+
|
|
584
|
+
$ qfg cleanup verify my.flag.key && qfg delete my.flag.key
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
_See code: [src/commands/cleanup/verify.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/cleanup/verify.ts)_
|
|
365
588
|
|
|
366
589
|
## `qfg config-schema`
|
|
367
590
|
|
|
@@ -390,7 +613,7 @@ EXAMPLES
|
|
|
390
613
|
$ qfg config-schema --json-schema # full JSON Schema document (copy into your editor)
|
|
391
614
|
```
|
|
392
615
|
|
|
393
|
-
_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.57/src/commands/config-schema.ts)_
|
|
394
617
|
|
|
395
618
|
## `qfg create NAME`
|
|
396
619
|
|
|
@@ -453,6 +676,8 @@ DESCRIPTION
|
|
|
453
676
|
# rules on the "quonfig-sdk-logging.key" context property (e.g.
|
|
454
677
|
# PROP_STARTS_WITH_ONE_OF MyPackage.) rather than one config per logger.
|
|
455
678
|
|
|
679
|
+
When this flag has done its job, mark readyForCleanup: true in the UI and run `qfg cleanup list` to retire it.
|
|
680
|
+
|
|
456
681
|
EXAMPLES
|
|
457
682
|
$ qfg create my.new.flag --type boolean-flag
|
|
458
683
|
|
|
@@ -475,7 +700,7 @@ EXAMPLES
|
|
|
475
700
|
$ qfg set-rollout my.new.flag --environment production --true-percent 20
|
|
476
701
|
```
|
|
477
702
|
|
|
478
|
-
_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.57/src/commands/create.ts)_
|
|
479
704
|
|
|
480
705
|
## `qfg delete NAME`
|
|
481
706
|
|
|
@@ -521,7 +746,7 @@ EXAMPLES
|
|
|
521
746
|
$ qfg delete my.config --yes
|
|
522
747
|
```
|
|
523
748
|
|
|
524
|
-
_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.57/src/commands/delete.ts)_
|
|
525
750
|
|
|
526
751
|
## `qfg flag info [NAME]`
|
|
527
752
|
|
|
@@ -725,7 +950,7 @@ EXAMPLES
|
|
|
725
950
|
$ qfg generate --targets node-ts -o ./dist # combine with targets
|
|
726
951
|
```
|
|
727
952
|
|
|
728
|
-
_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.57/src/commands/generate.ts)_
|
|
729
954
|
|
|
730
955
|
## `qfg generate-new-hex-key`
|
|
731
956
|
|
|
@@ -748,7 +973,7 @@ EXAMPLES
|
|
|
748
973
|
$ qfg generate-new-hex-key
|
|
749
974
|
```
|
|
750
975
|
|
|
751
|
-
_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.57/src/commands/generate-new-hex-key.ts)_
|
|
752
977
|
|
|
753
978
|
## `qfg get [NAME]`
|
|
754
979
|
|
|
@@ -780,7 +1005,7 @@ EXAMPLES
|
|
|
780
1005
|
$ qfg get my.config.name --environment=production
|
|
781
1006
|
```
|
|
782
1007
|
|
|
783
|
-
_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.57/src/commands/get.ts)_
|
|
784
1009
|
|
|
785
1010
|
## `qfg history NAME`
|
|
786
1011
|
|
|
@@ -806,7 +1031,7 @@ EXAMPLES
|
|
|
806
1031
|
$ qfg history my.flag
|
|
807
1032
|
```
|
|
808
1033
|
|
|
809
|
-
_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.57/src/commands/history.ts)_
|
|
810
1035
|
|
|
811
1036
|
## `qfg info [NAME]`
|
|
812
1037
|
|
|
@@ -854,7 +1079,7 @@ EXAMPLES
|
|
|
854
1079
|
$ qfg info my.config.name --exclude-evaluations # skip 24h stats
|
|
855
1080
|
```
|
|
856
1081
|
|
|
857
|
-
_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.57/src/commands/info.ts)_
|
|
858
1083
|
|
|
859
1084
|
## `qfg init [DIRECTORY]`
|
|
860
1085
|
|
|
@@ -894,7 +1119,7 @@ EXAMPLES
|
|
|
894
1119
|
$ qfg init --dry-run
|
|
895
1120
|
```
|
|
896
1121
|
|
|
897
|
-
_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.57/src/commands/init.ts)_
|
|
898
1123
|
|
|
899
1124
|
## `qfg interactive`
|
|
900
1125
|
|
|
@@ -924,7 +1149,7 @@ EXAMPLES
|
|
|
924
1149
|
$ qfg
|
|
925
1150
|
```
|
|
926
1151
|
|
|
927
|
-
_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.57/src/commands/interactive.ts)_
|
|
928
1153
|
|
|
929
1154
|
## `qfg list`
|
|
930
1155
|
|
|
@@ -964,7 +1189,7 @@ EXAMPLES
|
|
|
964
1189
|
$ qfg list --feature-flags
|
|
965
1190
|
```
|
|
966
1191
|
|
|
967
|
-
_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.57/src/commands/list.ts)_
|
|
968
1193
|
|
|
969
1194
|
## `qfg log`
|
|
970
1195
|
|
|
@@ -989,7 +1214,7 @@ EXAMPLES
|
|
|
989
1214
|
$ qfg log --limit 5
|
|
990
1215
|
```
|
|
991
1216
|
|
|
992
|
-
_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.57/src/commands/log.ts)_
|
|
993
1218
|
|
|
994
1219
|
## `qfg log-level NAME`
|
|
995
1220
|
|
|
@@ -1054,7 +1279,7 @@ EXAMPLES
|
|
|
1054
1279
|
$ qfg log-level log-level.my-app --target=Chatty --value=INFO --environment=production
|
|
1055
1280
|
```
|
|
1056
1281
|
|
|
1057
|
-
_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.57/src/commands/log-level.ts)_
|
|
1058
1283
|
|
|
1059
1284
|
## `qfg login`
|
|
1060
1285
|
|
|
@@ -1079,7 +1304,7 @@ EXAMPLES
|
|
|
1079
1304
|
$ qfg login --profile myprofile
|
|
1080
1305
|
```
|
|
1081
1306
|
|
|
1082
|
-
_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.57/src/commands/login.ts)_
|
|
1083
1308
|
|
|
1084
1309
|
## `qfg logout`
|
|
1085
1310
|
|
|
@@ -1102,7 +1327,7 @@ EXAMPLES
|
|
|
1102
1327
|
$ qfg logout
|
|
1103
1328
|
```
|
|
1104
1329
|
|
|
1105
|
-
_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.57/src/commands/logout.ts)_
|
|
1106
1331
|
|
|
1107
1332
|
## `qfg migrate`
|
|
1108
1333
|
|
|
@@ -1165,7 +1390,7 @@ EXAMPLES
|
|
|
1165
1390
|
$ qfg migrate --from launch --source-api-key $LAUNCH_API_KEY --dir ./quonfig-repo --staging
|
|
1166
1391
|
```
|
|
1167
1392
|
|
|
1168
|
-
_See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1393
|
+
_See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/migrate.ts)_
|
|
1169
1394
|
|
|
1170
1395
|
## `qfg migrate doctor`
|
|
1171
1396
|
|
|
@@ -1203,7 +1428,7 @@ EXAMPLES
|
|
|
1203
1428
|
$ qfg migrate doctor --json
|
|
1204
1429
|
```
|
|
1205
1430
|
|
|
1206
|
-
_See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1431
|
+
_See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/migrate/doctor.ts)_
|
|
1207
1432
|
|
|
1208
1433
|
## `qfg migrate my-code`
|
|
1209
1434
|
|
|
@@ -1235,7 +1460,7 @@ EXAMPLES
|
|
|
1235
1460
|
$ qfg migrate my-code --dry-run
|
|
1236
1461
|
```
|
|
1237
1462
|
|
|
1238
|
-
_See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1463
|
+
_See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/migrate/my-code.ts)_
|
|
1239
1464
|
|
|
1240
1465
|
## `qfg migrate status`
|
|
1241
1466
|
|
|
@@ -1266,7 +1491,7 @@ EXAMPLES
|
|
|
1266
1491
|
$ qfg migrate status --json
|
|
1267
1492
|
```
|
|
1268
1493
|
|
|
1269
|
-
_See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1494
|
+
_See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/migrate/status.ts)_
|
|
1270
1495
|
|
|
1271
1496
|
## `qfg override [NAME] [VALUE]`
|
|
1272
1497
|
|
|
@@ -1321,7 +1546,7 @@ EXAMPLES
|
|
|
1321
1546
|
$ qfg override my.flag true --env=staging
|
|
1322
1547
|
```
|
|
1323
1548
|
|
|
1324
|
-
_See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1549
|
+
_See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/override.ts)_
|
|
1325
1550
|
|
|
1326
1551
|
## `qfg pull`
|
|
1327
1552
|
|
|
@@ -1369,7 +1594,7 @@ EXAMPLES
|
|
|
1369
1594
|
$ qfg pull # uses QUONFIG_DIR env var
|
|
1370
1595
|
```
|
|
1371
1596
|
|
|
1372
|
-
_See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1597
|
+
_See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/pull.ts)_
|
|
1373
1598
|
|
|
1374
1599
|
## `qfg push`
|
|
1375
1600
|
|
|
@@ -1418,7 +1643,7 @@ EXAMPLES
|
|
|
1418
1643
|
$ qfg push --dir ./our-config --yes
|
|
1419
1644
|
```
|
|
1420
1645
|
|
|
1421
|
-
_See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1646
|
+
_See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/push.ts)_
|
|
1422
1647
|
|
|
1423
1648
|
## `qfg run [COMMAND]`
|
|
1424
1649
|
|
|
@@ -1469,7 +1694,7 @@ EXAMPLES
|
|
|
1469
1694
|
$ qfg run --env DATABASE_URL=db.url --preserve-env --environment=staging -- npm test
|
|
1470
1695
|
```
|
|
1471
1696
|
|
|
1472
|
-
_See code: [src/commands/run.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1697
|
+
_See code: [src/commands/run.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/run.ts)_
|
|
1473
1698
|
|
|
1474
1699
|
## `qfg schema NAME`
|
|
1475
1700
|
|
|
@@ -1507,7 +1732,7 @@ EXAMPLES
|
|
|
1507
1732
|
$ qfg schema my-schema --set-json-schema=@schemas/my-schema.json --protected
|
|
1508
1733
|
```
|
|
1509
1734
|
|
|
1510
|
-
_See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1735
|
+
_See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/schema.ts)_
|
|
1511
1736
|
|
|
1512
1737
|
## `qfg sdk-key`
|
|
1513
1738
|
|
|
@@ -1534,7 +1759,7 @@ EXAMPLES
|
|
|
1534
1759
|
$ qfg sdk-key revoke <key-id>
|
|
1535
1760
|
```
|
|
1536
1761
|
|
|
1537
|
-
_See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1762
|
+
_See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/sdk-key.ts)_
|
|
1538
1763
|
|
|
1539
1764
|
## `qfg sdk-key create`
|
|
1540
1765
|
|
|
@@ -1566,7 +1791,7 @@ EXAMPLES
|
|
|
1566
1791
|
$ qfg sdk-key create --environment staging --type browser
|
|
1567
1792
|
```
|
|
1568
1793
|
|
|
1569
|
-
_See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1794
|
+
_See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/sdk-key/create.ts)_
|
|
1570
1795
|
|
|
1571
1796
|
## `qfg sdk-key list`
|
|
1572
1797
|
|
|
@@ -1595,7 +1820,7 @@ EXAMPLES
|
|
|
1595
1820
|
$ qfg sdk-key list --environment production
|
|
1596
1821
|
```
|
|
1597
1822
|
|
|
1598
|
-
_See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1823
|
+
_See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/sdk-key/list.ts)_
|
|
1599
1824
|
|
|
1600
1825
|
## `qfg sdk-key revoke KEYID`
|
|
1601
1826
|
|
|
@@ -1622,7 +1847,7 @@ EXAMPLES
|
|
|
1622
1847
|
$ qfg sdk-key revoke a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
1623
1848
|
```
|
|
1624
1849
|
|
|
1625
|
-
_See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1850
|
+
_See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/sdk-key/revoke.ts)_
|
|
1626
1851
|
|
|
1627
1852
|
## `qfg serve`
|
|
1628
1853
|
|
|
@@ -1679,7 +1904,7 @@ EXAMPLES
|
|
|
1679
1904
|
$ qfg serve --port 6581 --frontend-sdk-key PUBLIC_KEY
|
|
1680
1905
|
```
|
|
1681
1906
|
|
|
1682
|
-
_See code: [src/commands/serve.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1907
|
+
_See code: [src/commands/serve.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/serve.ts)_
|
|
1683
1908
|
|
|
1684
1909
|
## `qfg set-default [NAME]`
|
|
1685
1910
|
|
|
@@ -1750,7 +1975,7 @@ EXAMPLES
|
|
|
1750
1975
|
$ qfg pull && qfg config-schema
|
|
1751
1976
|
```
|
|
1752
1977
|
|
|
1753
|
-
_See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1978
|
+
_See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/set-default.ts)_
|
|
1754
1979
|
|
|
1755
1980
|
## `qfg set-rollout [NAME]`
|
|
1756
1981
|
|
|
@@ -1827,7 +2052,7 @@ EXAMPLES
|
|
|
1827
2052
|
$ qfg set-rollout my.variant.flag --environment production --weights "a:33,b:33,c:34" --hash-by user.id
|
|
1828
2053
|
```
|
|
1829
2054
|
|
|
1830
|
-
_See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2055
|
+
_See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/set-rollout.ts)_
|
|
1831
2056
|
|
|
1832
2057
|
## `qfg sync`
|
|
1833
2058
|
|
|
@@ -1859,7 +2084,7 @@ EXAMPLES
|
|
|
1859
2084
|
$ qfg sync --watch --dir ./our-config --interval 30
|
|
1860
2085
|
```
|
|
1861
2086
|
|
|
1862
|
-
_See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2087
|
+
_See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/sync.ts)_
|
|
1863
2088
|
|
|
1864
2089
|
## `qfg toggle [NAME]`
|
|
1865
2090
|
|
|
@@ -1961,7 +2186,7 @@ EXAMPLES
|
|
|
1961
2186
|
$ qfg verify --json
|
|
1962
2187
|
```
|
|
1963
2188
|
|
|
1964
|
-
_See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2189
|
+
_See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/verify.ts)_
|
|
1965
2190
|
|
|
1966
2191
|
## `qfg whoami`
|
|
1967
2192
|
|
|
@@ -1984,7 +2209,7 @@ EXAMPLES
|
|
|
1984
2209
|
$ qfg whoami
|
|
1985
2210
|
```
|
|
1986
2211
|
|
|
1987
|
-
_See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2212
|
+
_See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/whoami.ts)_
|
|
1988
2213
|
|
|
1989
2214
|
## `qfg workspace`
|
|
1990
2215
|
|
|
@@ -2007,7 +2232,7 @@ EXAMPLES
|
|
|
2007
2232
|
$ qfg workspace
|
|
2008
2233
|
```
|
|
2009
2234
|
|
|
2010
|
-
_See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2235
|
+
_See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/workspace.ts)_
|
|
2011
2236
|
|
|
2012
2237
|
## `qfg workspace bootstrap`
|
|
2013
2238
|
|
|
@@ -2040,7 +2265,7 @@ EXAMPLES
|
|
|
2040
2265
|
$ qfg workspace bootstrap --dir ./our-config --skip-validate
|
|
2041
2266
|
```
|
|
2042
2267
|
|
|
2043
|
-
_See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2268
|
+
_See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/workspace/bootstrap.ts)_
|
|
2044
2269
|
|
|
2045
2270
|
## `qfg workspace create SLUG`
|
|
2046
2271
|
|
|
@@ -2074,7 +2299,7 @@ EXAMPLES
|
|
|
2074
2299
|
$ qfg workspace create my-team --org 11111111-1111-1111-1111-111111111111
|
|
2075
2300
|
```
|
|
2076
2301
|
|
|
2077
|
-
_See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2302
|
+
_See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/workspace/create.ts)_
|
|
2078
2303
|
|
|
2079
2304
|
## `qfg workspace switch [SLUG]`
|
|
2080
2305
|
|
|
@@ -2102,7 +2327,7 @@ EXAMPLES
|
|
|
2102
2327
|
$ qfg workspace switch acme/production
|
|
2103
2328
|
```
|
|
2104
2329
|
|
|
2105
|
-
_See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
2330
|
+
_See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.57/src/commands/workspace/switch.ts)_
|
|
2106
2331
|
<!-- commandsstop -->
|
|
2107
2332
|
|
|
2108
2333
|
## Local Development
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APICommand } from '../../index.js';
|
|
2
|
+
import { JsonObj } from '../../result.js';
|
|
3
|
+
export default class CleanupList extends APICommand {
|
|
4
|
+
static description: string;
|
|
5
|
+
static examples: string[];
|
|
6
|
+
static flags: {
|
|
7
|
+
json: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
8
|
+
};
|
|
9
|
+
run(): Promise<JsonObj | void>;
|
|
10
|
+
}
|