@quonfig/cli 0.0.44 → 0.0.46
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 +54 -49
- package/dist/commands/migrate.d.ts +1 -0
- package/dist/commands/migrate.js +25 -1
- package/dist/commands/pull.js +45 -12
- package/dist/commands/push.js +86 -9
- package/dist/init/schema.d.ts +1 -1
- package/dist/init/schema.js +1 -1
- package/dist/init/templates.js +5 -5
- package/dist/migrate/local-write.d.ts +61 -1
- package/dist/migrate/local-write.js +134 -1
- package/dist/migrate/push-to-cloud.d.ts +11 -2
- package/dist/migrate/push-to-cloud.js +78 -42
- package/dist/migrate/source.d.ts +24 -0
- package/dist/migrate/sources/launch.js +21 -0
- package/dist/push/config-push-client.d.ts +15 -1
- package/dist/push/config-push-client.js +102 -0
- package/dist/push/git-pack.d.ts +70 -0
- package/dist/push/git-pack.js +127 -0
- package/dist/push/identity-check.d.ts +27 -6
- package/dist/push/identity-check.js +74 -19
- package/dist/push/run-push.d.ts +133 -1
- package/dist/push/run-push.js +183 -46
- package/dist/util/clone-and-stack-push.d.ts +40 -9
- package/dist/util/clone-and-stack-push.js +59 -20
- package/dist/util/git-ops.d.ts +9 -0
- package/dist/util/git-ops.js +38 -0
- package/dist/util/resolve-workspace-dir.d.ts +44 -0
- package/dist/util/resolve-workspace-dir.js +61 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/oclif.manifest.json +165 -159
- package/package.json +3 -3
package/oclif.manifest.json
CHANGED
|
@@ -1383,6 +1383,12 @@
|
|
|
1383
1383
|
],
|
|
1384
1384
|
"type": "option"
|
|
1385
1385
|
},
|
|
1386
|
+
"full-summary": {
|
|
1387
|
+
"description": "Reify the full source-side audit log into per-change git commits (author = original user, date = original timestamp, message = change summary). Only valid on first-run imports — pass --reset to re-import everything from scratch with this flag.",
|
|
1388
|
+
"name": "full-summary",
|
|
1389
|
+
"allowNo": false,
|
|
1390
|
+
"type": "boolean"
|
|
1391
|
+
},
|
|
1386
1392
|
"push": {
|
|
1387
1393
|
"description": "After migrating to a local dir, also push to the given --workspace on Quonfig cloud",
|
|
1388
1394
|
"name": "push",
|
|
@@ -1637,7 +1643,7 @@
|
|
|
1637
1643
|
"type": "boolean"
|
|
1638
1644
|
},
|
|
1639
1645
|
"dir": {
|
|
1640
|
-
"description": "Local directory to clone/update (defaults to QUONFIG_DIR env var)",
|
|
1646
|
+
"description": "Local directory to clone/update (defaults to cwd / nearest ancestor with quonfig.json / QUONFIG_DIR env var)",
|
|
1641
1647
|
"name": "dir",
|
|
1642
1648
|
"hasDynamicHelp": false,
|
|
1643
1649
|
"multiple": false,
|
|
@@ -1675,7 +1681,7 @@
|
|
|
1675
1681
|
"push": {
|
|
1676
1682
|
"aliases": [],
|
|
1677
1683
|
"args": {},
|
|
1678
|
-
"description": "Push local config changes up to your workspace on Quonfig cloud.\n\nEnforces three guards before touching the remote:\n 1. The dir's quonfig.json \"workspace\" pin must match the backend (if set).\n 2. The dir's git origin must match the backend repo URL (if set).\n 3. A diff summary is shown; destructive changes (10+ deletes, >=25% of\n files, or an unpinned dir) require typing the workspace slug to confirm.\n\n qfg push #
|
|
1684
|
+
"description": "Push local config changes up to your workspace on Quonfig cloud.\n\nEnforces three guards before touching the remote:\n 1. The dir's quonfig.json \"workspace\" pin must match the backend (if set).\n 2. The dir's git origin must match the backend repo URL (if set).\n 3. A diff summary is shown; destructive changes (10+ deletes, >=25% of\n files, or an unpinned dir) require typing the workspace slug to confirm.\n\n qfg push # resolves dir from cwd, QUONFIG_DIR, or --dir\n qfg push --dir ./our-config\n qfg push --dir ./our-config --workspace acme-prod\n qfg push --dir ./our-config --yes # skip normal Y/N (never skips typed-slug)\n qfg push --dir ./our-config --skip-validate",
|
|
1679
1685
|
"examples": [
|
|
1680
1686
|
"<%= config.bin %> push --dir ./our-config",
|
|
1681
1687
|
"<%= config.bin %> push --workspace acme-prod --dir ./our-config",
|
|
@@ -1712,7 +1718,7 @@
|
|
|
1712
1718
|
"type": "boolean"
|
|
1713
1719
|
},
|
|
1714
1720
|
"dir": {
|
|
1715
|
-
"description": "Local directory to push (defaults to QUONFIG_DIR env var)",
|
|
1721
|
+
"description": "Local directory to push (defaults to cwd / nearest ancestor with quonfig.json / QUONFIG_DIR env var)",
|
|
1716
1722
|
"name": "dir",
|
|
1717
1723
|
"hasDynamicHelp": false,
|
|
1718
1724
|
"multiple": false,
|
|
@@ -3122,13 +3128,14 @@
|
|
|
3122
3128
|
"status.js"
|
|
3123
3129
|
]
|
|
3124
3130
|
},
|
|
3125
|
-
"
|
|
3131
|
+
"workspace:bootstrap": {
|
|
3126
3132
|
"aliases": [],
|
|
3127
3133
|
"args": {},
|
|
3128
|
-
"description": "
|
|
3134
|
+
"description": "Push a local git repo to Gitea as this workspace's config repository",
|
|
3129
3135
|
"examples": [
|
|
3130
|
-
"<%= config.bin %>
|
|
3131
|
-
"<%= config.bin %>
|
|
3136
|
+
"<%= config.bin %> workspace bootstrap --dir ./our-config",
|
|
3137
|
+
"<%= config.bin %> workspace bootstrap --dir ./launch-migrator/output",
|
|
3138
|
+
"<%= config.bin %> workspace bootstrap --dir ./our-config --skip-validate"
|
|
3132
3139
|
],
|
|
3133
3140
|
"flags": {
|
|
3134
3141
|
"json": {
|
|
@@ -3160,53 +3167,30 @@
|
|
|
3160
3167
|
"allowNo": false,
|
|
3161
3168
|
"type": "boolean"
|
|
3162
3169
|
},
|
|
3163
|
-
"
|
|
3164
|
-
"
|
|
3165
|
-
"
|
|
3166
|
-
"helpGroup": "GLOBAL",
|
|
3167
|
-
"name": "workspace",
|
|
3168
|
-
"required": false,
|
|
3169
|
-
"hasDynamicHelp": false,
|
|
3170
|
-
"multiple": false,
|
|
3171
|
-
"type": "option"
|
|
3172
|
-
},
|
|
3173
|
-
"profile": {
|
|
3174
|
-
"char": "p",
|
|
3175
|
-
"description": "Deprecated: use --workspace instead",
|
|
3176
|
-
"helpGroup": "GLOBAL",
|
|
3177
|
-
"hidden": true,
|
|
3178
|
-
"name": "profile",
|
|
3170
|
+
"dir": {
|
|
3171
|
+
"description": "Local directory to push (defaults to current directory)",
|
|
3172
|
+
"name": "dir",
|
|
3179
3173
|
"required": false,
|
|
3180
3174
|
"hasDynamicHelp": false,
|
|
3181
3175
|
"multiple": false,
|
|
3182
3176
|
"type": "option"
|
|
3183
3177
|
},
|
|
3184
|
-
"
|
|
3185
|
-
"
|
|
3186
|
-
"
|
|
3187
|
-
"
|
|
3188
|
-
"
|
|
3189
|
-
"hasDynamicHelp": false,
|
|
3190
|
-
"multiple": false,
|
|
3191
|
-
"type": "option"
|
|
3178
|
+
"force": {
|
|
3179
|
+
"description": "Force push even if remote already has commits",
|
|
3180
|
+
"name": "force",
|
|
3181
|
+
"allowNo": false,
|
|
3182
|
+
"type": "boolean"
|
|
3192
3183
|
},
|
|
3193
|
-
"
|
|
3194
|
-
"
|
|
3195
|
-
"
|
|
3196
|
-
"
|
|
3197
|
-
"
|
|
3198
|
-
"hasDynamicHelp": false,
|
|
3199
|
-
"multiple": false,
|
|
3200
|
-
"options": [
|
|
3201
|
-
"server",
|
|
3202
|
-
"browser"
|
|
3203
|
-
],
|
|
3204
|
-
"type": "option"
|
|
3184
|
+
"skip-validate": {
|
|
3185
|
+
"description": "Skip config validation before pushing",
|
|
3186
|
+
"name": "skip-validate",
|
|
3187
|
+
"allowNo": false,
|
|
3188
|
+
"type": "boolean"
|
|
3205
3189
|
}
|
|
3206
3190
|
},
|
|
3207
3191
|
"hasDynamicHelp": false,
|
|
3208
3192
|
"hiddenAliases": [],
|
|
3209
|
-
"id": "
|
|
3193
|
+
"id": "workspace:bootstrap",
|
|
3210
3194
|
"pluginAlias": "@quonfig/cli",
|
|
3211
3195
|
"pluginName": "@quonfig/cli",
|
|
3212
3196
|
"pluginType": "core",
|
|
@@ -3216,17 +3200,24 @@
|
|
|
3216
3200
|
"relativePath": [
|
|
3217
3201
|
"dist",
|
|
3218
3202
|
"commands",
|
|
3219
|
-
"
|
|
3220
|
-
"
|
|
3203
|
+
"workspace",
|
|
3204
|
+
"bootstrap.js"
|
|
3221
3205
|
]
|
|
3222
3206
|
},
|
|
3223
|
-
"
|
|
3207
|
+
"workspace:create": {
|
|
3224
3208
|
"aliases": [],
|
|
3225
|
-
"args": {
|
|
3226
|
-
|
|
3209
|
+
"args": {
|
|
3210
|
+
"slug": {
|
|
3211
|
+
"description": "Workspace slug (lowercase letters, numbers, hyphens)",
|
|
3212
|
+
"name": "slug",
|
|
3213
|
+
"required": true
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3216
|
+
"description": "Create a new workspace. Provisions the Gitea repo and default environments, identical to the app's New Workspace UI.",
|
|
3227
3217
|
"examples": [
|
|
3228
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3229
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3218
|
+
"<%= config.bin %> <%= command.id %> my-team",
|
|
3219
|
+
"<%= config.bin %> <%= command.id %> lt-21-smoke --name \"Load Test 21\"",
|
|
3220
|
+
"<%= config.bin %> <%= command.id %> my-team --org 11111111-1111-1111-1111-111111111111"
|
|
3230
3221
|
],
|
|
3231
3222
|
"flags": {
|
|
3232
3223
|
"json": {
|
|
@@ -3258,31 +3249,17 @@
|
|
|
3258
3249
|
"allowNo": false,
|
|
3259
3250
|
"type": "boolean"
|
|
3260
3251
|
},
|
|
3261
|
-
"
|
|
3262
|
-
"
|
|
3263
|
-
"
|
|
3264
|
-
"helpGroup": "GLOBAL",
|
|
3265
|
-
"name": "workspace",
|
|
3266
|
-
"required": false,
|
|
3267
|
-
"hasDynamicHelp": false,
|
|
3268
|
-
"multiple": false,
|
|
3269
|
-
"type": "option"
|
|
3270
|
-
},
|
|
3271
|
-
"profile": {
|
|
3272
|
-
"char": "p",
|
|
3273
|
-
"description": "Deprecated: use --workspace instead",
|
|
3274
|
-
"helpGroup": "GLOBAL",
|
|
3275
|
-
"hidden": true,
|
|
3276
|
-
"name": "profile",
|
|
3252
|
+
"name": {
|
|
3253
|
+
"description": "Human-readable display name (defaults to the slug)",
|
|
3254
|
+
"name": "name",
|
|
3277
3255
|
"required": false,
|
|
3278
3256
|
"hasDynamicHelp": false,
|
|
3279
3257
|
"multiple": false,
|
|
3280
3258
|
"type": "option"
|
|
3281
3259
|
},
|
|
3282
|
-
"
|
|
3283
|
-
"
|
|
3284
|
-
"
|
|
3285
|
-
"name": "environment",
|
|
3260
|
+
"org": {
|
|
3261
|
+
"description": "Organization UUID or slug. Required when you belong to more than one organization; inferred otherwise.",
|
|
3262
|
+
"name": "org",
|
|
3286
3263
|
"required": false,
|
|
3287
3264
|
"hasDynamicHelp": false,
|
|
3288
3265
|
"multiple": false,
|
|
@@ -3291,7 +3268,7 @@
|
|
|
3291
3268
|
},
|
|
3292
3269
|
"hasDynamicHelp": false,
|
|
3293
3270
|
"hiddenAliases": [],
|
|
3294
|
-
"id": "
|
|
3271
|
+
"id": "workspace:create",
|
|
3295
3272
|
"pluginAlias": "@quonfig/cli",
|
|
3296
3273
|
"pluginName": "@quonfig/cli",
|
|
3297
3274
|
"pluginType": "core",
|
|
@@ -3301,22 +3278,23 @@
|
|
|
3301
3278
|
"relativePath": [
|
|
3302
3279
|
"dist",
|
|
3303
3280
|
"commands",
|
|
3304
|
-
"
|
|
3305
|
-
"
|
|
3281
|
+
"workspace",
|
|
3282
|
+
"create.js"
|
|
3306
3283
|
]
|
|
3307
3284
|
},
|
|
3308
|
-
"
|
|
3285
|
+
"workspace:switch": {
|
|
3309
3286
|
"aliases": [],
|
|
3310
3287
|
"args": {
|
|
3311
|
-
"
|
|
3312
|
-
"description": "
|
|
3313
|
-
"name": "
|
|
3314
|
-
"required":
|
|
3288
|
+
"slug": {
|
|
3289
|
+
"description": "Workspace pin in `<org-slug>/<workspace-slug>` form. Omit for an interactive picker.",
|
|
3290
|
+
"name": "slug",
|
|
3291
|
+
"required": false
|
|
3315
3292
|
}
|
|
3316
3293
|
},
|
|
3317
|
-
"description": "
|
|
3294
|
+
"description": "Switch the saved default profile to a different (org, workspace) pair",
|
|
3318
3295
|
"examples": [
|
|
3319
|
-
"<%= config.bin %> <%= command.id %>
|
|
3296
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3297
|
+
"<%= config.bin %> <%= command.id %> acme/production"
|
|
3320
3298
|
],
|
|
3321
3299
|
"flags": {
|
|
3322
3300
|
"json": {
|
|
@@ -3347,32 +3325,11 @@
|
|
|
3347
3325
|
"name": "verbose",
|
|
3348
3326
|
"allowNo": false,
|
|
3349
3327
|
"type": "boolean"
|
|
3350
|
-
},
|
|
3351
|
-
"workspace": {
|
|
3352
|
-
"char": "w",
|
|
3353
|
-
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3354
|
-
"helpGroup": "GLOBAL",
|
|
3355
|
-
"name": "workspace",
|
|
3356
|
-
"required": false,
|
|
3357
|
-
"hasDynamicHelp": false,
|
|
3358
|
-
"multiple": false,
|
|
3359
|
-
"type": "option"
|
|
3360
|
-
},
|
|
3361
|
-
"profile": {
|
|
3362
|
-
"char": "p",
|
|
3363
|
-
"description": "Deprecated: use --workspace instead",
|
|
3364
|
-
"helpGroup": "GLOBAL",
|
|
3365
|
-
"hidden": true,
|
|
3366
|
-
"name": "profile",
|
|
3367
|
-
"required": false,
|
|
3368
|
-
"hasDynamicHelp": false,
|
|
3369
|
-
"multiple": false,
|
|
3370
|
-
"type": "option"
|
|
3371
3328
|
}
|
|
3372
3329
|
},
|
|
3373
3330
|
"hasDynamicHelp": false,
|
|
3374
3331
|
"hiddenAliases": [],
|
|
3375
|
-
"id": "
|
|
3332
|
+
"id": "workspace:switch",
|
|
3376
3333
|
"pluginAlias": "@quonfig/cli",
|
|
3377
3334
|
"pluginName": "@quonfig/cli",
|
|
3378
3335
|
"pluginType": "core",
|
|
@@ -3382,18 +3339,17 @@
|
|
|
3382
3339
|
"relativePath": [
|
|
3383
3340
|
"dist",
|
|
3384
3341
|
"commands",
|
|
3385
|
-
"
|
|
3386
|
-
"
|
|
3342
|
+
"workspace",
|
|
3343
|
+
"switch.js"
|
|
3387
3344
|
]
|
|
3388
3345
|
},
|
|
3389
|
-
"
|
|
3346
|
+
"sdk-key:create": {
|
|
3390
3347
|
"aliases": [],
|
|
3391
3348
|
"args": {},
|
|
3392
|
-
"description": "
|
|
3349
|
+
"description": "Create a new SDK key",
|
|
3393
3350
|
"examples": [
|
|
3394
|
-
"<%= config.bin %>
|
|
3395
|
-
"<%= config.bin %>
|
|
3396
|
-
"<%= config.bin %> workspace bootstrap --dir ./our-config --skip-validate"
|
|
3351
|
+
"<%= config.bin %> <%= command.id %> --environment production --type server",
|
|
3352
|
+
"<%= config.bin %> <%= command.id %> --environment staging --type browser"
|
|
3397
3353
|
],
|
|
3398
3354
|
"flags": {
|
|
3399
3355
|
"json": {
|
|
@@ -3425,30 +3381,53 @@
|
|
|
3425
3381
|
"allowNo": false,
|
|
3426
3382
|
"type": "boolean"
|
|
3427
3383
|
},
|
|
3428
|
-
"
|
|
3429
|
-
"
|
|
3430
|
-
"
|
|
3384
|
+
"workspace": {
|
|
3385
|
+
"char": "w",
|
|
3386
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3387
|
+
"helpGroup": "GLOBAL",
|
|
3388
|
+
"name": "workspace",
|
|
3431
3389
|
"required": false,
|
|
3432
3390
|
"hasDynamicHelp": false,
|
|
3433
3391
|
"multiple": false,
|
|
3434
3392
|
"type": "option"
|
|
3435
3393
|
},
|
|
3436
|
-
"
|
|
3437
|
-
"
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
3394
|
+
"profile": {
|
|
3395
|
+
"char": "p",
|
|
3396
|
+
"description": "Deprecated: use --workspace instead",
|
|
3397
|
+
"helpGroup": "GLOBAL",
|
|
3398
|
+
"hidden": true,
|
|
3399
|
+
"name": "profile",
|
|
3400
|
+
"required": false,
|
|
3401
|
+
"hasDynamicHelp": false,
|
|
3402
|
+
"multiple": false,
|
|
3403
|
+
"type": "option"
|
|
3441
3404
|
},
|
|
3442
|
-
"
|
|
3443
|
-
"
|
|
3444
|
-
"
|
|
3445
|
-
"
|
|
3446
|
-
"
|
|
3405
|
+
"environment": {
|
|
3406
|
+
"char": "e",
|
|
3407
|
+
"description": "Environment name (e.g. production, staging)",
|
|
3408
|
+
"name": "environment",
|
|
3409
|
+
"required": false,
|
|
3410
|
+
"hasDynamicHelp": false,
|
|
3411
|
+
"multiple": false,
|
|
3412
|
+
"type": "option"
|
|
3413
|
+
},
|
|
3414
|
+
"type": {
|
|
3415
|
+
"char": "t",
|
|
3416
|
+
"description": "Key type: server (backend) or browser (frontend)",
|
|
3417
|
+
"name": "type",
|
|
3418
|
+
"required": false,
|
|
3419
|
+
"hasDynamicHelp": false,
|
|
3420
|
+
"multiple": false,
|
|
3421
|
+
"options": [
|
|
3422
|
+
"server",
|
|
3423
|
+
"browser"
|
|
3424
|
+
],
|
|
3425
|
+
"type": "option"
|
|
3447
3426
|
}
|
|
3448
3427
|
},
|
|
3449
3428
|
"hasDynamicHelp": false,
|
|
3450
3429
|
"hiddenAliases": [],
|
|
3451
|
-
"id": "
|
|
3430
|
+
"id": "sdk-key:create",
|
|
3452
3431
|
"pluginAlias": "@quonfig/cli",
|
|
3453
3432
|
"pluginName": "@quonfig/cli",
|
|
3454
3433
|
"pluginType": "core",
|
|
@@ -3458,24 +3437,17 @@
|
|
|
3458
3437
|
"relativePath": [
|
|
3459
3438
|
"dist",
|
|
3460
3439
|
"commands",
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3440
|
+
"sdk-key",
|
|
3441
|
+
"create.js"
|
|
3463
3442
|
]
|
|
3464
3443
|
},
|
|
3465
|
-
"
|
|
3444
|
+
"sdk-key:list": {
|
|
3466
3445
|
"aliases": [],
|
|
3467
|
-
"args": {
|
|
3468
|
-
|
|
3469
|
-
"description": "Workspace slug (lowercase letters, numbers, hyphens)",
|
|
3470
|
-
"name": "slug",
|
|
3471
|
-
"required": true
|
|
3472
|
-
}
|
|
3473
|
-
},
|
|
3474
|
-
"description": "Create a new workspace. Provisions the Gitea repo and default environments, identical to the app's New Workspace UI.",
|
|
3446
|
+
"args": {},
|
|
3447
|
+
"description": "List SDK keys for your workspace",
|
|
3475
3448
|
"examples": [
|
|
3476
|
-
"<%= config.bin %> <%= command.id %>
|
|
3477
|
-
"<%= config.bin %> <%= command.id %>
|
|
3478
|
-
"<%= config.bin %> <%= command.id %> my-team --org 11111111-1111-1111-1111-111111111111"
|
|
3449
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3450
|
+
"<%= config.bin %> <%= command.id %> --environment production"
|
|
3479
3451
|
],
|
|
3480
3452
|
"flags": {
|
|
3481
3453
|
"json": {
|
|
@@ -3507,17 +3479,31 @@
|
|
|
3507
3479
|
"allowNo": false,
|
|
3508
3480
|
"type": "boolean"
|
|
3509
3481
|
},
|
|
3510
|
-
"
|
|
3511
|
-
"
|
|
3512
|
-
"
|
|
3482
|
+
"workspace": {
|
|
3483
|
+
"char": "w",
|
|
3484
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3485
|
+
"helpGroup": "GLOBAL",
|
|
3486
|
+
"name": "workspace",
|
|
3513
3487
|
"required": false,
|
|
3514
3488
|
"hasDynamicHelp": false,
|
|
3515
3489
|
"multiple": false,
|
|
3516
3490
|
"type": "option"
|
|
3517
3491
|
},
|
|
3518
|
-
"
|
|
3519
|
-
"
|
|
3520
|
-
"
|
|
3492
|
+
"profile": {
|
|
3493
|
+
"char": "p",
|
|
3494
|
+
"description": "Deprecated: use --workspace instead",
|
|
3495
|
+
"helpGroup": "GLOBAL",
|
|
3496
|
+
"hidden": true,
|
|
3497
|
+
"name": "profile",
|
|
3498
|
+
"required": false,
|
|
3499
|
+
"hasDynamicHelp": false,
|
|
3500
|
+
"multiple": false,
|
|
3501
|
+
"type": "option"
|
|
3502
|
+
},
|
|
3503
|
+
"environment": {
|
|
3504
|
+
"char": "e",
|
|
3505
|
+
"description": "Filter by environment name",
|
|
3506
|
+
"name": "environment",
|
|
3521
3507
|
"required": false,
|
|
3522
3508
|
"hasDynamicHelp": false,
|
|
3523
3509
|
"multiple": false,
|
|
@@ -3526,7 +3512,7 @@
|
|
|
3526
3512
|
},
|
|
3527
3513
|
"hasDynamicHelp": false,
|
|
3528
3514
|
"hiddenAliases": [],
|
|
3529
|
-
"id": "
|
|
3515
|
+
"id": "sdk-key:list",
|
|
3530
3516
|
"pluginAlias": "@quonfig/cli",
|
|
3531
3517
|
"pluginName": "@quonfig/cli",
|
|
3532
3518
|
"pluginType": "core",
|
|
@@ -3536,23 +3522,22 @@
|
|
|
3536
3522
|
"relativePath": [
|
|
3537
3523
|
"dist",
|
|
3538
3524
|
"commands",
|
|
3539
|
-
"
|
|
3540
|
-
"
|
|
3525
|
+
"sdk-key",
|
|
3526
|
+
"list.js"
|
|
3541
3527
|
]
|
|
3542
3528
|
},
|
|
3543
|
-
"
|
|
3529
|
+
"sdk-key:revoke": {
|
|
3544
3530
|
"aliases": [],
|
|
3545
3531
|
"args": {
|
|
3546
|
-
"
|
|
3547
|
-
"description": "
|
|
3548
|
-
"name": "
|
|
3549
|
-
"required":
|
|
3532
|
+
"keyId": {
|
|
3533
|
+
"description": "ID of the SDK key to revoke",
|
|
3534
|
+
"name": "keyId",
|
|
3535
|
+
"required": true
|
|
3550
3536
|
}
|
|
3551
3537
|
},
|
|
3552
|
-
"description": "
|
|
3538
|
+
"description": "Revoke an SDK key by its ID",
|
|
3553
3539
|
"examples": [
|
|
3554
|
-
"<%= config.bin %> <%= command.id %>"
|
|
3555
|
-
"<%= config.bin %> <%= command.id %> acme/production"
|
|
3540
|
+
"<%= config.bin %> <%= command.id %> a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
|
3556
3541
|
],
|
|
3557
3542
|
"flags": {
|
|
3558
3543
|
"json": {
|
|
@@ -3583,11 +3568,32 @@
|
|
|
3583
3568
|
"name": "verbose",
|
|
3584
3569
|
"allowNo": false,
|
|
3585
3570
|
"type": "boolean"
|
|
3571
|
+
},
|
|
3572
|
+
"workspace": {
|
|
3573
|
+
"char": "w",
|
|
3574
|
+
"description": "Workspace slug to use (overrides QUONFIG_WORKSPACE env var and saved default)",
|
|
3575
|
+
"helpGroup": "GLOBAL",
|
|
3576
|
+
"name": "workspace",
|
|
3577
|
+
"required": false,
|
|
3578
|
+
"hasDynamicHelp": false,
|
|
3579
|
+
"multiple": false,
|
|
3580
|
+
"type": "option"
|
|
3581
|
+
},
|
|
3582
|
+
"profile": {
|
|
3583
|
+
"char": "p",
|
|
3584
|
+
"description": "Deprecated: use --workspace instead",
|
|
3585
|
+
"helpGroup": "GLOBAL",
|
|
3586
|
+
"hidden": true,
|
|
3587
|
+
"name": "profile",
|
|
3588
|
+
"required": false,
|
|
3589
|
+
"hasDynamicHelp": false,
|
|
3590
|
+
"multiple": false,
|
|
3591
|
+
"type": "option"
|
|
3586
3592
|
}
|
|
3587
3593
|
},
|
|
3588
3594
|
"hasDynamicHelp": false,
|
|
3589
3595
|
"hiddenAliases": [],
|
|
3590
|
-
"id": "
|
|
3596
|
+
"id": "sdk-key:revoke",
|
|
3591
3597
|
"pluginAlias": "@quonfig/cli",
|
|
3592
3598
|
"pluginName": "@quonfig/cli",
|
|
3593
3599
|
"pluginType": "core",
|
|
@@ -3597,10 +3603,10 @@
|
|
|
3597
3603
|
"relativePath": [
|
|
3598
3604
|
"dist",
|
|
3599
3605
|
"commands",
|
|
3600
|
-
"
|
|
3601
|
-
"
|
|
3606
|
+
"sdk-key",
|
|
3607
|
+
"revoke.js"
|
|
3602
3608
|
]
|
|
3603
3609
|
}
|
|
3604
3610
|
},
|
|
3605
|
-
"version": "0.0.
|
|
3611
|
+
"version": "0.0.46"
|
|
3606
3612
|
}
|
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.46",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/quonfig/cli/issues"
|
|
7
7
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@types/chai": "^4",
|
|
42
42
|
"@types/common-tags": "^1.8.4",
|
|
43
43
|
"@types/lodash.camelcase": "^4.3.9",
|
|
44
|
-
"@types/mocha": "^10",
|
|
44
|
+
"@types/mocha": "^10.0.10",
|
|
45
45
|
"@types/mustache": "^4.2.5",
|
|
46
46
|
"@types/node": "^18",
|
|
47
47
|
"@types/node-forge": "^1.3.14",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"eslint-config-prettier": "^9.0.0",
|
|
53
53
|
"eslint-plugin-markdown": "^5.1.0",
|
|
54
54
|
"eslint-plugin-only-error": "^1.0.2",
|
|
55
|
-
"mocha": "^
|
|
55
|
+
"mocha": "^11.7.5",
|
|
56
56
|
"msw": "^2.0.6",
|
|
57
57
|
"oclif": "^4.22.29",
|
|
58
58
|
"prettier": "^3.6.2",
|