@salesforce/plugin-signups 2.0.17 → 2.0.18

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
@@ -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.17/src/commands/org/create/shape.ts)_
125
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.18/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.17/src/commands/org/create/snapshot.ts)_
179
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.18/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.17/src/commands/org/delete/shape.ts)_
218
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.18/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.17/src/commands/org/delete/snapshot.ts)_
261
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.18/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.17/src/commands/org/get/snapshot.ts)_
307
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.18/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.17/src/commands/org/list/shape.ts)_
339
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.18/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.17/src/commands/org/list/snapshot.ts)_
380
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.0.18/src/commands/org/list/snapshot.ts)_
381
381
 
382
382
  <!-- commandsstop -->
package/oclif.lock CHANGED
@@ -1566,10 +1566,10 @@
1566
1566
  strip-ansi "6.0.1"
1567
1567
  ts-retry-promise "^0.8.0"
1568
1568
 
1569
- "@salesforce/core@^6.4.0", "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.4", "@salesforce/core@^6.4.6", "@salesforce/core@^6.4.7":
1570
- version "6.4.7"
1571
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.7.tgz#f15538380aa5c75de697d3c95a2ddbdabae69dbb"
1572
- integrity sha512-gebjw2xC8Z0gqS3lYRQWz7J+PuGZtybotrnnaJbnzzxdfpBFIp6PjW4nt/235BQW9UWFTLaQh+AwkFgmMTTSkA==
1569
+ "@salesforce/core@^6.4.0", "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.4", "@salesforce/core@^6.4.7", "@salesforce/core@^6.5.0":
1570
+ version "6.5.1"
1571
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.5.1.tgz#3d387a6f0b93485274ec046dde5cf1364a3a00b0"
1572
+ integrity sha512-u/R82JGdbJCMY0EN3UY5hQUxn0gPN+ParNQIm9YPB9lDpBQv82nKeZJuH6j2LsaaF6ygY3bm79kftPxpdKbggQ==
1573
1573
  dependencies:
1574
1574
  "@salesforce/kit" "^3.0.15"
1575
1575
  "@salesforce/schemas" "^1.6.1"
@@ -1672,15 +1672,15 @@
1672
1672
  chalk "^4"
1673
1673
  inquirer "^8.2.5"
1674
1674
 
1675
- "@salesforce/sf-plugins-core@^7.1.1":
1676
- version "7.1.1"
1677
- resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-7.1.1.tgz#195b14d8bbb5ee2123872775110892c54c08c791"
1678
- integrity sha512-stVcdLNaroS8UbcTQicr0aVH7K3yfpMFcPpTpLn2Z7OL66iEhBg4Vtr9+v0qKBjA5ZW7S0M1zzrgjY3ZNRJSxw==
1675
+ "@salesforce/sf-plugins-core@^7.1.4":
1676
+ version "7.1.4"
1677
+ resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-7.1.4.tgz#0aca0e243b9880269c3e2712ca14982eb8515f1e"
1678
+ integrity sha512-aFV4FhUEz/oyn7JzsoutQp7SBs0Ac07m5uWYI+ngYlhJdd/AC/0IpMqd/BOIBmLzAqos+y6bKR6OqBEqQDaxlw==
1679
1679
  dependencies:
1680
1680
  "@inquirer/confirm" "^2.0.15"
1681
1681
  "@inquirer/password" "^1.1.14"
1682
- "@oclif/core" "^3.16.0"
1683
- "@salesforce/core" "^6.4.6"
1682
+ "@oclif/core" "^3.18.1"
1683
+ "@salesforce/core" "^6.5.0"
1684
1684
  "@salesforce/kit" "^3.0.15"
1685
1685
  "@salesforce/ts-types" "^2.0.9"
1686
1686
  chalk "^5.3.0"
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "commands": {
3
- "org:delete:shape": {
3
+ "org:create:shape": {
4
4
  "aliases": [
5
- "force:org:shape:delete"
5
+ "force:org:shape:create"
6
6
  ],
7
7
  "args": {},
8
8
  "deprecateAliases": true,
9
- "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.",
9
+ "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 %> force:org:create\" command.",
10
10
  "examples": [
11
- "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
12
- "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
11
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
13
12
  ],
14
13
  "flags": {
15
14
  "json": {
@@ -54,81 +53,70 @@
54
53
  "hasDynamicHelp": false,
55
54
  "multiple": false,
56
55
  "type": "option"
57
- },
58
- "no-prompt": {
59
- "aliases": [
60
- "noprompt"
61
- ],
62
- "char": "p",
63
- "deprecateAliases": true,
64
- "name": "no-prompt",
65
- "summary": "Don't prompt for confirmation.",
66
- "allowNo": false,
67
- "type": "boolean"
68
56
  }
69
57
  },
70
58
  "hasDynamicHelp": true,
71
59
  "hiddenAliases": [],
72
- "id": "org:delete:shape",
60
+ "id": "org:create:shape",
73
61
  "pluginAlias": "@salesforce/plugin-signups",
74
62
  "pluginName": "@salesforce/plugin-signups",
75
63
  "pluginType": "core",
76
64
  "strict": true,
77
- "summary": "Delete all org shapes for a target org.",
65
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
78
66
  "enableJsonFlag": true,
79
67
  "isESM": true,
80
68
  "relativePath": [
81
69
  "lib",
82
70
  "commands",
83
71
  "org",
84
- "delete",
72
+ "create",
85
73
  "shape.js"
86
74
  ],
87
75
  "aliasPermutations": [
88
- "force:org:shape:delete",
89
- "org:force:shape:delete",
90
- "org:shape:force:delete",
91
- "org:shape:delete:force",
92
- "force:shape:org:delete",
93
- "shape:force:org:delete",
94
- "shape:org:force:delete",
95
- "shape:org:delete:force",
96
- "force:shape:delete:org",
97
- "shape:force:delete:org",
98
- "shape:delete:force:org",
99
- "shape:delete:org:force",
100
- "force:org:delete:shape",
101
- "org:force:delete:shape",
102
- "org:delete:force:shape",
103
- "org:delete:shape:force",
104
- "force:delete:org:shape",
105
- "delete:force:org:shape",
106
- "delete:org:force:shape",
107
- "delete:org:shape:force",
108
- "force:delete:shape:org",
109
- "delete:force:shape:org",
110
- "delete:shape:force:org",
111
- "delete:shape:org:force"
76
+ "force:org:shape:create",
77
+ "org:force:shape:create",
78
+ "org:shape:force:create",
79
+ "org:shape:create:force",
80
+ "force:shape:org:create",
81
+ "shape:force:org:create",
82
+ "shape:org:force:create",
83
+ "shape:org:create:force",
84
+ "force:shape:create:org",
85
+ "shape:force:create:org",
86
+ "shape:create:force:org",
87
+ "shape:create:org:force",
88
+ "force:org:create:shape",
89
+ "org:force:create:shape",
90
+ "org:create:force:shape",
91
+ "org:create:shape:force",
92
+ "force:create:org:shape",
93
+ "create:force:org:shape",
94
+ "create:org:force:shape",
95
+ "create:org:shape:force",
96
+ "force:create:shape:org",
97
+ "create:force:shape:org",
98
+ "create:shape:force:org",
99
+ "create:shape:org:force"
112
100
  ],
113
101
  "permutations": [
114
- "org:delete:shape",
115
- "delete:org:shape",
116
- "delete:shape:org",
117
- "org:shape:delete",
118
- "shape:org:delete",
119
- "shape:delete:org"
102
+ "org:create:shape",
103
+ "create:org:shape",
104
+ "create:shape:org",
105
+ "org:shape:create",
106
+ "shape:org:create",
107
+ "shape:create:org"
120
108
  ]
121
109
  },
122
- "org:delete:snapshot": {
110
+ "org:create:snapshot": {
123
111
  "aliases": [
124
- "force:org:snapshot:delete"
112
+ "force:org:snapshot:create"
125
113
  ],
126
114
  "args": {},
127
115
  "deprecateAliases": true,
128
- "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.",
116
+ "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 %> force:org:create\" to create the scratch org.",
129
117
  "examples": [
130
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
131
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
118
+ "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'",
119
+ "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"
132
120
  ],
133
121
  "flags": {
134
122
  "json": {
@@ -173,12 +161,37 @@
173
161
  "multiple": false,
174
162
  "type": "option"
175
163
  },
176
- "snapshot": {
177
- "char": "s",
178
- "description": "The IDs of scratch org snapshots start with 0Oo.",
179
- "name": "snapshot",
164
+ "source-org": {
165
+ "aliases": [
166
+ "sourceorg"
167
+ ],
168
+ "char": "o",
169
+ "deprecateAliases": true,
170
+ "name": "source-org",
180
171
  "required": true,
181
- "summary": "Name or ID of snapshot to delete.",
172
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
173
+ "hasDynamicHelp": false,
174
+ "multiple": false,
175
+ "type": "option"
176
+ },
177
+ "name": {
178
+ "aliases": [
179
+ "snapshotname"
180
+ ],
181
+ "char": "n",
182
+ "deprecateAliases": true,
183
+ "name": "name",
184
+ "required": true,
185
+ "summary": "Unique name of snapshot.",
186
+ "hasDynamicHelp": false,
187
+ "multiple": false,
188
+ "type": "option"
189
+ },
190
+ "description": {
191
+ "char": "d",
192
+ "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.",
193
+ "name": "description",
194
+ "summary": "Description of snapshot.",
182
195
  "hasDynamicHelp": false,
183
196
  "multiple": false,
184
197
  "type": "option"
@@ -186,55 +199,55 @@
186
199
  },
187
200
  "hasDynamicHelp": true,
188
201
  "hiddenAliases": [],
189
- "id": "org:delete:snapshot",
202
+ "id": "org:create:snapshot",
190
203
  "pluginAlias": "@salesforce/plugin-signups",
191
204
  "pluginName": "@salesforce/plugin-signups",
192
205
  "pluginType": "core",
193
206
  "state": "beta",
194
207
  "strict": true,
195
- "summary": "Delete a scratch org snapshot.",
208
+ "summary": "Create a snapshot of a scratch org.",
196
209
  "enableJsonFlag": true,
197
210
  "isESM": true,
198
211
  "relativePath": [
199
212
  "lib",
200
213
  "commands",
201
214
  "org",
202
- "delete",
215
+ "create",
203
216
  "snapshot.js"
204
217
  ],
205
218
  "aliasPermutations": [
206
- "force:org:snapshot:delete",
207
- "org:force:snapshot:delete",
208
- "org:snapshot:force:delete",
209
- "org:snapshot:delete:force",
210
- "force:snapshot:org:delete",
211
- "snapshot:force:org:delete",
212
- "snapshot:org:force:delete",
213
- "snapshot:org:delete:force",
214
- "force:snapshot:delete:org",
215
- "snapshot:force:delete:org",
216
- "snapshot:delete:force:org",
217
- "snapshot:delete:org:force",
218
- "force:org:delete:snapshot",
219
- "org:force:delete:snapshot",
220
- "org:delete:force:snapshot",
221
- "org:delete:snapshot:force",
222
- "force:delete:org:snapshot",
223
- "delete:force:org:snapshot",
224
- "delete:org:force:snapshot",
225
- "delete:org:snapshot:force",
226
- "force:delete:snapshot:org",
227
- "delete:force:snapshot:org",
228
- "delete:snapshot:force:org",
229
- "delete:snapshot:org:force"
219
+ "force:org:snapshot:create",
220
+ "org:force:snapshot:create",
221
+ "org:snapshot:force:create",
222
+ "org:snapshot:create:force",
223
+ "force:snapshot:org:create",
224
+ "snapshot:force:org:create",
225
+ "snapshot:org:force:create",
226
+ "snapshot:org:create:force",
227
+ "force:snapshot:create:org",
228
+ "snapshot:force:create:org",
229
+ "snapshot:create:force:org",
230
+ "snapshot:create:org:force",
231
+ "force:org:create:snapshot",
232
+ "org:force:create:snapshot",
233
+ "org:create:force:snapshot",
234
+ "org:create:snapshot:force",
235
+ "force:create:org:snapshot",
236
+ "create:force:org:snapshot",
237
+ "create:org:force:snapshot",
238
+ "create:org:snapshot:force",
239
+ "force:create:snapshot:org",
240
+ "create:force:snapshot:org",
241
+ "create:snapshot:force:org",
242
+ "create:snapshot:org:force"
230
243
  ],
231
244
  "permutations": [
232
- "org:delete:snapshot",
233
- "delete:org:snapshot",
234
- "delete:snapshot:org",
235
- "org:snapshot:delete",
236
- "snapshot:org:delete",
237
- "snapshot:delete:org"
245
+ "org:create:snapshot",
246
+ "create:org:snapshot",
247
+ "create:snapshot:org",
248
+ "org:snapshot:create",
249
+ "snapshot:org:create",
250
+ "snapshot:create:org"
238
251
  ]
239
252
  },
240
253
  "org:get:snapshot": {
@@ -552,15 +565,16 @@
552
565
  "snapshot:list:org"
553
566
  ]
554
567
  },
555
- "org:create:shape": {
568
+ "org:delete:shape": {
556
569
  "aliases": [
557
- "force:org:shape:create"
570
+ "force:org:shape:delete"
558
571
  ],
559
572
  "args": {},
560
573
  "deprecateAliases": true,
561
- "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 %> force:org:create\" command.",
574
+ "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.",
562
575
  "examples": [
563
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
576
+ "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
577
+ "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
564
578
  ],
565
579
  "flags": {
566
580
  "json": {
@@ -605,70 +619,81 @@
605
619
  "hasDynamicHelp": false,
606
620
  "multiple": false,
607
621
  "type": "option"
622
+ },
623
+ "no-prompt": {
624
+ "aliases": [
625
+ "noprompt"
626
+ ],
627
+ "char": "p",
628
+ "deprecateAliases": true,
629
+ "name": "no-prompt",
630
+ "summary": "Don't prompt for confirmation.",
631
+ "allowNo": false,
632
+ "type": "boolean"
608
633
  }
609
634
  },
610
635
  "hasDynamicHelp": true,
611
636
  "hiddenAliases": [],
612
- "id": "org:create:shape",
637
+ "id": "org:delete:shape",
613
638
  "pluginAlias": "@salesforce/plugin-signups",
614
639
  "pluginName": "@salesforce/plugin-signups",
615
640
  "pluginType": "core",
616
641
  "strict": true,
617
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
642
+ "summary": "Delete all org shapes for a target org.",
618
643
  "enableJsonFlag": true,
619
644
  "isESM": true,
620
645
  "relativePath": [
621
646
  "lib",
622
647
  "commands",
623
648
  "org",
624
- "create",
649
+ "delete",
625
650
  "shape.js"
626
651
  ],
627
652
  "aliasPermutations": [
628
- "force:org:shape:create",
629
- "org:force:shape:create",
630
- "org:shape:force:create",
631
- "org:shape:create:force",
632
- "force:shape:org:create",
633
- "shape:force:org:create",
634
- "shape:org:force:create",
635
- "shape:org:create:force",
636
- "force:shape:create:org",
637
- "shape:force:create:org",
638
- "shape:create:force:org",
639
- "shape:create:org:force",
640
- "force:org:create:shape",
641
- "org:force:create:shape",
642
- "org:create:force:shape",
643
- "org:create:shape:force",
644
- "force:create:org:shape",
645
- "create:force:org:shape",
646
- "create:org:force:shape",
647
- "create:org:shape:force",
648
- "force:create:shape:org",
649
- "create:force:shape:org",
650
- "create:shape:force:org",
651
- "create:shape:org:force"
653
+ "force:org:shape:delete",
654
+ "org:force:shape:delete",
655
+ "org:shape:force:delete",
656
+ "org:shape:delete:force",
657
+ "force:shape:org:delete",
658
+ "shape:force:org:delete",
659
+ "shape:org:force:delete",
660
+ "shape:org:delete:force",
661
+ "force:shape:delete:org",
662
+ "shape:force:delete:org",
663
+ "shape:delete:force:org",
664
+ "shape:delete:org:force",
665
+ "force:org:delete:shape",
666
+ "org:force:delete:shape",
667
+ "org:delete:force:shape",
668
+ "org:delete:shape:force",
669
+ "force:delete:org:shape",
670
+ "delete:force:org:shape",
671
+ "delete:org:force:shape",
672
+ "delete:org:shape:force",
673
+ "force:delete:shape:org",
674
+ "delete:force:shape:org",
675
+ "delete:shape:force:org",
676
+ "delete:shape:org:force"
652
677
  ],
653
678
  "permutations": [
654
- "org:create:shape",
655
- "create:org:shape",
656
- "create:shape:org",
657
- "org:shape:create",
658
- "shape:org:create",
659
- "shape:create:org"
679
+ "org:delete:shape",
680
+ "delete:org:shape",
681
+ "delete:shape:org",
682
+ "org:shape:delete",
683
+ "shape:org:delete",
684
+ "shape:delete:org"
660
685
  ]
661
686
  },
662
- "org:create:snapshot": {
687
+ "org:delete:snapshot": {
663
688
  "aliases": [
664
- "force:org:snapshot:create"
689
+ "force:org:snapshot:delete"
665
690
  ],
666
691
  "args": {},
667
692
  "deprecateAliases": true,
668
- "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 %> force:org:create\" to create the scratch org.",
693
+ "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.",
669
694
  "examples": [
670
- "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'",
671
- "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"
695
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
696
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
672
697
  ],
673
698
  "flags": {
674
699
  "json": {
@@ -713,37 +738,12 @@
713
738
  "multiple": false,
714
739
  "type": "option"
715
740
  },
716
- "source-org": {
717
- "aliases": [
718
- "sourceorg"
719
- ],
720
- "char": "o",
721
- "deprecateAliases": true,
722
- "name": "source-org",
723
- "required": true,
724
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
725
- "hasDynamicHelp": false,
726
- "multiple": false,
727
- "type": "option"
728
- },
729
- "name": {
730
- "aliases": [
731
- "snapshotname"
732
- ],
733
- "char": "n",
734
- "deprecateAliases": true,
735
- "name": "name",
741
+ "snapshot": {
742
+ "char": "s",
743
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
744
+ "name": "snapshot",
736
745
  "required": true,
737
- "summary": "Unique name of snapshot.",
738
- "hasDynamicHelp": false,
739
- "multiple": false,
740
- "type": "option"
741
- },
742
- "description": {
743
- "char": "d",
744
- "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.",
745
- "name": "description",
746
- "summary": "Description of snapshot.",
746
+ "summary": "Name or ID of snapshot to delete.",
747
747
  "hasDynamicHelp": false,
748
748
  "multiple": false,
749
749
  "type": "option"
@@ -751,57 +751,57 @@
751
751
  },
752
752
  "hasDynamicHelp": true,
753
753
  "hiddenAliases": [],
754
- "id": "org:create:snapshot",
754
+ "id": "org:delete:snapshot",
755
755
  "pluginAlias": "@salesforce/plugin-signups",
756
756
  "pluginName": "@salesforce/plugin-signups",
757
757
  "pluginType": "core",
758
758
  "state": "beta",
759
759
  "strict": true,
760
- "summary": "Create a snapshot of a scratch org.",
760
+ "summary": "Delete a scratch org snapshot.",
761
761
  "enableJsonFlag": true,
762
762
  "isESM": true,
763
763
  "relativePath": [
764
764
  "lib",
765
765
  "commands",
766
766
  "org",
767
- "create",
767
+ "delete",
768
768
  "snapshot.js"
769
769
  ],
770
770
  "aliasPermutations": [
771
- "force:org:snapshot:create",
772
- "org:force:snapshot:create",
773
- "org:snapshot:force:create",
774
- "org:snapshot:create:force",
775
- "force:snapshot:org:create",
776
- "snapshot:force:org:create",
777
- "snapshot:org:force:create",
778
- "snapshot:org:create:force",
779
- "force:snapshot:create:org",
780
- "snapshot:force:create:org",
781
- "snapshot:create:force:org",
782
- "snapshot:create:org:force",
783
- "force:org:create:snapshot",
784
- "org:force:create:snapshot",
785
- "org:create:force:snapshot",
786
- "org:create:snapshot:force",
787
- "force:create:org:snapshot",
788
- "create:force:org:snapshot",
789
- "create:org:force:snapshot",
790
- "create:org:snapshot:force",
791
- "force:create:snapshot:org",
792
- "create:force:snapshot:org",
793
- "create:snapshot:force:org",
794
- "create:snapshot:org:force"
771
+ "force:org:snapshot:delete",
772
+ "org:force:snapshot:delete",
773
+ "org:snapshot:force:delete",
774
+ "org:snapshot:delete:force",
775
+ "force:snapshot:org:delete",
776
+ "snapshot:force:org:delete",
777
+ "snapshot:org:force:delete",
778
+ "snapshot:org:delete:force",
779
+ "force:snapshot:delete:org",
780
+ "snapshot:force:delete:org",
781
+ "snapshot:delete:force:org",
782
+ "snapshot:delete:org:force",
783
+ "force:org:delete:snapshot",
784
+ "org:force:delete:snapshot",
785
+ "org:delete:force:snapshot",
786
+ "org:delete:snapshot:force",
787
+ "force:delete:org:snapshot",
788
+ "delete:force:org:snapshot",
789
+ "delete:org:force:snapshot",
790
+ "delete:org:snapshot:force",
791
+ "force:delete:snapshot:org",
792
+ "delete:force:snapshot:org",
793
+ "delete:snapshot:force:org",
794
+ "delete:snapshot:org:force"
795
795
  ],
796
796
  "permutations": [
797
- "org:create:snapshot",
798
- "create:org:snapshot",
799
- "create:snapshot:org",
800
- "org:snapshot:create",
801
- "snapshot:org:create",
802
- "snapshot:create:org"
797
+ "org:delete:snapshot",
798
+ "delete:org:snapshot",
799
+ "delete:snapshot:org",
800
+ "org:snapshot:delete",
801
+ "snapshot:org:delete",
802
+ "snapshot:delete:org"
803
803
  ]
804
804
  }
805
805
  },
806
- "version": "2.0.17"
806
+ "version": "2.0.18"
807
807
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "2.0.17",
4
+ "version": "2.0.18",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^3.15.1",
9
9
  "@salesforce/core": "^6.4.7",
10
10
  "@salesforce/kit": "^3.0.15",
11
- "@salesforce/sf-plugins-core": "^7.1.1",
11
+ "@salesforce/sf-plugins-core": "^7.1.4",
12
12
  "chalk": "^5.3.0",
13
13
  "change-case": "^5.3.0"
14
14
  },
@@ -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.17.crt",
261
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.17.sig"
260
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.18.crt",
261
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.0.18.sig"
262
262
  }
263
263
  }