@salesforce/plugin-signups 2.0.9 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -122,7 +122,7 @@ EXAMPLES
122
122
  $ sf org create shape --target-org SourceOrg
123
123
  ```
124
124
 
125
- _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.9/src/commands/org/create/shape.ts)_
125
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.10/src/commands/org/create/shape.ts)_
126
126
 
127
127
  ## `sf org create snapshot`
128
128
 
@@ -176,7 +176,7 @@ FLAG DESCRIPTIONS
176
176
  as a version control system tag or commit ID.
177
177
  ```
178
178
 
179
- _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.9/src/commands/org/create/snapshot.ts)_
179
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.10/src/commands/org/create/snapshot.ts)_
180
180
 
181
181
  ## `sf org delete shape`
182
182
 
@@ -215,7 +215,7 @@ EXAMPLES
215
215
  $ sf org delete shape --target-org SourceOrg --no-prompt
216
216
  ```
217
217
 
218
- _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.9/src/commands/org/delete/shape.ts)_
218
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.10/src/commands/org/delete/shape.ts)_
219
219
 
220
220
  ## `sf org delete snapshot`
221
221
 
@@ -258,7 +258,7 @@ FLAG DESCRIPTIONS
258
258
  The IDs of scratch org snapshots start with 0Oo.
259
259
  ```
260
260
 
261
- _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.9/src/commands/org/delete/snapshot.ts)_
261
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.10/src/commands/org/delete/snapshot.ts)_
262
262
 
263
263
  ## `sf org get snapshot`
264
264
 
@@ -304,7 +304,7 @@ FLAG DESCRIPTIONS
304
304
  The IDs of scratch org snapshots start with 0Oo.
305
305
  ```
306
306
 
307
- _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.9/src/commands/org/get/snapshot.ts)_
307
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.10/src/commands/org/get/snapshot.ts)_
308
308
 
309
309
  ## `sf org list shape`
310
310
 
@@ -336,7 +336,7 @@ EXAMPLES
336
336
  $ sf org list shape --json > tmp/MyOrgShapeList.json
337
337
  ```
338
338
 
339
- _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.9/src/commands/org/list/shape.ts)_
339
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.10/src/commands/org/list/shape.ts)_
340
340
 
341
341
  ## `sf org list snapshot`
342
342
 
@@ -377,6 +377,6 @@ EXAMPLES
377
377
  $ sf org list snapshot --target-dev-hub SnapshotDevHub
378
378
  ```
379
379
 
380
- _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.9/src/commands/org/list/snapshot.ts)_
380
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.10/src/commands/org/list/snapshot.ts)_
381
381
 
382
382
  <!-- commandsstop -->
package/oclif.lock CHANGED
@@ -226,12 +226,12 @@
226
226
  resolve-global "1.0.0"
227
227
  yargs "^17.0.0"
228
228
 
229
- "@commitlint/config-conventional@^17.1.0":
230
- version "17.4.4"
231
- resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.4.4.tgz#f30b1e5b2e48ce5799a483c200c52f218a98efcc"
232
- integrity sha512-u6ztvxqzi6NuhrcEDR7a+z0yrh11elY66nRrQIpqsqW6sZmpxYkDLtpRH8jRML+mmxYQ8s4qqF06Q/IQx5aJeQ==
229
+ "@commitlint/config-conventional@^17.8.1":
230
+ version "17.8.1"
231
+ resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.8.1.tgz#e5bcf0cfec8da7ac50bc04dc92e0a4ea74964ce0"
232
+ integrity sha512-NxCOHx1kgneig3VLauWJcDWS40DVjg7nKOpBEEK9E5fjJpQqLCilcnKkIIjdBH98kEO1q3NpE5NSrZ2kl/QGJg==
233
233
  dependencies:
234
- conventional-changelog-conventionalcommits "^5.0.0"
234
+ conventional-changelog-conventionalcommits "^6.1.0"
235
235
 
236
236
  "@commitlint/config-validator@^17.4.4":
237
237
  version "17.4.4"
@@ -736,7 +736,7 @@
736
736
  wordwrap "^1.0.0"
737
737
  wrap-ansi "^7.0.0"
738
738
 
739
- "@oclif/core@^3.0.4", "@oclif/core@^3.10.8", "@oclif/core@^3.12.0", "@oclif/core@^3.13.1", "@oclif/core@^3.14.1", "@oclif/core@^3.3.1":
739
+ "@oclif/core@^3.0.4", "@oclif/core@^3.10.8", "@oclif/core@^3.13.1", "@oclif/core@^3.14.1", "@oclif/core@^3.3.1":
740
740
  version "3.14.1"
741
741
  resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.14.1.tgz#634fc96124068e47b720d62f3b278d818a07495e"
742
742
  integrity sha512-HLFL2s45DFdqYI2CFjVS/CIQ4cQ4yZqH0XqO9nnwcRWYboz2rEW/vLmidjIYGDjh6xA/k5psiAL3O1KEjqSHuQ==
@@ -956,10 +956,10 @@
956
956
  semver "^7.5.4"
957
957
  ts-retry-promise "^0.7.1"
958
958
 
959
- "@salesforce/core@^6.2.2":
960
- version "6.2.2"
961
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.2.2.tgz#c390c7c407e8916ad85a3e300d9d9e4fecfba207"
962
- integrity sha512-R2ptk/+KSWDJOqdInxfzPTLF3V//vFtD4vQcjWIK9NaGCCq4ZwiF2gMpkBcKgDQneLUmva2NcmnzF3c51zQp5A==
959
+ "@salesforce/core@^6.2.2", "@salesforce/core@^6.4.0":
960
+ version "6.4.1"
961
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.1.tgz#27edd083b62ee96d6270b60da6dfb959bff1a0a5"
962
+ integrity sha512-Bn/Pox5JLeVBg35zgSmtNU+f9wdOaa7a/hmCIvQibci1dpKtLGUmSpdHibWR6zHag8ZoRkueea7zuqEjYzECyA==
963
963
  dependencies:
964
964
  "@salesforce/kit" "^3.0.15"
965
965
  "@salesforce/schemas" "^1.6.1"
@@ -985,13 +985,13 @@
985
985
  resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e"
986
986
  integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA==
987
987
 
988
- "@salesforce/dev-scripts@^8.1.1":
989
- version "8.1.1"
990
- resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.1.1.tgz#a54733057712706b08fc5abcdccad336be01fea3"
991
- integrity sha512-pYf8eMhv/OLTUtQcNZkUXMioInQTwNnHuiePGbhcMb2KR41Ynk63sdLWZoGDSc82c1FX0cJfY4yrNMIMpEGQjw==
988
+ "@salesforce/dev-scripts@^8.1.2":
989
+ version "8.1.2"
990
+ resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.1.2.tgz#ec3e528328fe7c7b8b312688e970ea258913980b"
991
+ integrity sha512-DQscqQPMuj2b1D8sfh77zAKQVEuo0SQ05XlFSbVKgvxO/yPrSpUK0LgHsbyG4Js88TWBqsf4K7mkdaryukSnSA==
992
992
  dependencies:
993
993
  "@commitlint/cli" "^17.1.2"
994
- "@commitlint/config-conventional" "^17.1.0"
994
+ "@commitlint/config-conventional" "^17.8.1"
995
995
  "@salesforce/dev-config" "^4.1.0"
996
996
  "@salesforce/prettier-config" "^0.0.3"
997
997
  "@types/chai" "^4.3.10"
@@ -1049,12 +1049,12 @@
1049
1049
  resolved "https://registry.yarnpkg.com/@salesforce/schemas/-/schemas-1.6.1.tgz#7d1c071e1e509ca9d2d8a6e48ac7447dd67a534d"
1050
1050
  integrity sha512-eVy947ZMxCJReKJdgfddUIsBIbPTa/i8RwQGwxq4/ss38H5sLOAeSTaun9V7HpJ1hkpDznWKfgzYvjsst9K6ig==
1051
1051
 
1052
- "@salesforce/sf-plugins-core@^5.0.1", "@salesforce/sf-plugins-core@^5.0.5":
1053
- version "5.0.6"
1054
- resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.6.tgz#d0e9de00a4f4acebc5293b72765612c9fea78b00"
1055
- integrity sha512-IQFHKQDWiRAGPEhC+UGw1P6R9MzLOKTG8G6YURK5roAEVPstxcj/vbSx3jkcrqUZorxqc7StUVJiL39BNyIEug==
1052
+ "@salesforce/sf-plugins-core@^5.0.10", "@salesforce/sf-plugins-core@^5.0.5":
1053
+ version "5.0.10"
1054
+ resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.10.tgz#f13cc406100f9aba3a9d5ddea361854068fc7e7d"
1055
+ integrity sha512-fp0f6Lbf7HDdglvU4pWmwnWt9HlgMOIdkQ0LeT7M0zbuu6tOMwGKcC6ewkXQ9lQvcSAUrtvvvpf9t4PzkN8o+w==
1056
1056
  dependencies:
1057
- "@oclif/core" "^3.12.0"
1057
+ "@oclif/core" "^3.14.1"
1058
1058
  "@salesforce/core" "^6.2.2"
1059
1059
  "@salesforce/kit" "^3.0.15"
1060
1060
  "@salesforce/ts-types" "^2.0.9"
@@ -2452,14 +2452,12 @@ conventional-changelog-angular@^5.0.11:
2452
2452
  compare-func "^2.0.0"
2453
2453
  q "^1.5.1"
2454
2454
 
2455
- conventional-changelog-conventionalcommits@^5.0.0:
2456
- version "5.0.0"
2457
- resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz#41bdce54eb65a848a4a3ffdca93e92fa22b64a86"
2458
- integrity sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==
2455
+ conventional-changelog-conventionalcommits@^6.1.0:
2456
+ version "6.1.0"
2457
+ resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-6.1.0.tgz#3bad05f4eea64e423d3d90fc50c17d2c8cf17652"
2458
+ integrity sha512-3cS3GEtR78zTfMzk0AizXKKIdN4OvSh7ibNz6/DPbhWWQu7LqE/8+/GqSodV+sywUR2gpJAdP/1JFf4XtN7Zpw==
2459
2459
  dependencies:
2460
2460
  compare-func "^2.0.0"
2461
- lodash "^4.17.15"
2462
- q "^1.5.1"
2463
2461
 
2464
2462
  conventional-commits-parser@^3.2.2:
2465
2463
  version "3.2.4"
@@ -252,16 +252,16 @@
252
252
  "snapshot:create:org"
253
253
  ]
254
254
  },
255
- "org:delete:shape": {
255
+ "org:list:shape": {
256
256
  "aliases": [
257
- "force:org:shape:delete"
257
+ "force:org:shape:list"
258
258
  ],
259
259
  "args": {},
260
260
  "deprecateAliases": true,
261
- "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.",
261
+ "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.",
262
262
  "examples": [
263
- "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
264
- "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
263
+ "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
264
+ "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
265
265
  ],
266
266
  "flags": {
267
267
  "json": {
@@ -271,31 +271,12 @@
271
271
  "allowNo": false,
272
272
  "type": "boolean"
273
273
  },
274
- "target-org": {
275
- "aliases": [
276
- "targetusername",
277
- "u"
278
- ],
279
- "char": "o",
280
- "deprecateAliases": true,
281
- "name": "target-org",
282
- "noCacheDefault": true,
283
- "required": true,
284
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
285
- "hasDynamicHelp": true,
286
- "multiple": false,
287
- "type": "option"
288
- },
289
- "api-version": {
290
- "aliases": [
291
- "apiversion"
292
- ],
293
- "deprecateAliases": true,
294
- "description": "Override the api version used for api requests made by this command",
295
- "name": "api-version",
296
- "hasDynamicHelp": false,
297
- "multiple": false,
298
- "type": "option"
274
+ "verbose": {
275
+ "hidden": true,
276
+ "name": "verbose",
277
+ "summary": "List more information about each org shape.",
278
+ "allowNo": false,
279
+ "type": "boolean"
299
280
  },
300
281
  "loglevel": {
301
282
  "deprecated": {
@@ -306,27 +287,16 @@
306
287
  "hasDynamicHelp": false,
307
288
  "multiple": false,
308
289
  "type": "option"
309
- },
310
- "no-prompt": {
311
- "aliases": [
312
- "noprompt"
313
- ],
314
- "char": "p",
315
- "deprecateAliases": true,
316
- "name": "no-prompt",
317
- "summary": "Don't prompt for confirmation.",
318
- "allowNo": false,
319
- "type": "boolean"
320
290
  }
321
291
  },
322
- "hasDynamicHelp": true,
292
+ "hasDynamicHelp": false,
323
293
  "hiddenAliases": [],
324
- "id": "org:delete:shape",
294
+ "id": "org:list:shape",
325
295
  "pluginAlias": "@salesforce/plugin-signups",
326
296
  "pluginName": "@salesforce/plugin-signups",
327
297
  "pluginType": "core",
328
298
  "strict": true,
329
- "summary": "Delete all org shapes for a target org.",
299
+ "summary": "List all org shapes you’ve created.",
330
300
  "enableJsonFlag": true,
331
301
  "SF_ENV": "SF_ENV",
332
302
  "isESM": true,
@@ -334,54 +304,54 @@
334
304
  "lib",
335
305
  "commands",
336
306
  "org",
337
- "delete",
307
+ "list",
338
308
  "shape.js"
339
309
  ],
340
310
  "aliasPermutations": [
341
- "force:org:shape:delete",
342
- "org:force:shape:delete",
343
- "org:shape:force:delete",
344
- "org:shape:delete:force",
345
- "force:shape:org:delete",
346
- "shape:force:org:delete",
347
- "shape:org:force:delete",
348
- "shape:org:delete:force",
349
- "force:shape:delete:org",
350
- "shape:force:delete:org",
351
- "shape:delete:force:org",
352
- "shape:delete:org:force",
353
- "force:org:delete:shape",
354
- "org:force:delete:shape",
355
- "org:delete:force:shape",
356
- "org:delete:shape:force",
357
- "force:delete:org:shape",
358
- "delete:force:org:shape",
359
- "delete:org:force:shape",
360
- "delete:org:shape:force",
361
- "force:delete:shape:org",
362
- "delete:force:shape:org",
363
- "delete:shape:force:org",
364
- "delete:shape:org:force"
311
+ "force:org:shape:list",
312
+ "org:force:shape:list",
313
+ "org:shape:force:list",
314
+ "org:shape:list:force",
315
+ "force:shape:org:list",
316
+ "shape:force:org:list",
317
+ "shape:org:force:list",
318
+ "shape:org:list:force",
319
+ "force:shape:list:org",
320
+ "shape:force:list:org",
321
+ "shape:list:force:org",
322
+ "shape:list:org:force",
323
+ "force:org:list:shape",
324
+ "org:force:list:shape",
325
+ "org:list:force:shape",
326
+ "org:list:shape:force",
327
+ "force:list:org:shape",
328
+ "list:force:org:shape",
329
+ "list:org:force:shape",
330
+ "list:org:shape:force",
331
+ "force:list:shape:org",
332
+ "list:force:shape:org",
333
+ "list:shape:force:org",
334
+ "list:shape:org:force"
365
335
  ],
366
336
  "permutations": [
367
- "org:delete:shape",
368
- "delete:org:shape",
369
- "delete:shape:org",
370
- "org:shape:delete",
371
- "shape:org:delete",
372
- "shape:delete:org"
337
+ "org:list:shape",
338
+ "list:org:shape",
339
+ "list:shape:org",
340
+ "org:shape:list",
341
+ "shape:org:list",
342
+ "shape:list:org"
373
343
  ]
374
344
  },
375
- "org:delete:snapshot": {
345
+ "org:list:snapshot": {
376
346
  "aliases": [
377
- "force:org:snapshot:delete"
347
+ "force:org:snapshot:list"
378
348
  ],
379
349
  "args": {},
380
350
  "deprecateAliases": true,
381
- "description": "Dev Hub admins can delete any snapshot, while users can delete only their own unless a Dev Hub admin gives the user Modify All permissions.",
351
+ "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\".",
382
352
  "examples": [
383
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
384
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
353
+ "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
354
+ "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
385
355
  ],
386
356
  "flags": {
387
357
  "json": {
@@ -425,27 +395,17 @@
425
395
  "hasDynamicHelp": false,
426
396
  "multiple": false,
427
397
  "type": "option"
428
- },
429
- "snapshot": {
430
- "char": "s",
431
- "description": "The IDs of scratch org snapshots start with 0Oo.",
432
- "name": "snapshot",
433
- "required": true,
434
- "summary": "Name or ID of snapshot to delete.",
435
- "hasDynamicHelp": false,
436
- "multiple": false,
437
- "type": "option"
438
398
  }
439
399
  },
440
400
  "hasDynamicHelp": true,
441
401
  "hiddenAliases": [],
442
- "id": "org:delete:snapshot",
402
+ "id": "org:list:snapshot",
443
403
  "pluginAlias": "@salesforce/plugin-signups",
444
404
  "pluginName": "@salesforce/plugin-signups",
445
405
  "pluginType": "core",
446
406
  "state": "beta",
447
407
  "strict": true,
448
- "summary": "Delete a scratch org snapshot.",
408
+ "summary": "List scratch org snapshots.",
449
409
  "enableJsonFlag": true,
450
410
  "SF_ENV": "SF_ENV",
451
411
  "isESM": true,
@@ -453,42 +413,42 @@
453
413
  "lib",
454
414
  "commands",
455
415
  "org",
456
- "delete",
416
+ "list",
457
417
  "snapshot.js"
458
418
  ],
459
419
  "aliasPermutations": [
460
- "force:org:snapshot:delete",
461
- "org:force:snapshot:delete",
462
- "org:snapshot:force:delete",
463
- "org:snapshot:delete:force",
464
- "force:snapshot:org:delete",
465
- "snapshot:force:org:delete",
466
- "snapshot:org:force:delete",
467
- "snapshot:org:delete:force",
468
- "force:snapshot:delete:org",
469
- "snapshot:force:delete:org",
470
- "snapshot:delete:force:org",
471
- "snapshot:delete:org:force",
472
- "force:org:delete:snapshot",
473
- "org:force:delete:snapshot",
474
- "org:delete:force:snapshot",
475
- "org:delete:snapshot:force",
476
- "force:delete:org:snapshot",
477
- "delete:force:org:snapshot",
478
- "delete:org:force:snapshot",
479
- "delete:org:snapshot:force",
480
- "force:delete:snapshot:org",
481
- "delete:force:snapshot:org",
482
- "delete:snapshot:force:org",
483
- "delete:snapshot:org:force"
420
+ "force:org:snapshot:list",
421
+ "org:force:snapshot:list",
422
+ "org:snapshot:force:list",
423
+ "org:snapshot:list:force",
424
+ "force:snapshot:org:list",
425
+ "snapshot:force:org:list",
426
+ "snapshot:org:force:list",
427
+ "snapshot:org:list:force",
428
+ "force:snapshot:list:org",
429
+ "snapshot:force:list:org",
430
+ "snapshot:list:force:org",
431
+ "snapshot:list:org:force",
432
+ "force:org:list:snapshot",
433
+ "org:force:list:snapshot",
434
+ "org:list:force:snapshot",
435
+ "org:list:snapshot:force",
436
+ "force:list:org:snapshot",
437
+ "list:force:org:snapshot",
438
+ "list:org:force:snapshot",
439
+ "list:org:snapshot:force",
440
+ "force:list:snapshot:org",
441
+ "list:force:snapshot:org",
442
+ "list:snapshot:force:org",
443
+ "list:snapshot:org:force"
484
444
  ],
485
445
  "permutations": [
486
- "org:delete:snapshot",
487
- "delete:org:snapshot",
488
- "delete:snapshot:org",
489
- "org:snapshot:delete",
490
- "snapshot:org:delete",
491
- "snapshot:delete:org"
446
+ "org:list:snapshot",
447
+ "list:org:snapshot",
448
+ "list:snapshot:org",
449
+ "org:snapshot:list",
450
+ "snapshot:org:list",
451
+ "snapshot:list:org"
492
452
  ]
493
453
  },
494
454
  "org:get:snapshot": {
@@ -610,16 +570,16 @@
610
570
  "snapshot:get:org"
611
571
  ]
612
572
  },
613
- "org:list:shape": {
573
+ "org:delete:shape": {
614
574
  "aliases": [
615
- "force:org:shape:list"
575
+ "force:org:shape:delete"
616
576
  ],
617
577
  "args": {},
618
578
  "deprecateAliases": true,
619
- "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.",
579
+ "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.",
620
580
  "examples": [
621
- "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
622
- "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
581
+ "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
582
+ "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
623
583
  ],
624
584
  "flags": {
625
585
  "json": {
@@ -629,12 +589,31 @@
629
589
  "allowNo": false,
630
590
  "type": "boolean"
631
591
  },
632
- "verbose": {
633
- "hidden": true,
634
- "name": "verbose",
635
- "summary": "List more information about each org shape.",
636
- "allowNo": false,
637
- "type": "boolean"
592
+ "target-org": {
593
+ "aliases": [
594
+ "targetusername",
595
+ "u"
596
+ ],
597
+ "char": "o",
598
+ "deprecateAliases": true,
599
+ "name": "target-org",
600
+ "noCacheDefault": true,
601
+ "required": true,
602
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
603
+ "hasDynamicHelp": true,
604
+ "multiple": false,
605
+ "type": "option"
606
+ },
607
+ "api-version": {
608
+ "aliases": [
609
+ "apiversion"
610
+ ],
611
+ "deprecateAliases": true,
612
+ "description": "Override the api version used for api requests made by this command",
613
+ "name": "api-version",
614
+ "hasDynamicHelp": false,
615
+ "multiple": false,
616
+ "type": "option"
638
617
  },
639
618
  "loglevel": {
640
619
  "deprecated": {
@@ -645,16 +624,27 @@
645
624
  "hasDynamicHelp": false,
646
625
  "multiple": false,
647
626
  "type": "option"
627
+ },
628
+ "no-prompt": {
629
+ "aliases": [
630
+ "noprompt"
631
+ ],
632
+ "char": "p",
633
+ "deprecateAliases": true,
634
+ "name": "no-prompt",
635
+ "summary": "Don't prompt for confirmation.",
636
+ "allowNo": false,
637
+ "type": "boolean"
648
638
  }
649
639
  },
650
- "hasDynamicHelp": false,
640
+ "hasDynamicHelp": true,
651
641
  "hiddenAliases": [],
652
- "id": "org:list:shape",
642
+ "id": "org:delete:shape",
653
643
  "pluginAlias": "@salesforce/plugin-signups",
654
644
  "pluginName": "@salesforce/plugin-signups",
655
645
  "pluginType": "core",
656
646
  "strict": true,
657
- "summary": "List all org shapes you’ve created.",
647
+ "summary": "Delete all org shapes for a target org.",
658
648
  "enableJsonFlag": true,
659
649
  "SF_ENV": "SF_ENV",
660
650
  "isESM": true,
@@ -662,54 +652,54 @@
662
652
  "lib",
663
653
  "commands",
664
654
  "org",
665
- "list",
655
+ "delete",
666
656
  "shape.js"
667
657
  ],
668
658
  "aliasPermutations": [
669
- "force:org:shape:list",
670
- "org:force:shape:list",
671
- "org:shape:force:list",
672
- "org:shape:list:force",
673
- "force:shape:org:list",
674
- "shape:force:org:list",
675
- "shape:org:force:list",
676
- "shape:org:list:force",
677
- "force:shape:list:org",
678
- "shape:force:list:org",
679
- "shape:list:force:org",
680
- "shape:list:org:force",
681
- "force:org:list:shape",
682
- "org:force:list:shape",
683
- "org:list:force:shape",
684
- "org:list:shape:force",
685
- "force:list:org:shape",
686
- "list:force:org:shape",
687
- "list:org:force:shape",
688
- "list:org:shape:force",
689
- "force:list:shape:org",
690
- "list:force:shape:org",
691
- "list:shape:force:org",
692
- "list:shape:org:force"
659
+ "force:org:shape:delete",
660
+ "org:force:shape:delete",
661
+ "org:shape:force:delete",
662
+ "org:shape:delete:force",
663
+ "force:shape:org:delete",
664
+ "shape:force:org:delete",
665
+ "shape:org:force:delete",
666
+ "shape:org:delete:force",
667
+ "force:shape:delete:org",
668
+ "shape:force:delete:org",
669
+ "shape:delete:force:org",
670
+ "shape:delete:org:force",
671
+ "force:org:delete:shape",
672
+ "org:force:delete:shape",
673
+ "org:delete:force:shape",
674
+ "org:delete:shape:force",
675
+ "force:delete:org:shape",
676
+ "delete:force:org:shape",
677
+ "delete:org:force:shape",
678
+ "delete:org:shape:force",
679
+ "force:delete:shape:org",
680
+ "delete:force:shape:org",
681
+ "delete:shape:force:org",
682
+ "delete:shape:org:force"
693
683
  ],
694
684
  "permutations": [
695
- "org:list:shape",
696
- "list:org:shape",
697
- "list:shape:org",
698
- "org:shape:list",
699
- "shape:org:list",
700
- "shape:list:org"
685
+ "org:delete:shape",
686
+ "delete:org:shape",
687
+ "delete:shape:org",
688
+ "org:shape:delete",
689
+ "shape:org:delete",
690
+ "shape:delete:org"
701
691
  ]
702
692
  },
703
- "org:list:snapshot": {
693
+ "org:delete:snapshot": {
704
694
  "aliases": [
705
- "force:org:snapshot:list"
695
+ "force:org:snapshot:delete"
706
696
  ],
707
697
  "args": {},
708
698
  "deprecateAliases": true,
709
- "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\".",
699
+ "description": "Dev Hub admins can delete any snapshot, while users can delete only their own unless a Dev Hub admin gives the user Modify All permissions.",
710
700
  "examples": [
711
- "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
712
- "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
701
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
702
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
713
703
  ],
714
704
  "flags": {
715
705
  "json": {
@@ -753,17 +743,27 @@
753
743
  "hasDynamicHelp": false,
754
744
  "multiple": false,
755
745
  "type": "option"
746
+ },
747
+ "snapshot": {
748
+ "char": "s",
749
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
750
+ "name": "snapshot",
751
+ "required": true,
752
+ "summary": "Name or ID of snapshot to delete.",
753
+ "hasDynamicHelp": false,
754
+ "multiple": false,
755
+ "type": "option"
756
756
  }
757
757
  },
758
758
  "hasDynamicHelp": true,
759
759
  "hiddenAliases": [],
760
- "id": "org:list:snapshot",
760
+ "id": "org:delete:snapshot",
761
761
  "pluginAlias": "@salesforce/plugin-signups",
762
762
  "pluginName": "@salesforce/plugin-signups",
763
763
  "pluginType": "core",
764
764
  "state": "beta",
765
765
  "strict": true,
766
- "summary": "List scratch org snapshots.",
766
+ "summary": "Delete a scratch org snapshot.",
767
767
  "enableJsonFlag": true,
768
768
  "SF_ENV": "SF_ENV",
769
769
  "isESM": true,
@@ -771,44 +771,44 @@
771
771
  "lib",
772
772
  "commands",
773
773
  "org",
774
- "list",
774
+ "delete",
775
775
  "snapshot.js"
776
776
  ],
777
777
  "aliasPermutations": [
778
- "force:org:snapshot:list",
779
- "org:force:snapshot:list",
780
- "org:snapshot:force:list",
781
- "org:snapshot:list:force",
782
- "force:snapshot:org:list",
783
- "snapshot:force:org:list",
784
- "snapshot:org:force:list",
785
- "snapshot:org:list:force",
786
- "force:snapshot:list:org",
787
- "snapshot:force:list:org",
788
- "snapshot:list:force:org",
789
- "snapshot:list:org:force",
790
- "force:org:list:snapshot",
791
- "org:force:list:snapshot",
792
- "org:list:force:snapshot",
793
- "org:list:snapshot:force",
794
- "force:list:org:snapshot",
795
- "list:force:org:snapshot",
796
- "list:org:force:snapshot",
797
- "list:org:snapshot:force",
798
- "force:list:snapshot:org",
799
- "list:force:snapshot:org",
800
- "list:snapshot:force:org",
801
- "list:snapshot:org:force"
778
+ "force:org:snapshot:delete",
779
+ "org:force:snapshot:delete",
780
+ "org:snapshot:force:delete",
781
+ "org:snapshot:delete:force",
782
+ "force:snapshot:org:delete",
783
+ "snapshot:force:org:delete",
784
+ "snapshot:org:force:delete",
785
+ "snapshot:org:delete:force",
786
+ "force:snapshot:delete:org",
787
+ "snapshot:force:delete:org",
788
+ "snapshot:delete:force:org",
789
+ "snapshot:delete:org:force",
790
+ "force:org:delete:snapshot",
791
+ "org:force:delete:snapshot",
792
+ "org:delete:force:snapshot",
793
+ "org:delete:snapshot:force",
794
+ "force:delete:org:snapshot",
795
+ "delete:force:org:snapshot",
796
+ "delete:org:force:snapshot",
797
+ "delete:org:snapshot:force",
798
+ "force:delete:snapshot:org",
799
+ "delete:force:snapshot:org",
800
+ "delete:snapshot:force:org",
801
+ "delete:snapshot:org:force"
802
802
  ],
803
803
  "permutations": [
804
- "org:list:snapshot",
805
- "list:org:snapshot",
806
- "list:snapshot:org",
807
- "org:snapshot:list",
808
- "snapshot:org:list",
809
- "snapshot:list:org"
804
+ "org:delete:snapshot",
805
+ "delete:org:snapshot",
806
+ "delete:snapshot:org",
807
+ "org:snapshot:delete",
808
+ "snapshot:org:delete",
809
+ "snapshot:delete:org"
810
810
  ]
811
811
  }
812
812
  },
813
- "version": "2.0.9"
813
+ "version": "2.0.10"
814
814
  }
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "2.0.9",
4
+ "version": "2.0.10",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^3.14.1",
9
- "@salesforce/core": "^6.2.2",
9
+ "@salesforce/core": "^6.4.0",
10
10
  "@salesforce/kit": "^3.0.15",
11
- "@salesforce/sf-plugins-core": "^5.0.1",
11
+ "@salesforce/sf-plugins-core": "^5.0.10",
12
12
  "chalk": "^5.3.0",
13
13
  "change-case": "^5.3.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@oclif/plugin-command-snapshot": "^5.0.3",
17
17
  "@salesforce/cli-plugins-testkit": "^5.1.0",
18
- "@salesforce/dev-scripts": "^8.1.1",
18
+ "@salesforce/dev-scripts": "^8.1.2",
19
19
  "@salesforce/plugin-command-reference": "^3.0.51",
20
20
  "@salesforce/ts-types": "^2.0.9",
21
21
  "@types/chai-as-promised": "^7.1.8",
@@ -257,7 +257,7 @@
257
257
  "exports": "./lib/index.js",
258
258
  "type": "module",
259
259
  "sfdx": {
260
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.9.crt",
261
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.9.sig"
260
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.10.crt",
261
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.10.sig"
262
262
  }
263
263
  }