@salesforce/plugin-signups 2.6.19 → 2.6.20

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.
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "commands": {
3
- "org:get:snapshot": {
3
+ "org:create:shape": {
4
4
  "aliases": [
5
- "force:org:snapshot:get"
5
+ "force:org:shape:create"
6
6
  ],
7
7
  "args": {},
8
8
  "deprecateAliases": true,
9
- "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\".",
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 %> org create scratch\" command.",
10
10
  "examples": [
11
- "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
12
- "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"
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": {
@@ -27,16 +26,17 @@
27
26
  "multiple": false,
28
27
  "type": "option"
29
28
  },
30
- "target-dev-hub": {
29
+ "target-org": {
31
30
  "aliases": [
32
- "targetdevhubusername"
31
+ "targetusername",
32
+ "u"
33
33
  ],
34
- "char": "v",
34
+ "char": "o",
35
35
  "deprecateAliases": true,
36
- "name": "target-dev-hub",
36
+ "name": "target-org",
37
37
  "noCacheDefault": true,
38
38
  "required": true,
39
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
39
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
40
40
  "hasDynamicHelp": true,
41
41
  "multiple": false,
42
42
  "type": "option"
@@ -61,80 +61,70 @@
61
61
  "hasDynamicHelp": false,
62
62
  "multiple": false,
63
63
  "type": "option"
64
- },
65
- "snapshot": {
66
- "char": "s",
67
- "description": "The IDs of scratch org snapshots start with 0Oo.",
68
- "name": "snapshot",
69
- "required": true,
70
- "summary": "Name or ID of snapshot to retrieve.",
71
- "hasDynamicHelp": false,
72
- "multiple": false,
73
- "type": "option"
74
64
  }
75
65
  },
76
66
  "hasDynamicHelp": true,
77
67
  "hiddenAliases": [],
78
- "id": "org:get:snapshot",
68
+ "id": "org:create:shape",
79
69
  "pluginAlias": "@salesforce/plugin-signups",
80
70
  "pluginName": "@salesforce/plugin-signups",
81
71
  "pluginType": "core",
82
72
  "strict": true,
83
- "summary": "Get details about a scratch org snapshot.",
73
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
84
74
  "enableJsonFlag": true,
85
75
  "isESM": true,
86
76
  "relativePath": [
87
77
  "lib",
88
78
  "commands",
89
79
  "org",
90
- "get",
91
- "snapshot.js"
80
+ "create",
81
+ "shape.js"
92
82
  ],
93
83
  "aliasPermutations": [
94
- "force:org:snapshot:get",
95
- "org:force:snapshot:get",
96
- "org:snapshot:force:get",
97
- "org:snapshot:get:force",
98
- "force:snapshot:org:get",
99
- "snapshot:force:org:get",
100
- "snapshot:org:force:get",
101
- "snapshot:org:get:force",
102
- "force:snapshot:get:org",
103
- "snapshot:force:get:org",
104
- "snapshot:get:force:org",
105
- "snapshot:get:org:force",
106
- "force:org:get:snapshot",
107
- "org:force:get:snapshot",
108
- "org:get:force:snapshot",
109
- "org:get:snapshot:force",
110
- "force:get:org:snapshot",
111
- "get:force:org:snapshot",
112
- "get:org:force:snapshot",
113
- "get:org:snapshot:force",
114
- "force:get:snapshot:org",
115
- "get:force:snapshot:org",
116
- "get:snapshot:force:org",
117
- "get:snapshot:org:force"
84
+ "force:org:shape:create",
85
+ "org:force:shape:create",
86
+ "org:shape:force:create",
87
+ "org:shape:create:force",
88
+ "force:shape:org:create",
89
+ "shape:force:org:create",
90
+ "shape:org:force:create",
91
+ "shape:org:create:force",
92
+ "force:shape:create:org",
93
+ "shape:force:create:org",
94
+ "shape:create:force:org",
95
+ "shape:create:org:force",
96
+ "force:org:create:shape",
97
+ "org:force:create:shape",
98
+ "org:create:force:shape",
99
+ "org:create:shape:force",
100
+ "force:create:org:shape",
101
+ "create:force:org:shape",
102
+ "create:org:force:shape",
103
+ "create:org:shape:force",
104
+ "force:create:shape:org",
105
+ "create:force:shape:org",
106
+ "create:shape:force:org",
107
+ "create:shape:org:force"
118
108
  ],
119
109
  "permutations": [
120
- "org:get:snapshot",
121
- "get:org:snapshot",
122
- "get:snapshot:org",
123
- "org:snapshot:get",
124
- "snapshot:org:get",
125
- "snapshot:get:org"
110
+ "org:create:shape",
111
+ "create:org:shape",
112
+ "create:shape:org",
113
+ "org:shape:create",
114
+ "shape:org:create",
115
+ "shape:create:org"
126
116
  ]
127
117
  },
128
- "org:list:shape": {
118
+ "org:create:snapshot": {
129
119
  "aliases": [
130
- "force:org:shape:list"
120
+ "force:org:snapshot:create"
131
121
  ],
132
122
  "args": {},
133
123
  "deprecateAliases": true,
134
- "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.",
124
+ "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.",
135
125
  "examples": [
136
- "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
137
- "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
126
+ "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'",
127
+ "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"
138
128
  ],
139
129
  "flags": {
140
130
  "json": {
@@ -152,12 +142,30 @@
152
142
  "multiple": false,
153
143
  "type": "option"
154
144
  },
155
- "verbose": {
156
- "hidden": true,
157
- "name": "verbose",
158
- "summary": "List more information about each org shape.",
159
- "allowNo": false,
160
- "type": "boolean"
145
+ "target-dev-hub": {
146
+ "aliases": [
147
+ "targetdevhubusername"
148
+ ],
149
+ "char": "v",
150
+ "deprecateAliases": true,
151
+ "name": "target-dev-hub",
152
+ "noCacheDefault": true,
153
+ "required": true,
154
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
155
+ "hasDynamicHelp": true,
156
+ "multiple": false,
157
+ "type": "option"
158
+ },
159
+ "api-version": {
160
+ "aliases": [
161
+ "apiversion"
162
+ ],
163
+ "deprecateAliases": true,
164
+ "description": "Override the api version used for api requests made by this command",
165
+ "name": "api-version",
166
+ "hasDynamicHelp": false,
167
+ "multiple": false,
168
+ "type": "option"
161
169
  },
162
170
  "loglevel": {
163
171
  "deprecated": {
@@ -168,70 +176,105 @@
168
176
  "hasDynamicHelp": false,
169
177
  "multiple": false,
170
178
  "type": "option"
179
+ },
180
+ "source-org": {
181
+ "aliases": [
182
+ "sourceorg"
183
+ ],
184
+ "char": "o",
185
+ "deprecateAliases": true,
186
+ "name": "source-org",
187
+ "required": true,
188
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
189
+ "hasDynamicHelp": false,
190
+ "multiple": false,
191
+ "type": "option"
192
+ },
193
+ "name": {
194
+ "aliases": [
195
+ "snapshotname"
196
+ ],
197
+ "char": "n",
198
+ "deprecateAliases": true,
199
+ "name": "name",
200
+ "required": true,
201
+ "summary": "Unique name of snapshot.",
202
+ "hasDynamicHelp": false,
203
+ "multiple": false,
204
+ "type": "option"
205
+ },
206
+ "description": {
207
+ "char": "d",
208
+ "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.",
209
+ "name": "description",
210
+ "summary": "Description of snapshot.",
211
+ "hasDynamicHelp": false,
212
+ "multiple": false,
213
+ "type": "option"
171
214
  }
172
215
  },
173
- "hasDynamicHelp": false,
216
+ "hasDynamicHelp": true,
174
217
  "hiddenAliases": [],
175
- "id": "org:list:shape",
218
+ "id": "org:create:snapshot",
176
219
  "pluginAlias": "@salesforce/plugin-signups",
177
220
  "pluginName": "@salesforce/plugin-signups",
178
221
  "pluginType": "core",
179
222
  "strict": true,
180
- "summary": "List all org shapes you’ve created.",
223
+ "summary": "Create a snapshot of a scratch org.",
181
224
  "enableJsonFlag": true,
182
225
  "isESM": true,
183
226
  "relativePath": [
184
227
  "lib",
185
228
  "commands",
186
229
  "org",
187
- "list",
188
- "shape.js"
230
+ "create",
231
+ "snapshot.js"
189
232
  ],
190
233
  "aliasPermutations": [
191
- "force:org:shape:list",
192
- "org:force:shape:list",
193
- "org:shape:force:list",
194
- "org:shape:list:force",
195
- "force:shape:org:list",
196
- "shape:force:org:list",
197
- "shape:org:force:list",
198
- "shape:org:list:force",
199
- "force:shape:list:org",
200
- "shape:force:list:org",
201
- "shape:list:force:org",
202
- "shape:list:org:force",
203
- "force:org:list:shape",
204
- "org:force:list:shape",
205
- "org:list:force:shape",
206
- "org:list:shape:force",
207
- "force:list:org:shape",
208
- "list:force:org:shape",
209
- "list:org:force:shape",
210
- "list:org:shape:force",
211
- "force:list:shape:org",
212
- "list:force:shape:org",
213
- "list:shape:force:org",
214
- "list:shape:org:force"
234
+ "force:org:snapshot:create",
235
+ "org:force:snapshot:create",
236
+ "org:snapshot:force:create",
237
+ "org:snapshot:create:force",
238
+ "force:snapshot:org:create",
239
+ "snapshot:force:org:create",
240
+ "snapshot:org:force:create",
241
+ "snapshot:org:create:force",
242
+ "force:snapshot:create:org",
243
+ "snapshot:force:create:org",
244
+ "snapshot:create:force:org",
245
+ "snapshot:create:org:force",
246
+ "force:org:create:snapshot",
247
+ "org:force:create:snapshot",
248
+ "org:create:force:snapshot",
249
+ "org:create:snapshot:force",
250
+ "force:create:org:snapshot",
251
+ "create:force:org:snapshot",
252
+ "create:org:force:snapshot",
253
+ "create:org:snapshot:force",
254
+ "force:create:snapshot:org",
255
+ "create:force:snapshot:org",
256
+ "create:snapshot:force:org",
257
+ "create:snapshot:org:force"
215
258
  ],
216
259
  "permutations": [
217
- "org:list:shape",
218
- "list:org:shape",
219
- "list:shape:org",
220
- "org:shape:list",
221
- "shape:org:list",
222
- "shape:list:org"
260
+ "org:create:snapshot",
261
+ "create:org:snapshot",
262
+ "create:snapshot:org",
263
+ "org:snapshot:create",
264
+ "snapshot:org:create",
265
+ "snapshot:create:org"
223
266
  ]
224
267
  },
225
- "org:list:snapshot": {
268
+ "org:get:snapshot": {
226
269
  "aliases": [
227
- "force:org:snapshot:list"
270
+ "force:org:snapshot:get"
228
271
  ],
229
272
  "args": {},
230
273
  "deprecateAliases": true,
231
- "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\".",
274
+ "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\".",
232
275
  "examples": [
233
- "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
234
- "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
276
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
277
+ "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"
235
278
  ],
236
279
  "flags": {
237
280
  "json": {
@@ -283,58 +326,68 @@
283
326
  "hasDynamicHelp": false,
284
327
  "multiple": false,
285
328
  "type": "option"
329
+ },
330
+ "snapshot": {
331
+ "char": "s",
332
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
333
+ "name": "snapshot",
334
+ "required": true,
335
+ "summary": "Name or ID of snapshot to retrieve.",
336
+ "hasDynamicHelp": false,
337
+ "multiple": false,
338
+ "type": "option"
286
339
  }
287
340
  },
288
341
  "hasDynamicHelp": true,
289
342
  "hiddenAliases": [],
290
- "id": "org:list:snapshot",
343
+ "id": "org:get:snapshot",
291
344
  "pluginAlias": "@salesforce/plugin-signups",
292
345
  "pluginName": "@salesforce/plugin-signups",
293
346
  "pluginType": "core",
294
347
  "strict": true,
295
- "summary": "List scratch org snapshots.",
348
+ "summary": "Get details about a scratch org snapshot.",
296
349
  "enableJsonFlag": true,
297
350
  "isESM": true,
298
351
  "relativePath": [
299
352
  "lib",
300
353
  "commands",
301
354
  "org",
302
- "list",
355
+ "get",
303
356
  "snapshot.js"
304
357
  ],
305
- "aliasPermutations": [
306
- "force:org:snapshot:list",
307
- "org:force:snapshot:list",
308
- "org:snapshot:force:list",
309
- "org:snapshot:list:force",
310
- "force:snapshot:org:list",
311
- "snapshot:force:org:list",
312
- "snapshot:org:force:list",
313
- "snapshot:org:list:force",
314
- "force:snapshot:list:org",
315
- "snapshot:force:list:org",
316
- "snapshot:list:force:org",
317
- "snapshot:list:org:force",
318
- "force:org:list:snapshot",
319
- "org:force:list:snapshot",
320
- "org:list:force:snapshot",
321
- "org:list:snapshot:force",
322
- "force:list:org:snapshot",
323
- "list:force:org:snapshot",
324
- "list:org:force:snapshot",
325
- "list:org:snapshot:force",
326
- "force:list:snapshot:org",
327
- "list:force:snapshot:org",
328
- "list:snapshot:force:org",
329
- "list:snapshot:org:force"
358
+ "aliasPermutations": [
359
+ "force:org:snapshot:get",
360
+ "org:force:snapshot:get",
361
+ "org:snapshot:force:get",
362
+ "org:snapshot:get:force",
363
+ "force:snapshot:org:get",
364
+ "snapshot:force:org:get",
365
+ "snapshot:org:force:get",
366
+ "snapshot:org:get:force",
367
+ "force:snapshot:get:org",
368
+ "snapshot:force:get:org",
369
+ "snapshot:get:force:org",
370
+ "snapshot:get:org:force",
371
+ "force:org:get:snapshot",
372
+ "org:force:get:snapshot",
373
+ "org:get:force:snapshot",
374
+ "org:get:snapshot:force",
375
+ "force:get:org:snapshot",
376
+ "get:force:org:snapshot",
377
+ "get:org:force:snapshot",
378
+ "get:org:snapshot:force",
379
+ "force:get:snapshot:org",
380
+ "get:force:snapshot:org",
381
+ "get:snapshot:force:org",
382
+ "get:snapshot:org:force"
330
383
  ],
331
384
  "permutations": [
332
- "org:list:snapshot",
333
- "list:org:snapshot",
334
- "list:snapshot:org",
335
- "org:snapshot:list",
336
- "snapshot:org:list",
337
- "snapshot:list:org"
385
+ "org:get:snapshot",
386
+ "get:org:snapshot",
387
+ "get:snapshot:org",
388
+ "org:snapshot:get",
389
+ "snapshot:org:get",
390
+ "snapshot:get:org"
338
391
  ]
339
392
  },
340
393
  "org:delete:shape": {
@@ -596,15 +649,16 @@
596
649
  "snapshot:delete:org"
597
650
  ]
598
651
  },
599
- "org:create:shape": {
652
+ "org:list:shape": {
600
653
  "aliases": [
601
- "force:org:shape:create"
654
+ "force:org:shape:list"
602
655
  ],
603
656
  "args": {},
604
657
  "deprecateAliases": true,
605
- "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.",
658
+ "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.",
606
659
  "examples": [
607
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
660
+ "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
661
+ "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
608
662
  ],
609
663
  "flags": {
610
664
  "json": {
@@ -622,31 +676,12 @@
622
676
  "multiple": false,
623
677
  "type": "option"
624
678
  },
625
- "target-org": {
626
- "aliases": [
627
- "targetusername",
628
- "u"
629
- ],
630
- "char": "o",
631
- "deprecateAliases": true,
632
- "name": "target-org",
633
- "noCacheDefault": true,
634
- "required": true,
635
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
636
- "hasDynamicHelp": true,
637
- "multiple": false,
638
- "type": "option"
639
- },
640
- "api-version": {
641
- "aliases": [
642
- "apiversion"
643
- ],
644
- "deprecateAliases": true,
645
- "description": "Override the api version used for api requests made by this command",
646
- "name": "api-version",
647
- "hasDynamicHelp": false,
648
- "multiple": false,
649
- "type": "option"
679
+ "verbose": {
680
+ "hidden": true,
681
+ "name": "verbose",
682
+ "summary": "List more information about each org shape.",
683
+ "allowNo": false,
684
+ "type": "boolean"
650
685
  },
651
686
  "loglevel": {
652
687
  "deprecated": {
@@ -659,68 +694,68 @@
659
694
  "type": "option"
660
695
  }
661
696
  },
662
- "hasDynamicHelp": true,
697
+ "hasDynamicHelp": false,
663
698
  "hiddenAliases": [],
664
- "id": "org:create:shape",
699
+ "id": "org:list:shape",
665
700
  "pluginAlias": "@salesforce/plugin-signups",
666
701
  "pluginName": "@salesforce/plugin-signups",
667
702
  "pluginType": "core",
668
703
  "strict": true,
669
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
704
+ "summary": "List all org shapes you’ve created.",
670
705
  "enableJsonFlag": true,
671
706
  "isESM": true,
672
707
  "relativePath": [
673
708
  "lib",
674
709
  "commands",
675
710
  "org",
676
- "create",
711
+ "list",
677
712
  "shape.js"
678
713
  ],
679
714
  "aliasPermutations": [
680
- "force:org:shape:create",
681
- "org:force:shape:create",
682
- "org:shape:force:create",
683
- "org:shape:create:force",
684
- "force:shape:org:create",
685
- "shape:force:org:create",
686
- "shape:org:force:create",
687
- "shape:org:create:force",
688
- "force:shape:create:org",
689
- "shape:force:create:org",
690
- "shape:create:force:org",
691
- "shape:create:org:force",
692
- "force:org:create:shape",
693
- "org:force:create:shape",
694
- "org:create:force:shape",
695
- "org:create:shape:force",
696
- "force:create:org:shape",
697
- "create:force:org:shape",
698
- "create:org:force:shape",
699
- "create:org:shape:force",
700
- "force:create:shape:org",
701
- "create:force:shape:org",
702
- "create:shape:force:org",
703
- "create:shape:org:force"
715
+ "force:org:shape:list",
716
+ "org:force:shape:list",
717
+ "org:shape:force:list",
718
+ "org:shape:list:force",
719
+ "force:shape:org:list",
720
+ "shape:force:org:list",
721
+ "shape:org:force:list",
722
+ "shape:org:list:force",
723
+ "force:shape:list:org",
724
+ "shape:force:list:org",
725
+ "shape:list:force:org",
726
+ "shape:list:org:force",
727
+ "force:org:list:shape",
728
+ "org:force:list:shape",
729
+ "org:list:force:shape",
730
+ "org:list:shape:force",
731
+ "force:list:org:shape",
732
+ "list:force:org:shape",
733
+ "list:org:force:shape",
734
+ "list:org:shape:force",
735
+ "force:list:shape:org",
736
+ "list:force:shape:org",
737
+ "list:shape:force:org",
738
+ "list:shape:org:force"
704
739
  ],
705
740
  "permutations": [
706
- "org:create:shape",
707
- "create:org:shape",
708
- "create:shape:org",
709
- "org:shape:create",
710
- "shape:org:create",
711
- "shape:create:org"
741
+ "org:list:shape",
742
+ "list:org:shape",
743
+ "list:shape:org",
744
+ "org:shape:list",
745
+ "shape:org:list",
746
+ "shape:list:org"
712
747
  ]
713
748
  },
714
- "org:create:snapshot": {
749
+ "org:list:snapshot": {
715
750
  "aliases": [
716
- "force:org:snapshot:create"
751
+ "force:org:snapshot:list"
717
752
  ],
718
753
  "args": {},
719
754
  "deprecateAliases": true,
720
- "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.",
755
+ "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\".",
721
756
  "examples": [
722
- "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'",
723
- "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"
757
+ "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
758
+ "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
724
759
  ],
725
760
  "flags": {
726
761
  "json": {
@@ -772,95 +807,60 @@
772
807
  "hasDynamicHelp": false,
773
808
  "multiple": false,
774
809
  "type": "option"
775
- },
776
- "source-org": {
777
- "aliases": [
778
- "sourceorg"
779
- ],
780
- "char": "o",
781
- "deprecateAliases": true,
782
- "name": "source-org",
783
- "required": true,
784
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
785
- "hasDynamicHelp": false,
786
- "multiple": false,
787
- "type": "option"
788
- },
789
- "name": {
790
- "aliases": [
791
- "snapshotname"
792
- ],
793
- "char": "n",
794
- "deprecateAliases": true,
795
- "name": "name",
796
- "required": true,
797
- "summary": "Unique name of snapshot.",
798
- "hasDynamicHelp": false,
799
- "multiple": false,
800
- "type": "option"
801
- },
802
- "description": {
803
- "char": "d",
804
- "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.",
805
- "name": "description",
806
- "summary": "Description of snapshot.",
807
- "hasDynamicHelp": false,
808
- "multiple": false,
809
- "type": "option"
810
810
  }
811
811
  },
812
812
  "hasDynamicHelp": true,
813
813
  "hiddenAliases": [],
814
- "id": "org:create:snapshot",
814
+ "id": "org:list:snapshot",
815
815
  "pluginAlias": "@salesforce/plugin-signups",
816
816
  "pluginName": "@salesforce/plugin-signups",
817
817
  "pluginType": "core",
818
818
  "strict": true,
819
- "summary": "Create a snapshot of a scratch org.",
819
+ "summary": "List scratch org snapshots.",
820
820
  "enableJsonFlag": true,
821
821
  "isESM": true,
822
822
  "relativePath": [
823
823
  "lib",
824
824
  "commands",
825
825
  "org",
826
- "create",
826
+ "list",
827
827
  "snapshot.js"
828
828
  ],
829
829
  "aliasPermutations": [
830
- "force:org:snapshot:create",
831
- "org:force:snapshot:create",
832
- "org:snapshot:force:create",
833
- "org:snapshot:create:force",
834
- "force:snapshot:org:create",
835
- "snapshot:force:org:create",
836
- "snapshot:org:force:create",
837
- "snapshot:org:create:force",
838
- "force:snapshot:create:org",
839
- "snapshot:force:create:org",
840
- "snapshot:create:force:org",
841
- "snapshot:create:org:force",
842
- "force:org:create:snapshot",
843
- "org:force:create:snapshot",
844
- "org:create:force:snapshot",
845
- "org:create:snapshot:force",
846
- "force:create:org:snapshot",
847
- "create:force:org:snapshot",
848
- "create:org:force:snapshot",
849
- "create:org:snapshot:force",
850
- "force:create:snapshot:org",
851
- "create:force:snapshot:org",
852
- "create:snapshot:force:org",
853
- "create:snapshot:org:force"
830
+ "force:org:snapshot:list",
831
+ "org:force:snapshot:list",
832
+ "org:snapshot:force:list",
833
+ "org:snapshot:list:force",
834
+ "force:snapshot:org:list",
835
+ "snapshot:force:org:list",
836
+ "snapshot:org:force:list",
837
+ "snapshot:org:list:force",
838
+ "force:snapshot:list:org",
839
+ "snapshot:force:list:org",
840
+ "snapshot:list:force:org",
841
+ "snapshot:list:org:force",
842
+ "force:org:list:snapshot",
843
+ "org:force:list:snapshot",
844
+ "org:list:force:snapshot",
845
+ "org:list:snapshot:force",
846
+ "force:list:org:snapshot",
847
+ "list:force:org:snapshot",
848
+ "list:org:force:snapshot",
849
+ "list:org:snapshot:force",
850
+ "force:list:snapshot:org",
851
+ "list:force:snapshot:org",
852
+ "list:snapshot:force:org",
853
+ "list:snapshot:org:force"
854
854
  ],
855
855
  "permutations": [
856
- "org:create:snapshot",
857
- "create:org:snapshot",
858
- "create:snapshot:org",
859
- "org:snapshot:create",
860
- "snapshot:org:create",
861
- "snapshot:create:org"
856
+ "org:list:snapshot",
857
+ "list:org:snapshot",
858
+ "list:snapshot:org",
859
+ "org:snapshot:list",
860
+ "snapshot:org:list",
861
+ "snapshot:list:org"
862
862
  ]
863
863
  }
864
864
  },
865
- "version": "2.6.19"
865
+ "version": "2.6.20"
866
866
  }