@salesforce/cli 2.90.1 → 2.90.3
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 +137 -137
- package/npm-shrinkwrap.json +172 -172
- package/oclif.lock +190 -190
- package/oclif.manifest.json +372 -365
- package/package.json +24 -24
package/oclif.manifest.json
CHANGED
|
@@ -3080,15 +3080,16 @@
|
|
|
3080
3080
|
"test:run:flow"
|
|
3081
3081
|
]
|
|
3082
3082
|
},
|
|
3083
|
-
"org:
|
|
3083
|
+
"org:delete:shape": {
|
|
3084
3084
|
"aliases": [
|
|
3085
|
-
"force:org:shape:
|
|
3085
|
+
"force:org:shape:delete"
|
|
3086
3086
|
],
|
|
3087
3087
|
"args": {},
|
|
3088
3088
|
"deprecateAliases": true,
|
|
3089
|
-
"description": "
|
|
3089
|
+
"description": "A source org can have only one active org shape. If you try to create an org shape for a source org that already has one, the previous shape is marked inactive and replaced by a new active shape. If you don’t want to create scratch orgs based on this shape, you can delete the org shape.",
|
|
3090
3090
|
"examples": [
|
|
3091
|
-
"
|
|
3091
|
+
"Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
|
|
3092
|
+
"Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
|
|
3092
3093
|
],
|
|
3093
3094
|
"flags": {
|
|
3094
3095
|
"json": {
|
|
@@ -3141,70 +3142,81 @@
|
|
|
3141
3142
|
"hasDynamicHelp": false,
|
|
3142
3143
|
"multiple": false,
|
|
3143
3144
|
"type": "option"
|
|
3145
|
+
},
|
|
3146
|
+
"no-prompt": {
|
|
3147
|
+
"aliases": [
|
|
3148
|
+
"noprompt"
|
|
3149
|
+
],
|
|
3150
|
+
"char": "p",
|
|
3151
|
+
"deprecateAliases": true,
|
|
3152
|
+
"name": "no-prompt",
|
|
3153
|
+
"summary": "Don't prompt for confirmation.",
|
|
3154
|
+
"allowNo": false,
|
|
3155
|
+
"type": "boolean"
|
|
3144
3156
|
}
|
|
3145
3157
|
},
|
|
3146
3158
|
"hasDynamicHelp": true,
|
|
3147
3159
|
"hiddenAliases": [],
|
|
3148
|
-
"id": "org:
|
|
3160
|
+
"id": "org:delete:shape",
|
|
3149
3161
|
"pluginAlias": "@salesforce/plugin-signups",
|
|
3150
3162
|
"pluginName": "@salesforce/plugin-signups",
|
|
3151
3163
|
"pluginType": "jit",
|
|
3152
3164
|
"strict": true,
|
|
3153
|
-
"summary": "
|
|
3165
|
+
"summary": "Delete all org shapes for a target org.",
|
|
3154
3166
|
"enableJsonFlag": true,
|
|
3155
3167
|
"isESM": true,
|
|
3156
3168
|
"relativePath": [
|
|
3157
3169
|
"lib",
|
|
3158
3170
|
"commands",
|
|
3159
3171
|
"org",
|
|
3160
|
-
"
|
|
3172
|
+
"delete",
|
|
3161
3173
|
"shape.js"
|
|
3162
3174
|
],
|
|
3163
3175
|
"aliasPermutations": [
|
|
3164
|
-
"force:org:shape:
|
|
3165
|
-
"org:force:shape:
|
|
3166
|
-
"org:shape:force:
|
|
3167
|
-
"org:shape:
|
|
3168
|
-
"force:shape:org:
|
|
3169
|
-
"shape:force:org:
|
|
3170
|
-
"shape:org:force:
|
|
3171
|
-
"shape:org:
|
|
3172
|
-
"force:shape:
|
|
3173
|
-
"shape:force:
|
|
3174
|
-
"shape:
|
|
3175
|
-
"shape:
|
|
3176
|
-
"force:org:
|
|
3177
|
-
"org:force:
|
|
3178
|
-
"org:
|
|
3179
|
-
"org:
|
|
3180
|
-
"force:
|
|
3181
|
-
"
|
|
3182
|
-
"
|
|
3183
|
-
"
|
|
3184
|
-
"force:
|
|
3185
|
-
"
|
|
3186
|
-
"
|
|
3187
|
-
"
|
|
3176
|
+
"force:org:shape:delete",
|
|
3177
|
+
"org:force:shape:delete",
|
|
3178
|
+
"org:shape:force:delete",
|
|
3179
|
+
"org:shape:delete:force",
|
|
3180
|
+
"force:shape:org:delete",
|
|
3181
|
+
"shape:force:org:delete",
|
|
3182
|
+
"shape:org:force:delete",
|
|
3183
|
+
"shape:org:delete:force",
|
|
3184
|
+
"force:shape:delete:org",
|
|
3185
|
+
"shape:force:delete:org",
|
|
3186
|
+
"shape:delete:force:org",
|
|
3187
|
+
"shape:delete:org:force",
|
|
3188
|
+
"force:org:delete:shape",
|
|
3189
|
+
"org:force:delete:shape",
|
|
3190
|
+
"org:delete:force:shape",
|
|
3191
|
+
"org:delete:shape:force",
|
|
3192
|
+
"force:delete:org:shape",
|
|
3193
|
+
"delete:force:org:shape",
|
|
3194
|
+
"delete:org:force:shape",
|
|
3195
|
+
"delete:org:shape:force",
|
|
3196
|
+
"force:delete:shape:org",
|
|
3197
|
+
"delete:force:shape:org",
|
|
3198
|
+
"delete:shape:force:org",
|
|
3199
|
+
"delete:shape:org:force"
|
|
3188
3200
|
],
|
|
3189
3201
|
"permutations": [
|
|
3190
|
-
"org:
|
|
3191
|
-
"
|
|
3192
|
-
"
|
|
3193
|
-
"org:shape:
|
|
3194
|
-
"shape:org:
|
|
3195
|
-
"shape:
|
|
3202
|
+
"org:delete:shape",
|
|
3203
|
+
"delete:org:shape",
|
|
3204
|
+
"delete:shape:org",
|
|
3205
|
+
"org:shape:delete",
|
|
3206
|
+
"shape:org:delete",
|
|
3207
|
+
"shape:delete:org"
|
|
3196
3208
|
]
|
|
3197
3209
|
},
|
|
3198
|
-
"org:
|
|
3210
|
+
"org:delete:snapshot": {
|
|
3199
3211
|
"aliases": [
|
|
3200
|
-
"force:org:snapshot:
|
|
3212
|
+
"force:org:snapshot:delete"
|
|
3201
3213
|
],
|
|
3202
3214
|
"args": {},
|
|
3203
3215
|
"deprecateAliases": true,
|
|
3204
|
-
"description": "
|
|
3216
|
+
"description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
|
|
3205
3217
|
"examples": [
|
|
3206
|
-
"
|
|
3207
|
-
"
|
|
3218
|
+
"Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
|
|
3219
|
+
"Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
|
|
3208
3220
|
],
|
|
3209
3221
|
"flags": {
|
|
3210
3222
|
"json": {
|
|
@@ -3257,104 +3269,86 @@
|
|
|
3257
3269
|
"multiple": false,
|
|
3258
3270
|
"type": "option"
|
|
3259
3271
|
},
|
|
3260
|
-
"
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
"char": "o",
|
|
3265
|
-
"deprecateAliases": true,
|
|
3266
|
-
"name": "source-org",
|
|
3267
|
-
"required": true,
|
|
3268
|
-
"summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
|
|
3269
|
-
"hasDynamicHelp": false,
|
|
3270
|
-
"multiple": false,
|
|
3271
|
-
"type": "option"
|
|
3272
|
-
},
|
|
3273
|
-
"name": {
|
|
3274
|
-
"aliases": [
|
|
3275
|
-
"snapshotname"
|
|
3276
|
-
],
|
|
3277
|
-
"char": "n",
|
|
3278
|
-
"deprecateAliases": true,
|
|
3279
|
-
"name": "name",
|
|
3272
|
+
"snapshot": {
|
|
3273
|
+
"char": "s",
|
|
3274
|
+
"description": "The IDs of scratch org snapshots start with 0Oo.",
|
|
3275
|
+
"name": "snapshot",
|
|
3280
3276
|
"required": true,
|
|
3281
|
-
"summary": "
|
|
3277
|
+
"summary": "Name or ID of snapshot to delete.",
|
|
3282
3278
|
"hasDynamicHelp": false,
|
|
3283
3279
|
"multiple": false,
|
|
3284
3280
|
"type": "option"
|
|
3285
3281
|
},
|
|
3286
|
-
"
|
|
3287
|
-
"char": "
|
|
3288
|
-
"
|
|
3289
|
-
"
|
|
3290
|
-
"
|
|
3291
|
-
"
|
|
3292
|
-
"multiple": false,
|
|
3293
|
-
"type": "option"
|
|
3282
|
+
"no-prompt": {
|
|
3283
|
+
"char": "p",
|
|
3284
|
+
"name": "no-prompt",
|
|
3285
|
+
"summary": "Don't prompt the user to confirm the deletion.",
|
|
3286
|
+
"allowNo": false,
|
|
3287
|
+
"type": "boolean"
|
|
3294
3288
|
}
|
|
3295
3289
|
},
|
|
3296
3290
|
"hasDynamicHelp": true,
|
|
3297
3291
|
"hiddenAliases": [],
|
|
3298
|
-
"id": "org:
|
|
3292
|
+
"id": "org:delete:snapshot",
|
|
3299
3293
|
"pluginAlias": "@salesforce/plugin-signups",
|
|
3300
3294
|
"pluginName": "@salesforce/plugin-signups",
|
|
3301
3295
|
"pluginType": "jit",
|
|
3302
3296
|
"strict": true,
|
|
3303
|
-
"summary": "
|
|
3297
|
+
"summary": "Delete a scratch org snapshot.",
|
|
3304
3298
|
"enableJsonFlag": true,
|
|
3305
3299
|
"isESM": true,
|
|
3306
3300
|
"relativePath": [
|
|
3307
3301
|
"lib",
|
|
3308
3302
|
"commands",
|
|
3309
3303
|
"org",
|
|
3310
|
-
"
|
|
3304
|
+
"delete",
|
|
3311
3305
|
"snapshot.js"
|
|
3312
3306
|
],
|
|
3313
3307
|
"aliasPermutations": [
|
|
3314
|
-
"force:org:snapshot:
|
|
3315
|
-
"org:force:snapshot:
|
|
3316
|
-
"org:snapshot:force:
|
|
3317
|
-
"org:snapshot:
|
|
3318
|
-
"force:snapshot:org:
|
|
3319
|
-
"snapshot:force:org:
|
|
3320
|
-
"snapshot:org:force:
|
|
3321
|
-
"snapshot:org:
|
|
3322
|
-
"force:snapshot:
|
|
3323
|
-
"snapshot:force:
|
|
3324
|
-
"snapshot:
|
|
3325
|
-
"snapshot:
|
|
3326
|
-
"force:org:
|
|
3327
|
-
"org:force:
|
|
3328
|
-
"org:
|
|
3329
|
-
"org:
|
|
3330
|
-
"force:
|
|
3331
|
-
"
|
|
3332
|
-
"
|
|
3333
|
-
"
|
|
3334
|
-
"force:
|
|
3335
|
-
"
|
|
3336
|
-
"
|
|
3337
|
-
"
|
|
3308
|
+
"force:org:snapshot:delete",
|
|
3309
|
+
"org:force:snapshot:delete",
|
|
3310
|
+
"org:snapshot:force:delete",
|
|
3311
|
+
"org:snapshot:delete:force",
|
|
3312
|
+
"force:snapshot:org:delete",
|
|
3313
|
+
"snapshot:force:org:delete",
|
|
3314
|
+
"snapshot:org:force:delete",
|
|
3315
|
+
"snapshot:org:delete:force",
|
|
3316
|
+
"force:snapshot:delete:org",
|
|
3317
|
+
"snapshot:force:delete:org",
|
|
3318
|
+
"snapshot:delete:force:org",
|
|
3319
|
+
"snapshot:delete:org:force",
|
|
3320
|
+
"force:org:delete:snapshot",
|
|
3321
|
+
"org:force:delete:snapshot",
|
|
3322
|
+
"org:delete:force:snapshot",
|
|
3323
|
+
"org:delete:snapshot:force",
|
|
3324
|
+
"force:delete:org:snapshot",
|
|
3325
|
+
"delete:force:org:snapshot",
|
|
3326
|
+
"delete:org:force:snapshot",
|
|
3327
|
+
"delete:org:snapshot:force",
|
|
3328
|
+
"force:delete:snapshot:org",
|
|
3329
|
+
"delete:force:snapshot:org",
|
|
3330
|
+
"delete:snapshot:force:org",
|
|
3331
|
+
"delete:snapshot:org:force"
|
|
3338
3332
|
],
|
|
3339
3333
|
"permutations": [
|
|
3340
|
-
"org:
|
|
3341
|
-
"
|
|
3342
|
-
"
|
|
3343
|
-
"org:snapshot:
|
|
3344
|
-
"snapshot:org:
|
|
3345
|
-
"snapshot:
|
|
3334
|
+
"org:delete:snapshot",
|
|
3335
|
+
"delete:org:snapshot",
|
|
3336
|
+
"delete:snapshot:org",
|
|
3337
|
+
"org:snapshot:delete",
|
|
3338
|
+
"snapshot:org:delete",
|
|
3339
|
+
"snapshot:delete:org"
|
|
3346
3340
|
]
|
|
3347
3341
|
},
|
|
3348
|
-
"org:
|
|
3342
|
+
"org:list:shape": {
|
|
3349
3343
|
"aliases": [
|
|
3350
|
-
"force:org:
|
|
3344
|
+
"force:org:shape:list"
|
|
3351
3345
|
],
|
|
3352
3346
|
"args": {},
|
|
3353
3347
|
"deprecateAliases": true,
|
|
3354
|
-
"description": "
|
|
3348
|
+
"description": "The output includes the alias, username, and ID of the source org, the status of the org shape creation, and more. Use the org ID to update your scratch org configuration file so you can create a scratch org based on this org shape.",
|
|
3355
3349
|
"examples": [
|
|
3356
|
-
"
|
|
3357
|
-
"
|
|
3350
|
+
"List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
|
|
3351
|
+
"List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
|
|
3358
3352
|
],
|
|
3359
3353
|
"flags": {
|
|
3360
3354
|
"json": {
|
|
@@ -3372,30 +3366,12 @@
|
|
|
3372
3366
|
"multiple": false,
|
|
3373
3367
|
"type": "option"
|
|
3374
3368
|
},
|
|
3375
|
-
"
|
|
3376
|
-
"
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
"
|
|
3380
|
-
"
|
|
3381
|
-
"name": "target-dev-hub",
|
|
3382
|
-
"noCacheDefault": true,
|
|
3383
|
-
"required": true,
|
|
3384
|
-
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
3385
|
-
"hasDynamicHelp": true,
|
|
3386
|
-
"multiple": false,
|
|
3387
|
-
"type": "option"
|
|
3388
|
-
},
|
|
3389
|
-
"api-version": {
|
|
3390
|
-
"aliases": [
|
|
3391
|
-
"apiversion"
|
|
3392
|
-
],
|
|
3393
|
-
"deprecateAliases": true,
|
|
3394
|
-
"description": "Override the api version used for api requests made by this command",
|
|
3395
|
-
"name": "api-version",
|
|
3396
|
-
"hasDynamicHelp": false,
|
|
3397
|
-
"multiple": false,
|
|
3398
|
-
"type": "option"
|
|
3369
|
+
"verbose": {
|
|
3370
|
+
"hidden": true,
|
|
3371
|
+
"name": "verbose",
|
|
3372
|
+
"summary": "List more information about each org shape.",
|
|
3373
|
+
"allowNo": false,
|
|
3374
|
+
"type": "boolean"
|
|
3399
3375
|
},
|
|
3400
3376
|
"loglevel": {
|
|
3401
3377
|
"deprecated": {
|
|
@@ -3406,80 +3382,70 @@
|
|
|
3406
3382
|
"hasDynamicHelp": false,
|
|
3407
3383
|
"multiple": false,
|
|
3408
3384
|
"type": "option"
|
|
3409
|
-
},
|
|
3410
|
-
"snapshot": {
|
|
3411
|
-
"char": "s",
|
|
3412
|
-
"description": "The IDs of scratch org snapshots start with 0Oo.",
|
|
3413
|
-
"name": "snapshot",
|
|
3414
|
-
"required": true,
|
|
3415
|
-
"summary": "Name or ID of snapshot to retrieve.",
|
|
3416
|
-
"hasDynamicHelp": false,
|
|
3417
|
-
"multiple": false,
|
|
3418
|
-
"type": "option"
|
|
3419
3385
|
}
|
|
3420
3386
|
},
|
|
3421
|
-
"hasDynamicHelp":
|
|
3387
|
+
"hasDynamicHelp": false,
|
|
3422
3388
|
"hiddenAliases": [],
|
|
3423
|
-
"id": "org:
|
|
3389
|
+
"id": "org:list:shape",
|
|
3424
3390
|
"pluginAlias": "@salesforce/plugin-signups",
|
|
3425
3391
|
"pluginName": "@salesforce/plugin-signups",
|
|
3426
3392
|
"pluginType": "jit",
|
|
3427
3393
|
"strict": true,
|
|
3428
|
-
"summary": "
|
|
3394
|
+
"summary": "List all org shapes you’ve created.",
|
|
3429
3395
|
"enableJsonFlag": true,
|
|
3430
3396
|
"isESM": true,
|
|
3431
3397
|
"relativePath": [
|
|
3432
3398
|
"lib",
|
|
3433
3399
|
"commands",
|
|
3434
3400
|
"org",
|
|
3435
|
-
"
|
|
3436
|
-
"
|
|
3401
|
+
"list",
|
|
3402
|
+
"shape.js"
|
|
3437
3403
|
],
|
|
3438
3404
|
"aliasPermutations": [
|
|
3439
|
-
"force:org:
|
|
3440
|
-
"org:force:
|
|
3441
|
-
"org:
|
|
3442
|
-
"org:
|
|
3443
|
-
"force:
|
|
3444
|
-
"
|
|
3445
|
-
"
|
|
3446
|
-
"
|
|
3447
|
-
"force:
|
|
3448
|
-
"
|
|
3449
|
-
"
|
|
3450
|
-
"
|
|
3451
|
-
"force:org:
|
|
3452
|
-
"org:force:
|
|
3453
|
-
"org:
|
|
3454
|
-
"org:
|
|
3455
|
-
"force:
|
|
3456
|
-
"
|
|
3457
|
-
"
|
|
3458
|
-
"
|
|
3459
|
-
"force:
|
|
3460
|
-
"
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3405
|
+
"force:org:shape:list",
|
|
3406
|
+
"org:force:shape:list",
|
|
3407
|
+
"org:shape:force:list",
|
|
3408
|
+
"org:shape:list:force",
|
|
3409
|
+
"force:shape:org:list",
|
|
3410
|
+
"shape:force:org:list",
|
|
3411
|
+
"shape:org:force:list",
|
|
3412
|
+
"shape:org:list:force",
|
|
3413
|
+
"force:shape:list:org",
|
|
3414
|
+
"shape:force:list:org",
|
|
3415
|
+
"shape:list:force:org",
|
|
3416
|
+
"shape:list:org:force",
|
|
3417
|
+
"force:org:list:shape",
|
|
3418
|
+
"org:force:list:shape",
|
|
3419
|
+
"org:list:force:shape",
|
|
3420
|
+
"org:list:shape:force",
|
|
3421
|
+
"force:list:org:shape",
|
|
3422
|
+
"list:force:org:shape",
|
|
3423
|
+
"list:org:force:shape",
|
|
3424
|
+
"list:org:shape:force",
|
|
3425
|
+
"force:list:shape:org",
|
|
3426
|
+
"list:force:shape:org",
|
|
3427
|
+
"list:shape:force:org",
|
|
3428
|
+
"list:shape:org:force"
|
|
3463
3429
|
],
|
|
3464
3430
|
"permutations": [
|
|
3465
|
-
"org:
|
|
3466
|
-
"
|
|
3467
|
-
"
|
|
3468
|
-
"org:
|
|
3469
|
-
"
|
|
3470
|
-
"
|
|
3431
|
+
"org:list:shape",
|
|
3432
|
+
"list:org:shape",
|
|
3433
|
+
"list:shape:org",
|
|
3434
|
+
"org:shape:list",
|
|
3435
|
+
"shape:org:list",
|
|
3436
|
+
"shape:list:org"
|
|
3471
3437
|
]
|
|
3472
3438
|
},
|
|
3473
|
-
"org:
|
|
3439
|
+
"org:list:snapshot": {
|
|
3474
3440
|
"aliases": [
|
|
3475
|
-
"force:org:
|
|
3441
|
+
"force:org:snapshot:list"
|
|
3476
3442
|
],
|
|
3477
3443
|
"args": {},
|
|
3478
3444
|
"deprecateAliases": true,
|
|
3479
|
-
"description": "
|
|
3445
|
+
"description": "You can view all the snapshots in a Dev Hub that you have access to. If you’re an admin, you can see all snapshots associated with the Dev Hub org. If you’re a user, you can see only your snapshots unless a Dev Hub admin gives you View All permissions.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To get details about a snapshot request, use \"<%= config.bin %> org get snapshot\".",
|
|
3480
3446
|
"examples": [
|
|
3481
|
-
"
|
|
3482
|
-
"
|
|
3447
|
+
"List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
|
|
3448
|
+
"List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
|
|
3483
3449
|
],
|
|
3484
3450
|
"flags": {
|
|
3485
3451
|
"json": {
|
|
@@ -3497,17 +3463,16 @@
|
|
|
3497
3463
|
"multiple": false,
|
|
3498
3464
|
"type": "option"
|
|
3499
3465
|
},
|
|
3500
|
-
"target-
|
|
3466
|
+
"target-dev-hub": {
|
|
3501
3467
|
"aliases": [
|
|
3502
|
-
"
|
|
3503
|
-
"u"
|
|
3468
|
+
"targetdevhubusername"
|
|
3504
3469
|
],
|
|
3505
|
-
"char": "
|
|
3470
|
+
"char": "v",
|
|
3506
3471
|
"deprecateAliases": true,
|
|
3507
|
-
"name": "target-
|
|
3472
|
+
"name": "target-dev-hub",
|
|
3508
3473
|
"noCacheDefault": true,
|
|
3509
3474
|
"required": true,
|
|
3510
|
-
"summary": "Username or alias of the
|
|
3475
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
3511
3476
|
"hasDynamicHelp": true,
|
|
3512
3477
|
"multiple": false,
|
|
3513
3478
|
"type": "option"
|
|
@@ -3532,81 +3497,70 @@
|
|
|
3532
3497
|
"hasDynamicHelp": false,
|
|
3533
3498
|
"multiple": false,
|
|
3534
3499
|
"type": "option"
|
|
3535
|
-
},
|
|
3536
|
-
"no-prompt": {
|
|
3537
|
-
"aliases": [
|
|
3538
|
-
"noprompt"
|
|
3539
|
-
],
|
|
3540
|
-
"char": "p",
|
|
3541
|
-
"deprecateAliases": true,
|
|
3542
|
-
"name": "no-prompt",
|
|
3543
|
-
"summary": "Don't prompt for confirmation.",
|
|
3544
|
-
"allowNo": false,
|
|
3545
|
-
"type": "boolean"
|
|
3546
3500
|
}
|
|
3547
3501
|
},
|
|
3548
3502
|
"hasDynamicHelp": true,
|
|
3549
3503
|
"hiddenAliases": [],
|
|
3550
|
-
"id": "org:
|
|
3504
|
+
"id": "org:list:snapshot",
|
|
3551
3505
|
"pluginAlias": "@salesforce/plugin-signups",
|
|
3552
3506
|
"pluginName": "@salesforce/plugin-signups",
|
|
3553
3507
|
"pluginType": "jit",
|
|
3554
3508
|
"strict": true,
|
|
3555
|
-
"summary": "
|
|
3509
|
+
"summary": "List scratch org snapshots.",
|
|
3556
3510
|
"enableJsonFlag": true,
|
|
3557
3511
|
"isESM": true,
|
|
3558
3512
|
"relativePath": [
|
|
3559
3513
|
"lib",
|
|
3560
3514
|
"commands",
|
|
3561
3515
|
"org",
|
|
3562
|
-
"
|
|
3563
|
-
"
|
|
3516
|
+
"list",
|
|
3517
|
+
"snapshot.js"
|
|
3564
3518
|
],
|
|
3565
3519
|
"aliasPermutations": [
|
|
3566
|
-
"force:org:
|
|
3567
|
-
"org:force:
|
|
3568
|
-
"org:
|
|
3569
|
-
"org:
|
|
3570
|
-
"force:
|
|
3571
|
-
"
|
|
3572
|
-
"
|
|
3573
|
-
"
|
|
3574
|
-
"force:
|
|
3575
|
-
"
|
|
3576
|
-
"
|
|
3577
|
-
"
|
|
3578
|
-
"force:org:
|
|
3579
|
-
"org:force:
|
|
3580
|
-
"org:
|
|
3581
|
-
"org:
|
|
3582
|
-
"force:
|
|
3583
|
-
"
|
|
3584
|
-
"
|
|
3585
|
-
"
|
|
3586
|
-
"force:
|
|
3587
|
-
"
|
|
3588
|
-
"
|
|
3589
|
-
"
|
|
3520
|
+
"force:org:snapshot:list",
|
|
3521
|
+
"org:force:snapshot:list",
|
|
3522
|
+
"org:snapshot:force:list",
|
|
3523
|
+
"org:snapshot:list:force",
|
|
3524
|
+
"force:snapshot:org:list",
|
|
3525
|
+
"snapshot:force:org:list",
|
|
3526
|
+
"snapshot:org:force:list",
|
|
3527
|
+
"snapshot:org:list:force",
|
|
3528
|
+
"force:snapshot:list:org",
|
|
3529
|
+
"snapshot:force:list:org",
|
|
3530
|
+
"snapshot:list:force:org",
|
|
3531
|
+
"snapshot:list:org:force",
|
|
3532
|
+
"force:org:list:snapshot",
|
|
3533
|
+
"org:force:list:snapshot",
|
|
3534
|
+
"org:list:force:snapshot",
|
|
3535
|
+
"org:list:snapshot:force",
|
|
3536
|
+
"force:list:org:snapshot",
|
|
3537
|
+
"list:force:org:snapshot",
|
|
3538
|
+
"list:org:force:snapshot",
|
|
3539
|
+
"list:org:snapshot:force",
|
|
3540
|
+
"force:list:snapshot:org",
|
|
3541
|
+
"list:force:snapshot:org",
|
|
3542
|
+
"list:snapshot:force:org",
|
|
3543
|
+
"list:snapshot:org:force"
|
|
3590
3544
|
],
|
|
3591
3545
|
"permutations": [
|
|
3592
|
-
"org:
|
|
3593
|
-
"
|
|
3594
|
-
"
|
|
3595
|
-
"org:
|
|
3596
|
-
"
|
|
3597
|
-
"
|
|
3546
|
+
"org:list:snapshot",
|
|
3547
|
+
"list:org:snapshot",
|
|
3548
|
+
"list:snapshot:org",
|
|
3549
|
+
"org:snapshot:list",
|
|
3550
|
+
"snapshot:org:list",
|
|
3551
|
+
"snapshot:list:org"
|
|
3598
3552
|
]
|
|
3599
3553
|
},
|
|
3600
|
-
"org:
|
|
3554
|
+
"org:get:snapshot": {
|
|
3601
3555
|
"aliases": [
|
|
3602
|
-
"force:org:snapshot:
|
|
3556
|
+
"force:org:snapshot:get"
|
|
3603
3557
|
],
|
|
3604
3558
|
"args": {},
|
|
3605
3559
|
"deprecateAliases": true,
|
|
3606
|
-
"description": "
|
|
3560
|
+
"description": "Snapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. After the status changes to Active, you can use the snapshot to create scratch orgs.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To retrieve a list of all snapshots, use \"<%= config.bin %> org list snapshot\".",
|
|
3607
3561
|
"examples": [
|
|
3608
|
-
"
|
|
3609
|
-
"
|
|
3562
|
+
"Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
|
|
3563
|
+
"Get snapshot details using its name from a Dev Hub org with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --snapshot Dependencies --target-dev-hub SnapshotDevHub"
|
|
3610
3564
|
],
|
|
3611
3565
|
"flags": {
|
|
3612
3566
|
"json": {
|
|
@@ -3664,81 +3618,73 @@
|
|
|
3664
3618
|
"description": "The IDs of scratch org snapshots start with 0Oo.",
|
|
3665
3619
|
"name": "snapshot",
|
|
3666
3620
|
"required": true,
|
|
3667
|
-
"summary": "Name or ID of snapshot to
|
|
3621
|
+
"summary": "Name or ID of snapshot to retrieve.",
|
|
3668
3622
|
"hasDynamicHelp": false,
|
|
3669
3623
|
"multiple": false,
|
|
3670
3624
|
"type": "option"
|
|
3671
|
-
},
|
|
3672
|
-
"no-prompt": {
|
|
3673
|
-
"char": "p",
|
|
3674
|
-
"name": "no-prompt",
|
|
3675
|
-
"summary": "Don't prompt the user to confirm the deletion.",
|
|
3676
|
-
"allowNo": false,
|
|
3677
|
-
"type": "boolean"
|
|
3678
3625
|
}
|
|
3679
3626
|
},
|
|
3680
3627
|
"hasDynamicHelp": true,
|
|
3681
3628
|
"hiddenAliases": [],
|
|
3682
|
-
"id": "org:
|
|
3629
|
+
"id": "org:get:snapshot",
|
|
3683
3630
|
"pluginAlias": "@salesforce/plugin-signups",
|
|
3684
3631
|
"pluginName": "@salesforce/plugin-signups",
|
|
3685
3632
|
"pluginType": "jit",
|
|
3686
3633
|
"strict": true,
|
|
3687
|
-
"summary": "
|
|
3634
|
+
"summary": "Get details about a scratch org snapshot.",
|
|
3688
3635
|
"enableJsonFlag": true,
|
|
3689
3636
|
"isESM": true,
|
|
3690
3637
|
"relativePath": [
|
|
3691
3638
|
"lib",
|
|
3692
3639
|
"commands",
|
|
3693
3640
|
"org",
|
|
3694
|
-
"
|
|
3641
|
+
"get",
|
|
3695
3642
|
"snapshot.js"
|
|
3696
3643
|
],
|
|
3697
3644
|
"aliasPermutations": [
|
|
3698
|
-
"force:org:snapshot:
|
|
3699
|
-
"org:force:snapshot:
|
|
3700
|
-
"org:snapshot:force:
|
|
3701
|
-
"org:snapshot:
|
|
3702
|
-
"force:snapshot:org:
|
|
3703
|
-
"snapshot:force:org:
|
|
3704
|
-
"snapshot:org:force:
|
|
3705
|
-
"snapshot:org:
|
|
3706
|
-
"force:snapshot:
|
|
3707
|
-
"snapshot:force:
|
|
3708
|
-
"snapshot:
|
|
3709
|
-
"snapshot:
|
|
3710
|
-
"force:org:
|
|
3711
|
-
"org:force:
|
|
3712
|
-
"org:
|
|
3713
|
-
"org:
|
|
3714
|
-
"force:
|
|
3715
|
-
"
|
|
3716
|
-
"
|
|
3717
|
-
"
|
|
3718
|
-
"force:
|
|
3719
|
-
"
|
|
3720
|
-
"
|
|
3721
|
-
"
|
|
3645
|
+
"force:org:snapshot:get",
|
|
3646
|
+
"org:force:snapshot:get",
|
|
3647
|
+
"org:snapshot:force:get",
|
|
3648
|
+
"org:snapshot:get:force",
|
|
3649
|
+
"force:snapshot:org:get",
|
|
3650
|
+
"snapshot:force:org:get",
|
|
3651
|
+
"snapshot:org:force:get",
|
|
3652
|
+
"snapshot:org:get:force",
|
|
3653
|
+
"force:snapshot:get:org",
|
|
3654
|
+
"snapshot:force:get:org",
|
|
3655
|
+
"snapshot:get:force:org",
|
|
3656
|
+
"snapshot:get:org:force",
|
|
3657
|
+
"force:org:get:snapshot",
|
|
3658
|
+
"org:force:get:snapshot",
|
|
3659
|
+
"org:get:force:snapshot",
|
|
3660
|
+
"org:get:snapshot:force",
|
|
3661
|
+
"force:get:org:snapshot",
|
|
3662
|
+
"get:force:org:snapshot",
|
|
3663
|
+
"get:org:force:snapshot",
|
|
3664
|
+
"get:org:snapshot:force",
|
|
3665
|
+
"force:get:snapshot:org",
|
|
3666
|
+
"get:force:snapshot:org",
|
|
3667
|
+
"get:snapshot:force:org",
|
|
3668
|
+
"get:snapshot:org:force"
|
|
3722
3669
|
],
|
|
3723
3670
|
"permutations": [
|
|
3724
|
-
"org:
|
|
3725
|
-
"
|
|
3726
|
-
"
|
|
3727
|
-
"org:snapshot:
|
|
3728
|
-
"snapshot:org:
|
|
3729
|
-
"snapshot:
|
|
3671
|
+
"org:get:snapshot",
|
|
3672
|
+
"get:org:snapshot",
|
|
3673
|
+
"get:snapshot:org",
|
|
3674
|
+
"org:snapshot:get",
|
|
3675
|
+
"snapshot:org:get",
|
|
3676
|
+
"snapshot:get:org"
|
|
3730
3677
|
]
|
|
3731
3678
|
},
|
|
3732
|
-
"org:
|
|
3679
|
+
"org:create:shape": {
|
|
3733
3680
|
"aliases": [
|
|
3734
|
-
"force:org:shape:
|
|
3681
|
+
"force:org:shape:create"
|
|
3735
3682
|
],
|
|
3736
3683
|
"args": {},
|
|
3737
3684
|
"deprecateAliases": true,
|
|
3738
|
-
"description": "
|
|
3685
|
+
"description": "Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.\n\nRun \"<%= config.bin %> org list shape\" to view the available org shapes and their IDs.\n\nTo create a scratch org from an org shape, include the \"sourceOrg\" property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the \"<%= config.bin %> org create scratch\" command.",
|
|
3739
3686
|
"examples": [
|
|
3740
|
-
"
|
|
3741
|
-
"List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
|
|
3687
|
+
"Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
|
|
3742
3688
|
],
|
|
3743
3689
|
"flags": {
|
|
3744
3690
|
"json": {
|
|
@@ -3756,12 +3702,31 @@
|
|
|
3756
3702
|
"multiple": false,
|
|
3757
3703
|
"type": "option"
|
|
3758
3704
|
},
|
|
3759
|
-
"
|
|
3760
|
-
"
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
"
|
|
3705
|
+
"target-org": {
|
|
3706
|
+
"aliases": [
|
|
3707
|
+
"targetusername",
|
|
3708
|
+
"u"
|
|
3709
|
+
],
|
|
3710
|
+
"char": "o",
|
|
3711
|
+
"deprecateAliases": true,
|
|
3712
|
+
"name": "target-org",
|
|
3713
|
+
"noCacheDefault": true,
|
|
3714
|
+
"required": true,
|
|
3715
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3716
|
+
"hasDynamicHelp": true,
|
|
3717
|
+
"multiple": false,
|
|
3718
|
+
"type": "option"
|
|
3719
|
+
},
|
|
3720
|
+
"api-version": {
|
|
3721
|
+
"aliases": [
|
|
3722
|
+
"apiversion"
|
|
3723
|
+
],
|
|
3724
|
+
"deprecateAliases": true,
|
|
3725
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3726
|
+
"name": "api-version",
|
|
3727
|
+
"hasDynamicHelp": false,
|
|
3728
|
+
"multiple": false,
|
|
3729
|
+
"type": "option"
|
|
3765
3730
|
},
|
|
3766
3731
|
"loglevel": {
|
|
3767
3732
|
"deprecated": {
|
|
@@ -3774,68 +3739,68 @@
|
|
|
3774
3739
|
"type": "option"
|
|
3775
3740
|
}
|
|
3776
3741
|
},
|
|
3777
|
-
"hasDynamicHelp":
|
|
3742
|
+
"hasDynamicHelp": true,
|
|
3778
3743
|
"hiddenAliases": [],
|
|
3779
|
-
"id": "org:
|
|
3744
|
+
"id": "org:create:shape",
|
|
3780
3745
|
"pluginAlias": "@salesforce/plugin-signups",
|
|
3781
3746
|
"pluginName": "@salesforce/plugin-signups",
|
|
3782
3747
|
"pluginType": "jit",
|
|
3783
3748
|
"strict": true,
|
|
3784
|
-
"summary": "
|
|
3749
|
+
"summary": "Create a scratch org configuration (shape) based on the specified source org.",
|
|
3785
3750
|
"enableJsonFlag": true,
|
|
3786
3751
|
"isESM": true,
|
|
3787
3752
|
"relativePath": [
|
|
3788
3753
|
"lib",
|
|
3789
3754
|
"commands",
|
|
3790
3755
|
"org",
|
|
3791
|
-
"
|
|
3756
|
+
"create",
|
|
3792
3757
|
"shape.js"
|
|
3793
3758
|
],
|
|
3794
3759
|
"aliasPermutations": [
|
|
3795
|
-
"force:org:shape:
|
|
3796
|
-
"org:force:shape:
|
|
3797
|
-
"org:shape:force:
|
|
3798
|
-
"org:shape:
|
|
3799
|
-
"force:shape:org:
|
|
3800
|
-
"shape:force:org:
|
|
3801
|
-
"shape:org:force:
|
|
3802
|
-
"shape:org:
|
|
3803
|
-
"force:shape:
|
|
3804
|
-
"shape:force:
|
|
3805
|
-
"shape:
|
|
3806
|
-
"shape:
|
|
3807
|
-
"force:org:
|
|
3808
|
-
"org:force:
|
|
3809
|
-
"org:
|
|
3810
|
-
"org:
|
|
3811
|
-
"force:
|
|
3812
|
-
"
|
|
3813
|
-
"
|
|
3814
|
-
"
|
|
3815
|
-
"force:
|
|
3816
|
-
"
|
|
3817
|
-
"
|
|
3818
|
-
"
|
|
3760
|
+
"force:org:shape:create",
|
|
3761
|
+
"org:force:shape:create",
|
|
3762
|
+
"org:shape:force:create",
|
|
3763
|
+
"org:shape:create:force",
|
|
3764
|
+
"force:shape:org:create",
|
|
3765
|
+
"shape:force:org:create",
|
|
3766
|
+
"shape:org:force:create",
|
|
3767
|
+
"shape:org:create:force",
|
|
3768
|
+
"force:shape:create:org",
|
|
3769
|
+
"shape:force:create:org",
|
|
3770
|
+
"shape:create:force:org",
|
|
3771
|
+
"shape:create:org:force",
|
|
3772
|
+
"force:org:create:shape",
|
|
3773
|
+
"org:force:create:shape",
|
|
3774
|
+
"org:create:force:shape",
|
|
3775
|
+
"org:create:shape:force",
|
|
3776
|
+
"force:create:org:shape",
|
|
3777
|
+
"create:force:org:shape",
|
|
3778
|
+
"create:org:force:shape",
|
|
3779
|
+
"create:org:shape:force",
|
|
3780
|
+
"force:create:shape:org",
|
|
3781
|
+
"create:force:shape:org",
|
|
3782
|
+
"create:shape:force:org",
|
|
3783
|
+
"create:shape:org:force"
|
|
3819
3784
|
],
|
|
3820
3785
|
"permutations": [
|
|
3821
|
-
"org:
|
|
3822
|
-
"
|
|
3823
|
-
"
|
|
3824
|
-
"org:shape:
|
|
3825
|
-
"shape:org:
|
|
3826
|
-
"shape:
|
|
3786
|
+
"org:create:shape",
|
|
3787
|
+
"create:org:shape",
|
|
3788
|
+
"create:shape:org",
|
|
3789
|
+
"org:shape:create",
|
|
3790
|
+
"shape:org:create",
|
|
3791
|
+
"shape:create:org"
|
|
3827
3792
|
]
|
|
3828
3793
|
},
|
|
3829
|
-
"org:
|
|
3794
|
+
"org:create:snapshot": {
|
|
3830
3795
|
"aliases": [
|
|
3831
|
-
"force:org:snapshot:
|
|
3796
|
+
"force:org:snapshot:create"
|
|
3832
3797
|
],
|
|
3833
3798
|
"args": {},
|
|
3834
3799
|
"deprecateAliases": true,
|
|
3835
|
-
"description": "
|
|
3800
|
+
"description": "A snapshot is a point-in-time copy of a scratch org. The copy is referenced by its unique name in a scratch org definition file.\n\nUse \"<%= config.bin %> org get snapshot\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" option (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"<%= config.bin %> org create scratch\" to create the scratch org.",
|
|
3836
3801
|
"examples": [
|
|
3837
|
-
"
|
|
3838
|
-
"
|
|
3802
|
+
"Create a snapshot called \"Dependencies\" using the source scratch org ID and your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --source-org 00Dxx0000000000 --name Dependencies --description 'Contains PackageA v1.1.0'",
|
|
3803
|
+
"Create a snapshot called \"NightlyBranch\" using the source scratch org username and a Dev Hub org with alias NightlyDevHub:\n<%= config.bin %> <%= command.id %> --source-org myuser@myorg --name NightlyBranch --description 'Contains PkgA v2.1.0 and PkgB 3.3.0' --target-dev-hub NightlyDevHub"
|
|
3839
3804
|
],
|
|
3840
3805
|
"flags": {
|
|
3841
3806
|
"json": {
|
|
@@ -3887,58 +3852,93 @@
|
|
|
3887
3852
|
"hasDynamicHelp": false,
|
|
3888
3853
|
"multiple": false,
|
|
3889
3854
|
"type": "option"
|
|
3855
|
+
},
|
|
3856
|
+
"source-org": {
|
|
3857
|
+
"aliases": [
|
|
3858
|
+
"sourceorg"
|
|
3859
|
+
],
|
|
3860
|
+
"char": "o",
|
|
3861
|
+
"deprecateAliases": true,
|
|
3862
|
+
"name": "source-org",
|
|
3863
|
+
"required": true,
|
|
3864
|
+
"summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
|
|
3865
|
+
"hasDynamicHelp": false,
|
|
3866
|
+
"multiple": false,
|
|
3867
|
+
"type": "option"
|
|
3868
|
+
},
|
|
3869
|
+
"name": {
|
|
3870
|
+
"aliases": [
|
|
3871
|
+
"snapshotname"
|
|
3872
|
+
],
|
|
3873
|
+
"char": "n",
|
|
3874
|
+
"deprecateAliases": true,
|
|
3875
|
+
"name": "name",
|
|
3876
|
+
"required": true,
|
|
3877
|
+
"summary": "Unique name of snapshot.",
|
|
3878
|
+
"hasDynamicHelp": false,
|
|
3879
|
+
"multiple": false,
|
|
3880
|
+
"type": "option"
|
|
3881
|
+
},
|
|
3882
|
+
"description": {
|
|
3883
|
+
"char": "d",
|
|
3884
|
+
"description": "Use this description to document the contents of the snapshot. We suggest that you include a reference point, such as a version control system tag or commit ID.",
|
|
3885
|
+
"name": "description",
|
|
3886
|
+
"summary": "Description of snapshot.",
|
|
3887
|
+
"hasDynamicHelp": false,
|
|
3888
|
+
"multiple": false,
|
|
3889
|
+
"type": "option"
|
|
3890
3890
|
}
|
|
3891
3891
|
},
|
|
3892
3892
|
"hasDynamicHelp": true,
|
|
3893
3893
|
"hiddenAliases": [],
|
|
3894
|
-
"id": "org:
|
|
3894
|
+
"id": "org:create:snapshot",
|
|
3895
3895
|
"pluginAlias": "@salesforce/plugin-signups",
|
|
3896
3896
|
"pluginName": "@salesforce/plugin-signups",
|
|
3897
3897
|
"pluginType": "jit",
|
|
3898
3898
|
"strict": true,
|
|
3899
|
-
"summary": "
|
|
3899
|
+
"summary": "Create a snapshot of a scratch org.",
|
|
3900
3900
|
"enableJsonFlag": true,
|
|
3901
3901
|
"isESM": true,
|
|
3902
3902
|
"relativePath": [
|
|
3903
3903
|
"lib",
|
|
3904
3904
|
"commands",
|
|
3905
3905
|
"org",
|
|
3906
|
-
"
|
|
3906
|
+
"create",
|
|
3907
3907
|
"snapshot.js"
|
|
3908
3908
|
],
|
|
3909
3909
|
"aliasPermutations": [
|
|
3910
|
-
"force:org:snapshot:
|
|
3911
|
-
"org:force:snapshot:
|
|
3912
|
-
"org:snapshot:force:
|
|
3913
|
-
"org:snapshot:
|
|
3914
|
-
"force:snapshot:org:
|
|
3915
|
-
"snapshot:force:org:
|
|
3916
|
-
"snapshot:org:force:
|
|
3917
|
-
"snapshot:org:
|
|
3918
|
-
"force:snapshot:
|
|
3919
|
-
"snapshot:force:
|
|
3920
|
-
"snapshot:
|
|
3921
|
-
"snapshot:
|
|
3922
|
-
"force:org:
|
|
3923
|
-
"org:force:
|
|
3924
|
-
"org:
|
|
3925
|
-
"org:
|
|
3926
|
-
"force:
|
|
3927
|
-
"
|
|
3928
|
-
"
|
|
3929
|
-
"
|
|
3930
|
-
"force:
|
|
3931
|
-
"
|
|
3932
|
-
"
|
|
3933
|
-
"
|
|
3910
|
+
"force:org:snapshot:create",
|
|
3911
|
+
"org:force:snapshot:create",
|
|
3912
|
+
"org:snapshot:force:create",
|
|
3913
|
+
"org:snapshot:create:force",
|
|
3914
|
+
"force:snapshot:org:create",
|
|
3915
|
+
"snapshot:force:org:create",
|
|
3916
|
+
"snapshot:org:force:create",
|
|
3917
|
+
"snapshot:org:create:force",
|
|
3918
|
+
"force:snapshot:create:org",
|
|
3919
|
+
"snapshot:force:create:org",
|
|
3920
|
+
"snapshot:create:force:org",
|
|
3921
|
+
"snapshot:create:org:force",
|
|
3922
|
+
"force:org:create:snapshot",
|
|
3923
|
+
"org:force:create:snapshot",
|
|
3924
|
+
"org:create:force:snapshot",
|
|
3925
|
+
"org:create:snapshot:force",
|
|
3926
|
+
"force:create:org:snapshot",
|
|
3927
|
+
"create:force:org:snapshot",
|
|
3928
|
+
"create:org:force:snapshot",
|
|
3929
|
+
"create:org:snapshot:force",
|
|
3930
|
+
"force:create:snapshot:org",
|
|
3931
|
+
"create:force:snapshot:org",
|
|
3932
|
+
"create:snapshot:force:org",
|
|
3933
|
+
"create:snapshot:org:force"
|
|
3934
3934
|
],
|
|
3935
3935
|
"permutations": [
|
|
3936
|
-
"org:
|
|
3937
|
-
"
|
|
3938
|
-
"
|
|
3939
|
-
"org:snapshot:
|
|
3940
|
-
"snapshot:org:
|
|
3941
|
-
"snapshot:
|
|
3936
|
+
"org:create:snapshot",
|
|
3937
|
+
"create:org:snapshot",
|
|
3938
|
+
"create:snapshot:org",
|
|
3939
|
+
"org:snapshot:create",
|
|
3940
|
+
"snapshot:org:create",
|
|
3941
|
+
"snapshot:create:org"
|
|
3942
3942
|
]
|
|
3943
3943
|
},
|
|
3944
3944
|
"force:lightning:lwc:test:create": {
|
|
@@ -4926,7 +4926,7 @@
|
|
|
4926
4926
|
"agent:preview": {
|
|
4927
4927
|
"aliases": [],
|
|
4928
4928
|
"args": {},
|
|
4929
|
-
"description": "Use this command to have a natural language conversation with an active agent in your org, as if you were an actual user. The interface is simple: in the \"Start typing...\" prompt, enter a statement, question, or command; when you're done, enter Return. Your utterance is posted on the right along with a timestamp. The agent then responds on the left. To exit the conversation, hit ESC or Control+C.\n\nThis command is useful to test if the agent responds to your utterances as you expect. For example, you can test that the agent uses a particular topic when asked a question, and then whether it invokes the correct action associated with that topic. This command is the CLI-equivalent of the Conversation Preview panel in your org's Agent Builder UI.\n\nWhen the session concludes, the command asks if you want to save the API responses and chat transcripts. By default, the files are saved to the \"./temp/agent-preview\" directory. Specify a new default directory by setting the environment variable \"SF_AGENT_PREVIEW_OUTPUT_DIR\" to the directory. Or you can pass the directory to the --output-dir flag.\n\nFind the agent's API name in its main details page in your org's Agent page in Setup.\n\nBefore you use this command, you must complete these steps:\n
|
|
4929
|
+
"description": "Use this command to have a natural language conversation with an active agent in your org, as if you were an actual user. The interface is simple: in the \"Start typing...\" prompt, enter a statement, question, or command; when you're done, enter Return. Your utterance is posted on the right along with a timestamp. The agent then responds on the left. To exit the conversation, hit ESC or Control+C.\n\nThis command is useful to test if the agent responds to your utterances as you expect. For example, you can test that the agent uses a particular topic when asked a question, and then whether it invokes the correct action associated with that topic. This command is the CLI-equivalent of the Conversation Preview panel in your org's Agent Builder UI.\n\nWhen the session concludes, the command asks if you want to save the API responses and chat transcripts. By default, the files are saved to the \"./temp/agent-preview\" directory. Specify a new default directory by setting the environment variable \"SF_AGENT_PREVIEW_OUTPUT_DIR\" to the directory. Or you can pass the directory to the --output-dir flag.\n\nFind the agent's API name in its main details page in your org's Agent page in Setup.\n\nBefore you use this command, you must complete these steps:\n\n1. Create a connected app in your org as described in the \"Create a Connected App\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#create-a-connected-app. Do these four additional steps:\n\n a. When specifying the connected app's Callback URL, add this second callback URL on a new line: \"http://localhost:1717/OauthRedirect\".\n\n b. When adding the scopes to the connected app, add \"Manage user data via Web browsers (web)\".\n\n c. Ensure that the \"Require Secret for Web Server Flow\" option is not selected.\n\n d. Make note of the user that you specified as the \"Run As\" user when updating the Client Credentials Flow section.\n\n2. Add the connected app to your agent as described in the \"Add Connected App to Agent\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#add-connected-app-to-agent.\n\n3. Copy the consumer key from your connected app as described in the \"Obtain Credentials\" section here: https://developer.salesforce.com/docs/einstein/genai/guide/agent-api-get-started.html#obtain-credentials.\n\n4. Set the \"SFDX_AUTH_SCOPES\" environment variable to \"refresh_token sfap_api chatbot_api web api\". This step ensures that you get the specific OAuth scopes required by this command.\n\n5. Using the username of the user you specified as the \"Run As\" user above, authorize your org using the web server flow, as described in this document: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_web_flow.htm.\n\n IMPORTANT: You must use the \"--client-id <CONNECTED-APP-CONSUMER-KEY>\" flag of \"org login web\", where CONNECTED-APP-CONSUMER-KEY is the consumer key you previously copied. This step ensures that the \"org login web\" command uses your custom connected app, and not the default CLI connected app.\n\n Press Enter to skip sharing the client secret.\n\n6. When you run this command to interact with an agent, specify the username you authorized in the preceding step with the --connected-app-user (-a) flag.",
|
|
4930
4930
|
"examples": [
|
|
4931
4931
|
"Interact with an agent with API name \"Resort_Manager\" in the org with alias \"my-org\". Connect to your agent using the alias \"my-agent-user\"; this alias must point to the username who is authorized using the Web server flow:\n<%= config.bin %> <%= command.id %> --api-name \"Resort_Manager\" --target-org my-org --connected-app-user my-agent-user",
|
|
4932
4932
|
"Same as the preceding example, but this time save the conversation transcripts to the \"./transcripts/my-preview\" directory rather than the default \"./temp/agent-preview\":\n<%= config.bin %> <%= command.id %> --api-name \"Resort_Manager\" --target-org my-org --connected-app-user my-agent-user --output-dir \"transcripts/my-preview\""
|
|
@@ -4982,6 +4982,13 @@
|
|
|
4982
4982
|
"hasDynamicHelp": false,
|
|
4983
4983
|
"multiple": false,
|
|
4984
4984
|
"type": "option"
|
|
4985
|
+
},
|
|
4986
|
+
"apex-debug": {
|
|
4987
|
+
"char": "x",
|
|
4988
|
+
"name": "apex-debug",
|
|
4989
|
+
"summary": "Enable Apex debug logging during the agent preview conversation.",
|
|
4990
|
+
"allowNo": false,
|
|
4991
|
+
"type": "boolean"
|
|
4985
4992
|
}
|
|
4986
4993
|
},
|
|
4987
4994
|
"hasDynamicHelp": true,
|
|
@@ -5926,5 +5933,5 @@
|
|
|
5926
5933
|
]
|
|
5927
5934
|
}
|
|
5928
5935
|
},
|
|
5929
|
-
"version": "2.90.
|
|
5936
|
+
"version": "2.90.3"
|
|
5930
5937
|
}
|