@salesforce/plugin-signups 2.6.23 → 2.6.24

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 CHANGED
@@ -123,7 +123,7 @@ EXAMPLES
123
123
  $ sf org create shape --target-org SourceOrg
124
124
  ```
125
125
 
126
- _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.23/src/commands/org/create/shape.ts)_
126
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.24/src/commands/org/create/shape.ts)_
127
127
 
128
128
  ## `sf org create snapshot`
129
129
 
@@ -179,7 +179,7 @@ FLAG DESCRIPTIONS
179
179
  as a version control system tag or commit ID.
180
180
  ```
181
181
 
182
- _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.23/src/commands/org/create/snapshot.ts)_
182
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.24/src/commands/org/create/snapshot.ts)_
183
183
 
184
184
  ## `sf org delete shape`
185
185
 
@@ -219,7 +219,7 @@ EXAMPLES
219
219
  $ sf org delete shape --target-org SourceOrg --no-prompt
220
220
  ```
221
221
 
222
- _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.23/src/commands/org/delete/shape.ts)_
222
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.24/src/commands/org/delete/shape.ts)_
223
223
 
224
224
  ## `sf org delete snapshot`
225
225
 
@@ -264,7 +264,7 @@ FLAG DESCRIPTIONS
264
264
  The IDs of scratch org snapshots start with 0Oo.
265
265
  ```
266
266
 
267
- _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.23/src/commands/org/delete/snapshot.ts)_
267
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.24/src/commands/org/delete/snapshot.ts)_
268
268
 
269
269
  ## `sf org get snapshot`
270
270
 
@@ -311,7 +311,7 @@ FLAG DESCRIPTIONS
311
311
  The IDs of scratch org snapshots start with 0Oo.
312
312
  ```
313
313
 
314
- _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.23/src/commands/org/get/snapshot.ts)_
314
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.24/src/commands/org/get/snapshot.ts)_
315
315
 
316
316
  ## `sf org list shape`
317
317
 
@@ -344,7 +344,7 @@ EXAMPLES
344
344
  $ sf org list shape --json > tmp/MyOrgShapeList.json
345
345
  ```
346
346
 
347
- _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.23/src/commands/org/list/shape.ts)_
347
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.24/src/commands/org/list/shape.ts)_
348
348
 
349
349
  ## `sf org list snapshot`
350
350
 
@@ -386,6 +386,6 @@ EXAMPLES
386
386
  $ sf org list snapshot --target-dev-hub SnapshotDevHub
387
387
  ```
388
388
 
389
- _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.23/src/commands/org/list/snapshot.ts)_
389
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.24/src/commands/org/list/snapshot.ts)_
390
390
 
391
391
  <!-- commandsstop -->
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
- "version": "2.6.23",
3
+ "version": "2.6.24",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-signups",
9
- "version": "2.6.23",
9
+ "version": "2.6.24",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^4",
@@ -25,7 +25,7 @@
25
25
  "@types/chai-string": "^1.4.5",
26
26
  "chai-as-promised": "7.1.2",
27
27
  "chai-string": "^1.6.0",
28
- "eslint-plugin-sf-plugin": "^1.20.20",
28
+ "eslint-plugin-sf-plugin": "^1.20.21",
29
29
  "jsforce": "^2.0.0-beta.28",
30
30
  "oclif": "^4.17.46",
31
31
  "ts-node": "^10.9.2",
@@ -3771,9 +3771,9 @@
3771
3771
  }
3772
3772
  },
3773
3773
  "node_modules/@oclif/core": {
3774
- "version": "4.2.10",
3775
- "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.2.10.tgz",
3776
- "integrity": "sha512-fAqcXgqkUm4v5FYy7qWP4w1HaOlVSVJveah+yVTo5Nm5kTiXhmD5mQQ7+knGeBaStyrtQy6WardoC2xSic9rlQ==",
3774
+ "version": "4.3.0",
3775
+ "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.3.0.tgz",
3776
+ "integrity": "sha512-lIzHY+JMP6evrS5E/sGijNnwrCoNtGy8703jWXcMuPOYKiFhWoAqnIm1BGgoRgmxczkbSfRsHUL/lwsSgh74Lw==",
3777
3777
  "license": "MIT",
3778
3778
  "dependencies": {
3779
3779
  "ansi-escapes": "^4.3.2",
@@ -8053,13 +8053,13 @@
8053
8053
  }
8054
8054
  },
8055
8055
  "node_modules/eslint-plugin-sf-plugin": {
8056
- "version": "1.20.20",
8057
- "resolved": "https://registry.npmjs.org/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.20.tgz",
8058
- "integrity": "sha512-JoYnjalq/SuFP3v+hOMpXGZAAfCW64cuCZRXrcy6PZZRn4nxCXZQKfPM/RQ+nI2Viie8WUL9uKq6xI4tFCVMSw==",
8056
+ "version": "1.20.21",
8057
+ "resolved": "https://registry.npmjs.org/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.21.tgz",
8058
+ "integrity": "sha512-jHfKga2kLLA3XjCxO8dc27yGbhFiR5gfsnESmSuBSKZGTMpbrWUNZutRdIn0nNL2ZXlLV0TRQaaiz7nEEw43tg==",
8059
8059
  "dev": true,
8060
8060
  "license": "BSD-3-Clause",
8061
8061
  "dependencies": {
8062
- "@salesforce/core": "^8.9.1",
8062
+ "@salesforce/core": "^8.10.0",
8063
8063
  "@typescript-eslint/utils": "^7.18.0"
8064
8064
  },
8065
8065
  "engines": {
package/oclif.lock CHANGED
@@ -1569,9 +1569,9 @@
1569
1569
  fastq "^1.6.0"
1570
1570
 
1571
1571
  "@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.2.10":
1572
- version "4.2.10"
1573
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.2.10.tgz#31dfb7481c79887c3e672e10c981fcc01fcbaeb3"
1574
- integrity sha512-fAqcXgqkUm4v5FYy7qWP4w1HaOlVSVJveah+yVTo5Nm5kTiXhmD5mQQ7+knGeBaStyrtQy6WardoC2xSic9rlQ==
1572
+ version "4.3.0"
1573
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.3.0.tgz#9a2951f05f81a4c7ae5ffcc00b2d720cca0898e6"
1574
+ integrity sha512-lIzHY+JMP6evrS5E/sGijNnwrCoNtGy8703jWXcMuPOYKiFhWoAqnIm1BGgoRgmxczkbSfRsHUL/lwsSgh74Lw==
1575
1575
  dependencies:
1576
1576
  ansi-escapes "^4.3.2"
1577
1577
  ansis "^3.17.0"
@@ -1693,7 +1693,7 @@
1693
1693
  strip-ansi "6.0.1"
1694
1694
  ts-retry-promise "^0.8.1"
1695
1695
 
1696
- "@salesforce/core@^8.10.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.5", "@salesforce/core@^8.8.6", "@salesforce/core@^8.9.1":
1696
+ "@salesforce/core@^8.10.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.5", "@salesforce/core@^8.8.6":
1697
1697
  version "8.10.0"
1698
1698
  resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.10.0.tgz#017fe618b1dd086298d1133a6ed0f509d56ea495"
1699
1699
  integrity sha512-gStIzB8wPjjwyKZCK8eSfwkLiv9h9qzP64b51U5THBskEjm6Sw6ZyWqZmCzA85FEZ/IM/n1nh4e3R9JoG6Z6mA==
@@ -4042,12 +4042,12 @@ eslint-plugin-jsdoc@^46.10.1:
4042
4042
  semver "^7.5.4"
4043
4043
  spdx-expression-parse "^4.0.0"
4044
4044
 
4045
- eslint-plugin-sf-plugin@^1.20.20:
4046
- version "1.20.20"
4047
- resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.20.tgz#714a1dd750fa27f72a2708d2fecb0627c9bd38a8"
4048
- integrity sha512-JoYnjalq/SuFP3v+hOMpXGZAAfCW64cuCZRXrcy6PZZRn4nxCXZQKfPM/RQ+nI2Viie8WUL9uKq6xI4tFCVMSw==
4045
+ eslint-plugin-sf-plugin@^1.20.21:
4046
+ version "1.20.21"
4047
+ resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.21.tgz#832bad8e7b976fedf49261ad482a2e4ea09cc85e"
4048
+ integrity sha512-jHfKga2kLLA3XjCxO8dc27yGbhFiR5gfsnESmSuBSKZGTMpbrWUNZutRdIn0nNL2ZXlLV0TRQaaiz7nEEw43tg==
4049
4049
  dependencies:
4050
- "@salesforce/core" "^8.9.1"
4050
+ "@salesforce/core" "^8.10.0"
4051
4051
  "@typescript-eslint/utils" "^7.18.0"
4052
4052
 
4053
4053
  eslint-plugin-unicorn@^50.0.1:
@@ -125,16 +125,15 @@
125
125
  "snapshot:get:org"
126
126
  ]
127
127
  },
128
- "org:delete:shape": {
128
+ "org:create:shape": {
129
129
  "aliases": [
130
- "force:org:shape:delete"
130
+ "force:org:shape:create"
131
131
  ],
132
132
  "args": {},
133
133
  "deprecateAliases": true,
134
- "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.",
134
+ "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.",
135
135
  "examples": [
136
- "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
137
- "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
136
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
138
137
  ],
139
138
  "flags": {
140
139
  "json": {
@@ -187,81 +186,70 @@
187
186
  "hasDynamicHelp": false,
188
187
  "multiple": false,
189
188
  "type": "option"
190
- },
191
- "no-prompt": {
192
- "aliases": [
193
- "noprompt"
194
- ],
195
- "char": "p",
196
- "deprecateAliases": true,
197
- "name": "no-prompt",
198
- "summary": "Don't prompt for confirmation.",
199
- "allowNo": false,
200
- "type": "boolean"
201
189
  }
202
190
  },
203
191
  "hasDynamicHelp": true,
204
192
  "hiddenAliases": [],
205
- "id": "org:delete:shape",
193
+ "id": "org:create:shape",
206
194
  "pluginAlias": "@salesforce/plugin-signups",
207
195
  "pluginName": "@salesforce/plugin-signups",
208
196
  "pluginType": "core",
209
197
  "strict": true,
210
- "summary": "Delete all org shapes for a target org.",
198
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
211
199
  "enableJsonFlag": true,
212
200
  "isESM": true,
213
201
  "relativePath": [
214
202
  "lib",
215
203
  "commands",
216
204
  "org",
217
- "delete",
205
+ "create",
218
206
  "shape.js"
219
207
  ],
220
208
  "aliasPermutations": [
221
- "force:org:shape:delete",
222
- "org:force:shape:delete",
223
- "org:shape:force:delete",
224
- "org:shape:delete:force",
225
- "force:shape:org:delete",
226
- "shape:force:org:delete",
227
- "shape:org:force:delete",
228
- "shape:org:delete:force",
229
- "force:shape:delete:org",
230
- "shape:force:delete:org",
231
- "shape:delete:force:org",
232
- "shape:delete:org:force",
233
- "force:org:delete:shape",
234
- "org:force:delete:shape",
235
- "org:delete:force:shape",
236
- "org:delete:shape:force",
237
- "force:delete:org:shape",
238
- "delete:force:org:shape",
239
- "delete:org:force:shape",
240
- "delete:org:shape:force",
241
- "force:delete:shape:org",
242
- "delete:force:shape:org",
243
- "delete:shape:force:org",
244
- "delete:shape:org:force"
209
+ "force:org:shape:create",
210
+ "org:force:shape:create",
211
+ "org:shape:force:create",
212
+ "org:shape:create:force",
213
+ "force:shape:org:create",
214
+ "shape:force:org:create",
215
+ "shape:org:force:create",
216
+ "shape:org:create:force",
217
+ "force:shape:create:org",
218
+ "shape:force:create:org",
219
+ "shape:create:force:org",
220
+ "shape:create:org:force",
221
+ "force:org:create:shape",
222
+ "org:force:create:shape",
223
+ "org:create:force:shape",
224
+ "org:create:shape:force",
225
+ "force:create:org:shape",
226
+ "create:force:org:shape",
227
+ "create:org:force:shape",
228
+ "create:org:shape:force",
229
+ "force:create:shape:org",
230
+ "create:force:shape:org",
231
+ "create:shape:force:org",
232
+ "create:shape:org:force"
245
233
  ],
246
234
  "permutations": [
247
- "org:delete:shape",
248
- "delete:org:shape",
249
- "delete:shape:org",
250
- "org:shape:delete",
251
- "shape:org:delete",
252
- "shape:delete:org"
235
+ "org:create:shape",
236
+ "create:org:shape",
237
+ "create:shape:org",
238
+ "org:shape:create",
239
+ "shape:org:create",
240
+ "shape:create:org"
253
241
  ]
254
242
  },
255
- "org:delete:snapshot": {
243
+ "org:create:snapshot": {
256
244
  "aliases": [
257
- "force:org:snapshot:delete"
245
+ "force:org:snapshot:create"
258
246
  ],
259
247
  "args": {},
260
248
  "deprecateAliases": true,
261
- "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.",
249
+ "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.",
262
250
  "examples": [
263
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
264
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
251
+ "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'",
252
+ "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"
265
253
  ],
266
254
  "flags": {
267
255
  "json": {
@@ -314,85 +302,104 @@
314
302
  "multiple": false,
315
303
  "type": "option"
316
304
  },
317
- "snapshot": {
318
- "char": "s",
319
- "description": "The IDs of scratch org snapshots start with 0Oo.",
320
- "name": "snapshot",
305
+ "source-org": {
306
+ "aliases": [
307
+ "sourceorg"
308
+ ],
309
+ "char": "o",
310
+ "deprecateAliases": true,
311
+ "name": "source-org",
321
312
  "required": true,
322
- "summary": "Name or ID of snapshot to delete.",
313
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
323
314
  "hasDynamicHelp": false,
324
315
  "multiple": false,
325
316
  "type": "option"
326
317
  },
327
- "no-prompt": {
328
- "char": "p",
329
- "name": "no-prompt",
330
- "summary": "Don't prompt the user to confirm the deletion.",
331
- "allowNo": false,
332
- "type": "boolean"
318
+ "name": {
319
+ "aliases": [
320
+ "snapshotname"
321
+ ],
322
+ "char": "n",
323
+ "deprecateAliases": true,
324
+ "name": "name",
325
+ "required": true,
326
+ "summary": "Unique name of snapshot.",
327
+ "hasDynamicHelp": false,
328
+ "multiple": false,
329
+ "type": "option"
330
+ },
331
+ "description": {
332
+ "char": "d",
333
+ "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.",
334
+ "name": "description",
335
+ "summary": "Description of snapshot.",
336
+ "hasDynamicHelp": false,
337
+ "multiple": false,
338
+ "type": "option"
333
339
  }
334
340
  },
335
341
  "hasDynamicHelp": true,
336
342
  "hiddenAliases": [],
337
- "id": "org:delete:snapshot",
343
+ "id": "org:create:snapshot",
338
344
  "pluginAlias": "@salesforce/plugin-signups",
339
345
  "pluginName": "@salesforce/plugin-signups",
340
346
  "pluginType": "core",
341
347
  "strict": true,
342
- "summary": "Delete a scratch org snapshot.",
348
+ "summary": "Create a snapshot of a scratch org.",
343
349
  "enableJsonFlag": true,
344
350
  "isESM": true,
345
351
  "relativePath": [
346
352
  "lib",
347
353
  "commands",
348
354
  "org",
349
- "delete",
355
+ "create",
350
356
  "snapshot.js"
351
357
  ],
352
358
  "aliasPermutations": [
353
- "force:org:snapshot:delete",
354
- "org:force:snapshot:delete",
355
- "org:snapshot:force:delete",
356
- "org:snapshot:delete:force",
357
- "force:snapshot:org:delete",
358
- "snapshot:force:org:delete",
359
- "snapshot:org:force:delete",
360
- "snapshot:org:delete:force",
361
- "force:snapshot:delete:org",
362
- "snapshot:force:delete:org",
363
- "snapshot:delete:force:org",
364
- "snapshot:delete:org:force",
365
- "force:org:delete:snapshot",
366
- "org:force:delete:snapshot",
367
- "org:delete:force:snapshot",
368
- "org:delete:snapshot:force",
369
- "force:delete:org:snapshot",
370
- "delete:force:org:snapshot",
371
- "delete:org:force:snapshot",
372
- "delete:org:snapshot:force",
373
- "force:delete:snapshot:org",
374
- "delete:force:snapshot:org",
375
- "delete:snapshot:force:org",
376
- "delete:snapshot:org:force"
359
+ "force:org:snapshot:create",
360
+ "org:force:snapshot:create",
361
+ "org:snapshot:force:create",
362
+ "org:snapshot:create:force",
363
+ "force:snapshot:org:create",
364
+ "snapshot:force:org:create",
365
+ "snapshot:org:force:create",
366
+ "snapshot:org:create:force",
367
+ "force:snapshot:create:org",
368
+ "snapshot:force:create:org",
369
+ "snapshot:create:force:org",
370
+ "snapshot:create:org:force",
371
+ "force:org:create:snapshot",
372
+ "org:force:create:snapshot",
373
+ "org:create:force:snapshot",
374
+ "org:create:snapshot:force",
375
+ "force:create:org:snapshot",
376
+ "create:force:org:snapshot",
377
+ "create:org:force:snapshot",
378
+ "create:org:snapshot:force",
379
+ "force:create:snapshot:org",
380
+ "create:force:snapshot:org",
381
+ "create:snapshot:force:org",
382
+ "create:snapshot:org:force"
377
383
  ],
378
384
  "permutations": [
379
- "org:delete:snapshot",
380
- "delete:org:snapshot",
381
- "delete:snapshot:org",
382
- "org:snapshot:delete",
383
- "snapshot:org:delete",
384
- "snapshot:delete:org"
385
+ "org:create:snapshot",
386
+ "create:org:snapshot",
387
+ "create:snapshot:org",
388
+ "org:snapshot:create",
389
+ "snapshot:org:create",
390
+ "snapshot:create:org"
385
391
  ]
386
392
  },
387
- "org:create:shape": {
393
+ "org:delete:shape": {
388
394
  "aliases": [
389
- "force:org:shape:create"
395
+ "force:org:shape:delete"
390
396
  ],
391
397
  "args": {},
392
398
  "deprecateAliases": true,
393
- "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.",
399
+ "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.",
394
400
  "examples": [
395
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
401
+ "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
402
+ "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
396
403
  ],
397
404
  "flags": {
398
405
  "json": {
@@ -445,70 +452,81 @@
445
452
  "hasDynamicHelp": false,
446
453
  "multiple": false,
447
454
  "type": "option"
455
+ },
456
+ "no-prompt": {
457
+ "aliases": [
458
+ "noprompt"
459
+ ],
460
+ "char": "p",
461
+ "deprecateAliases": true,
462
+ "name": "no-prompt",
463
+ "summary": "Don't prompt for confirmation.",
464
+ "allowNo": false,
465
+ "type": "boolean"
448
466
  }
449
467
  },
450
468
  "hasDynamicHelp": true,
451
469
  "hiddenAliases": [],
452
- "id": "org:create:shape",
470
+ "id": "org:delete:shape",
453
471
  "pluginAlias": "@salesforce/plugin-signups",
454
472
  "pluginName": "@salesforce/plugin-signups",
455
473
  "pluginType": "core",
456
474
  "strict": true,
457
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
475
+ "summary": "Delete all org shapes for a target org.",
458
476
  "enableJsonFlag": true,
459
477
  "isESM": true,
460
478
  "relativePath": [
461
479
  "lib",
462
480
  "commands",
463
481
  "org",
464
- "create",
482
+ "delete",
465
483
  "shape.js"
466
484
  ],
467
485
  "aliasPermutations": [
468
- "force:org:shape:create",
469
- "org:force:shape:create",
470
- "org:shape:force:create",
471
- "org:shape:create:force",
472
- "force:shape:org:create",
473
- "shape:force:org:create",
474
- "shape:org:force:create",
475
- "shape:org:create:force",
476
- "force:shape:create:org",
477
- "shape:force:create:org",
478
- "shape:create:force:org",
479
- "shape:create:org:force",
480
- "force:org:create:shape",
481
- "org:force:create:shape",
482
- "org:create:force:shape",
483
- "org:create:shape:force",
484
- "force:create:org:shape",
485
- "create:force:org:shape",
486
- "create:org:force:shape",
487
- "create:org:shape:force",
488
- "force:create:shape:org",
489
- "create:force:shape:org",
490
- "create:shape:force:org",
491
- "create:shape:org:force"
486
+ "force:org:shape:delete",
487
+ "org:force:shape:delete",
488
+ "org:shape:force:delete",
489
+ "org:shape:delete:force",
490
+ "force:shape:org:delete",
491
+ "shape:force:org:delete",
492
+ "shape:org:force:delete",
493
+ "shape:org:delete:force",
494
+ "force:shape:delete:org",
495
+ "shape:force:delete:org",
496
+ "shape:delete:force:org",
497
+ "shape:delete:org:force",
498
+ "force:org:delete:shape",
499
+ "org:force:delete:shape",
500
+ "org:delete:force:shape",
501
+ "org:delete:shape:force",
502
+ "force:delete:org:shape",
503
+ "delete:force:org:shape",
504
+ "delete:org:force:shape",
505
+ "delete:org:shape:force",
506
+ "force:delete:shape:org",
507
+ "delete:force:shape:org",
508
+ "delete:shape:force:org",
509
+ "delete:shape:org:force"
492
510
  ],
493
511
  "permutations": [
494
- "org:create:shape",
495
- "create:org:shape",
496
- "create:shape:org",
497
- "org:shape:create",
498
- "shape:org:create",
499
- "shape:create:org"
512
+ "org:delete:shape",
513
+ "delete:org:shape",
514
+ "delete:shape:org",
515
+ "org:shape:delete",
516
+ "shape:org:delete",
517
+ "shape:delete:org"
500
518
  ]
501
519
  },
502
- "org:create:snapshot": {
520
+ "org:delete:snapshot": {
503
521
  "aliases": [
504
- "force:org:snapshot:create"
522
+ "force:org:snapshot:delete"
505
523
  ],
506
524
  "args": {},
507
525
  "deprecateAliases": true,
508
- "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.",
526
+ "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.",
509
527
  "examples": [
510
- "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'",
511
- "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"
528
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
529
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
512
530
  ],
513
531
  "flags": {
514
532
  "json": {
@@ -561,92 +579,74 @@
561
579
  "multiple": false,
562
580
  "type": "option"
563
581
  },
564
- "source-org": {
565
- "aliases": [
566
- "sourceorg"
567
- ],
568
- "char": "o",
569
- "deprecateAliases": true,
570
- "name": "source-org",
571
- "required": true,
572
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
573
- "hasDynamicHelp": false,
574
- "multiple": false,
575
- "type": "option"
576
- },
577
- "name": {
578
- "aliases": [
579
- "snapshotname"
580
- ],
581
- "char": "n",
582
- "deprecateAliases": true,
583
- "name": "name",
582
+ "snapshot": {
583
+ "char": "s",
584
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
585
+ "name": "snapshot",
584
586
  "required": true,
585
- "summary": "Unique name of snapshot.",
587
+ "summary": "Name or ID of snapshot to delete.",
586
588
  "hasDynamicHelp": false,
587
589
  "multiple": false,
588
590
  "type": "option"
589
591
  },
590
- "description": {
591
- "char": "d",
592
- "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.",
593
- "name": "description",
594
- "summary": "Description of snapshot.",
595
- "hasDynamicHelp": false,
596
- "multiple": false,
597
- "type": "option"
592
+ "no-prompt": {
593
+ "char": "p",
594
+ "name": "no-prompt",
595
+ "summary": "Don't prompt the user to confirm the deletion.",
596
+ "allowNo": false,
597
+ "type": "boolean"
598
598
  }
599
599
  },
600
600
  "hasDynamicHelp": true,
601
601
  "hiddenAliases": [],
602
- "id": "org:create:snapshot",
602
+ "id": "org:delete:snapshot",
603
603
  "pluginAlias": "@salesforce/plugin-signups",
604
604
  "pluginName": "@salesforce/plugin-signups",
605
605
  "pluginType": "core",
606
606
  "strict": true,
607
- "summary": "Create a snapshot of a scratch org.",
607
+ "summary": "Delete a scratch org snapshot.",
608
608
  "enableJsonFlag": true,
609
609
  "isESM": true,
610
610
  "relativePath": [
611
611
  "lib",
612
612
  "commands",
613
613
  "org",
614
- "create",
614
+ "delete",
615
615
  "snapshot.js"
616
616
  ],
617
617
  "aliasPermutations": [
618
- "force:org:snapshot:create",
619
- "org:force:snapshot:create",
620
- "org:snapshot:force:create",
621
- "org:snapshot:create:force",
622
- "force:snapshot:org:create",
623
- "snapshot:force:org:create",
624
- "snapshot:org:force:create",
625
- "snapshot:org:create:force",
626
- "force:snapshot:create:org",
627
- "snapshot:force:create:org",
628
- "snapshot:create:force:org",
629
- "snapshot:create:org:force",
630
- "force:org:create:snapshot",
631
- "org:force:create:snapshot",
632
- "org:create:force:snapshot",
633
- "org:create:snapshot:force",
634
- "force:create:org:snapshot",
635
- "create:force:org:snapshot",
636
- "create:org:force:snapshot",
637
- "create:org:snapshot:force",
638
- "force:create:snapshot:org",
639
- "create:force:snapshot:org",
640
- "create:snapshot:force:org",
641
- "create:snapshot:org:force"
618
+ "force:org:snapshot:delete",
619
+ "org:force:snapshot:delete",
620
+ "org:snapshot:force:delete",
621
+ "org:snapshot:delete:force",
622
+ "force:snapshot:org:delete",
623
+ "snapshot:force:org:delete",
624
+ "snapshot:org:force:delete",
625
+ "snapshot:org:delete:force",
626
+ "force:snapshot:delete:org",
627
+ "snapshot:force:delete:org",
628
+ "snapshot:delete:force:org",
629
+ "snapshot:delete:org:force",
630
+ "force:org:delete:snapshot",
631
+ "org:force:delete:snapshot",
632
+ "org:delete:force:snapshot",
633
+ "org:delete:snapshot:force",
634
+ "force:delete:org:snapshot",
635
+ "delete:force:org:snapshot",
636
+ "delete:org:force:snapshot",
637
+ "delete:org:snapshot:force",
638
+ "force:delete:snapshot:org",
639
+ "delete:force:snapshot:org",
640
+ "delete:snapshot:force:org",
641
+ "delete:snapshot:org:force"
642
642
  ],
643
643
  "permutations": [
644
- "org:create:snapshot",
645
- "create:org:snapshot",
646
- "create:snapshot:org",
647
- "org:snapshot:create",
648
- "snapshot:org:create",
649
- "snapshot:create:org"
644
+ "org:delete:snapshot",
645
+ "delete:org:snapshot",
646
+ "delete:snapshot:org",
647
+ "org:snapshot:delete",
648
+ "snapshot:org:delete",
649
+ "snapshot:delete:org"
650
650
  ]
651
651
  },
652
652
  "org:list:shape": {
@@ -862,5 +862,5 @@
862
862
  ]
863
863
  }
864
864
  },
865
- "version": "2.6.23"
865
+ "version": "2.6.24"
866
866
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "2.6.23",
4
+ "version": "2.6.24",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -21,7 +21,7 @@
21
21
  "@types/chai-string": "^1.4.5",
22
22
  "chai-as-promised": "7.1.2",
23
23
  "chai-string": "^1.6.0",
24
- "eslint-plugin-sf-plugin": "^1.20.20",
24
+ "eslint-plugin-sf-plugin": "^1.20.21",
25
25
  "jsforce": "^2.0.0-beta.28",
26
26
  "oclif": "^4.17.46",
27
27
  "ts-node": "^10.9.2",
@@ -220,7 +220,7 @@
220
220
  "exports": "./lib/index.js",
221
221
  "type": "module",
222
222
  "sfdx": {
223
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.23.crt",
224
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.23.sig"
223
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.24.crt",
224
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.24.sig"
225
225
  }
226
226
  }