@salesforce/plugin-signups 3.0.12 → 3.0.14

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/3.0.12/src/commands/org/create/shape.ts)_
126
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/3.0.14/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/3.0.12/src/commands/org/create/snapshot.ts)_
182
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/3.0.14/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/3.0.12/src/commands/org/delete/shape.ts)_
222
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/3.0.14/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/3.0.12/src/commands/org/delete/snapshot.ts)_
267
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/3.0.14/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/3.0.12/src/commands/org/get/snapshot.ts)_
314
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/3.0.14/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/3.0.12/src/commands/org/list/shape.ts)_
347
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/3.0.14/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/3.0.12/src/commands/org/list/snapshot.ts)_
389
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/3.0.14/src/commands/org/list/snapshot.ts)_
390
390
 
391
391
  <!-- commandsstop -->
@@ -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,177 +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",
79
- "pluginAlias": "@salesforce/plugin-signups",
80
- "pluginName": "@salesforce/plugin-signups",
81
- "pluginType": "core",
82
- "strict": true,
83
- "summary": "Get details about a scratch org snapshot.",
84
- "enableJsonFlag": true,
85
- "isESM": true,
86
- "relativePath": [
87
- "lib",
88
- "commands",
89
- "org",
90
- "get",
91
- "snapshot.js"
92
- ],
93
- "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"
118
- ],
119
- "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"
126
- ]
127
- },
128
- "org:list:shape": {
129
- "aliases": [
130
- "force:org:shape:list"
131
- ],
132
- "args": {},
133
- "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.",
135
- "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"
138
- ],
139
- "flags": {
140
- "json": {
141
- "description": "Format output as json.",
142
- "helpGroup": "GLOBAL",
143
- "name": "json",
144
- "allowNo": false,
145
- "type": "boolean"
146
- },
147
- "flags-dir": {
148
- "helpGroup": "GLOBAL",
149
- "name": "flags-dir",
150
- "summary": "Import flag values from a directory.",
151
- "hasDynamicHelp": false,
152
- "multiple": false,
153
- "type": "option"
154
- },
155
- "verbose": {
156
- "hidden": true,
157
- "name": "verbose",
158
- "summary": "List more information about each org shape.",
159
- "allowNo": false,
160
- "type": "boolean"
161
- },
162
- "loglevel": {
163
- "deprecated": {
164
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
165
- },
166
- "hidden": true,
167
- "name": "loglevel",
168
- "hasDynamicHelp": false,
169
- "multiple": false,
170
- "type": "option"
171
- }
172
- },
173
- "hasDynamicHelp": false,
174
- "hiddenAliases": [],
175
- "id": "org:list:shape",
68
+ "id": "org:create:shape",
176
69
  "pluginAlias": "@salesforce/plugin-signups",
177
70
  "pluginName": "@salesforce/plugin-signups",
178
71
  "pluginType": "core",
179
72
  "strict": true,
180
- "summary": "List all org shapes you’ve created.",
73
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
181
74
  "enableJsonFlag": true,
182
75
  "isESM": true,
183
76
  "relativePath": [
184
77
  "lib",
185
78
  "commands",
186
79
  "org",
187
- "list",
80
+ "create",
188
81
  "shape.js"
189
82
  ],
190
83
  "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"
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"
215
108
  ],
216
109
  "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"
110
+ "org:create:shape",
111
+ "create:org:shape",
112
+ "create:shape:org",
113
+ "org:shape:create",
114
+ "shape:org:create",
115
+ "shape:create:org"
223
116
  ]
224
117
  },
225
- "org:list:snapshot": {
118
+ "org:create:snapshot": {
226
119
  "aliases": [
227
- "force:org:snapshot:list"
120
+ "force:org:snapshot:create"
228
121
  ],
229
122
  "args": {},
230
123
  "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\".",
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.",
232
125
  "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"
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"
235
128
  ],
236
129
  "flags": {
237
130
  "json": {
@@ -283,58 +176,93 @@
283
176
  "hasDynamicHelp": false,
284
177
  "multiple": false,
285
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"
286
214
  }
287
215
  },
288
216
  "hasDynamicHelp": true,
289
217
  "hiddenAliases": [],
290
- "id": "org:list:snapshot",
218
+ "id": "org:create:snapshot",
291
219
  "pluginAlias": "@salesforce/plugin-signups",
292
220
  "pluginName": "@salesforce/plugin-signups",
293
221
  "pluginType": "core",
294
222
  "strict": true,
295
- "summary": "List scratch org snapshots.",
223
+ "summary": "Create a snapshot of a scratch org.",
296
224
  "enableJsonFlag": true,
297
225
  "isESM": true,
298
226
  "relativePath": [
299
227
  "lib",
300
228
  "commands",
301
229
  "org",
302
- "list",
230
+ "create",
303
231
  "snapshot.js"
304
232
  ],
305
233
  "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"
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"
330
258
  ],
331
259
  "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"
260
+ "org:create:snapshot",
261
+ "create:org:snapshot",
262
+ "create:snapshot:org",
263
+ "org:snapshot:create",
264
+ "snapshot:org:create",
265
+ "snapshot:create:org"
338
266
  ]
339
267
  },
340
268
  "org:delete:shape": {
@@ -596,15 +524,16 @@
596
524
  "snapshot:delete:org"
597
525
  ]
598
526
  },
599
- "org:create:shape": {
527
+ "org:get:snapshot": {
600
528
  "aliases": [
601
- "force:org:shape:create"
529
+ "force:org:snapshot:get"
602
530
  ],
603
531
  "args": {},
604
532
  "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.",
533
+ "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\".",
606
534
  "examples": [
607
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
535
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
536
+ "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"
608
537
  ],
609
538
  "flags": {
610
539
  "json": {
@@ -622,17 +551,16 @@
622
551
  "multiple": false,
623
552
  "type": "option"
624
553
  },
625
- "target-org": {
554
+ "target-dev-hub": {
626
555
  "aliases": [
627
- "targetusername",
628
- "u"
556
+ "targetdevhubusername"
629
557
  ],
630
- "char": "o",
558
+ "char": "v",
631
559
  "deprecateAliases": true,
632
- "name": "target-org",
560
+ "name": "target-dev-hub",
633
561
  "noCacheDefault": true,
634
562
  "required": true,
635
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
563
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
636
564
  "hasDynamicHelp": true,
637
565
  "multiple": false,
638
566
  "type": "option"
@@ -657,70 +585,177 @@
657
585
  "hasDynamicHelp": false,
658
586
  "multiple": false,
659
587
  "type": "option"
588
+ },
589
+ "snapshot": {
590
+ "char": "s",
591
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
592
+ "name": "snapshot",
593
+ "required": true,
594
+ "summary": "Name or ID of snapshot to retrieve.",
595
+ "hasDynamicHelp": false,
596
+ "multiple": false,
597
+ "type": "option"
660
598
  }
661
599
  },
662
600
  "hasDynamicHelp": true,
663
601
  "hiddenAliases": [],
664
- "id": "org:create:shape",
602
+ "id": "org:get:snapshot",
665
603
  "pluginAlias": "@salesforce/plugin-signups",
666
604
  "pluginName": "@salesforce/plugin-signups",
667
605
  "pluginType": "core",
668
606
  "strict": true,
669
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
607
+ "summary": "Get details about a scratch org snapshot.",
670
608
  "enableJsonFlag": true,
671
609
  "isESM": true,
672
610
  "relativePath": [
673
611
  "lib",
674
612
  "commands",
675
613
  "org",
676
- "create",
614
+ "get",
615
+ "snapshot.js"
616
+ ],
617
+ "aliasPermutations": [
618
+ "force:org:snapshot:get",
619
+ "org:force:snapshot:get",
620
+ "org:snapshot:force:get",
621
+ "org:snapshot:get:force",
622
+ "force:snapshot:org:get",
623
+ "snapshot:force:org:get",
624
+ "snapshot:org:force:get",
625
+ "snapshot:org:get:force",
626
+ "force:snapshot:get:org",
627
+ "snapshot:force:get:org",
628
+ "snapshot:get:force:org",
629
+ "snapshot:get:org:force",
630
+ "force:org:get:snapshot",
631
+ "org:force:get:snapshot",
632
+ "org:get:force:snapshot",
633
+ "org:get:snapshot:force",
634
+ "force:get:org:snapshot",
635
+ "get:force:org:snapshot",
636
+ "get:org:force:snapshot",
637
+ "get:org:snapshot:force",
638
+ "force:get:snapshot:org",
639
+ "get:force:snapshot:org",
640
+ "get:snapshot:force:org",
641
+ "get:snapshot:org:force"
642
+ ],
643
+ "permutations": [
644
+ "org:get:snapshot",
645
+ "get:org:snapshot",
646
+ "get:snapshot:org",
647
+ "org:snapshot:get",
648
+ "snapshot:org:get",
649
+ "snapshot:get:org"
650
+ ]
651
+ },
652
+ "org:list:shape": {
653
+ "aliases": [
654
+ "force:org:shape:list"
655
+ ],
656
+ "args": {},
657
+ "deprecateAliases": true,
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.",
659
+ "examples": [
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"
662
+ ],
663
+ "flags": {
664
+ "json": {
665
+ "description": "Format output as json.",
666
+ "helpGroup": "GLOBAL",
667
+ "name": "json",
668
+ "allowNo": false,
669
+ "type": "boolean"
670
+ },
671
+ "flags-dir": {
672
+ "helpGroup": "GLOBAL",
673
+ "name": "flags-dir",
674
+ "summary": "Import flag values from a directory.",
675
+ "hasDynamicHelp": false,
676
+ "multiple": false,
677
+ "type": "option"
678
+ },
679
+ "verbose": {
680
+ "hidden": true,
681
+ "name": "verbose",
682
+ "summary": "List more information about each org shape.",
683
+ "allowNo": false,
684
+ "type": "boolean"
685
+ },
686
+ "loglevel": {
687
+ "deprecated": {
688
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
689
+ },
690
+ "hidden": true,
691
+ "name": "loglevel",
692
+ "hasDynamicHelp": false,
693
+ "multiple": false,
694
+ "type": "option"
695
+ }
696
+ },
697
+ "hasDynamicHelp": false,
698
+ "hiddenAliases": [],
699
+ "id": "org:list:shape",
700
+ "pluginAlias": "@salesforce/plugin-signups",
701
+ "pluginName": "@salesforce/plugin-signups",
702
+ "pluginType": "core",
703
+ "strict": true,
704
+ "summary": "List all org shapes you’ve created.",
705
+ "enableJsonFlag": true,
706
+ "isESM": true,
707
+ "relativePath": [
708
+ "lib",
709
+ "commands",
710
+ "org",
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": "3.0.12"
865
+ "version": "3.0.14"
866
866
  }
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "3.0.12",
4
+ "version": "3.0.14",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^5.1.2",
9
9
  "@salesforce/core": "^9.3.0",
10
- "@salesforce/kit": "^4.0.1",
11
- "@salesforce/sf-plugins-core": "^13.0.7",
10
+ "@salesforce/kit": "^4.0.8",
11
+ "@salesforce/sf-plugins-core": "^13.0.8",
12
12
  "change-case": "^5.4.4"
13
13
  },
14
14
  "devDependencies": {
15
- "@oclif/plugin-command-snapshot": "^6.0.5",
16
- "@salesforce/cli-plugins-testkit": "^5.3.75",
15
+ "@oclif/plugin-command-snapshot": "^6.0.7",
16
+ "@salesforce/cli-plugins-testkit": "^5.3.81",
17
17
  "@salesforce/dev-scripts": "^15.0.0",
18
18
  "@salesforce/plugin-command-reference": "^3.1.134",
19
19
  "@salesforce/ts-types": "^3.2.0",
@@ -27,8 +27,8 @@
27
27
  "chai-string": "^1.6.0",
28
28
  "eslint": "^10.12.0",
29
29
  "eslint-config-salesforce-typescript": "^6.0.2",
30
- "eslint-plugin-sf-plugin": "^3.0.0",
31
- "jsforce": "^3.10.29",
30
+ "eslint-plugin-sf-plugin": "^3.0.4",
31
+ "jsforce": "^3.13.1",
32
32
  "oclif": "^5.0.2",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "^6.0.0"
@@ -227,7 +227,7 @@
227
227
  "exports": "./lib/index.js",
228
228
  "type": "module",
229
229
  "sfdx": {
230
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/3.0.12.crt",
231
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/3.0.12.sig"
230
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/3.0.14.crt",
231
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/3.0.14.sig"
232
232
  }
233
233
  }