@salesforce/plugin-signups 2.0.15 → 2.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. package/README.md +7 -7
  2. package/oclif.lock +1210 -254
  3. package/oclif.manifest.json +312 -312
  4. package/package.json +10 -10
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "commands": {
3
- "org:create:shape": {
3
+ "org:delete:shape": {
4
4
  "aliases": [
5
- "force:org:shape:create"
5
+ "force:org:shape:delete"
6
6
  ],
7
7
  "args": {},
8
8
  "deprecateAliases": true,
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.",
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.",
10
10
  "examples": [
11
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
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"
12
13
  ],
13
14
  "flags": {
14
15
  "json": {
@@ -53,70 +54,81 @@
53
54
  "hasDynamicHelp": false,
54
55
  "multiple": false,
55
56
  "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"
56
68
  }
57
69
  },
58
70
  "hasDynamicHelp": true,
59
71
  "hiddenAliases": [],
60
- "id": "org:create:shape",
72
+ "id": "org:delete:shape",
61
73
  "pluginAlias": "@salesforce/plugin-signups",
62
74
  "pluginName": "@salesforce/plugin-signups",
63
75
  "pluginType": "core",
64
76
  "strict": true,
65
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
77
+ "summary": "Delete all org shapes for a target org.",
66
78
  "enableJsonFlag": true,
67
79
  "isESM": true,
68
80
  "relativePath": [
69
81
  "lib",
70
82
  "commands",
71
83
  "org",
72
- "create",
84
+ "delete",
73
85
  "shape.js"
74
86
  ],
75
87
  "aliasPermutations": [
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"
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"
100
112
  ],
101
113
  "permutations": [
102
- "org:create:shape",
103
- "create:org:shape",
104
- "create:shape:org",
105
- "org:shape:create",
106
- "shape:org:create",
107
- "shape:create:org"
114
+ "org:delete:shape",
115
+ "delete:org:shape",
116
+ "delete:shape:org",
117
+ "org:shape:delete",
118
+ "shape:org:delete",
119
+ "shape:delete:org"
108
120
  ]
109
121
  },
110
- "org:create:snapshot": {
122
+ "org:delete:snapshot": {
111
123
  "aliases": [
112
- "force:org:snapshot:create"
124
+ "force:org:snapshot:delete"
113
125
  ],
114
126
  "args": {},
115
127
  "deprecateAliases": true,
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.",
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.",
117
129
  "examples": [
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"
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"
120
132
  ],
121
133
  "flags": {
122
134
  "json": {
@@ -161,37 +173,12 @@
161
173
  "multiple": false,
162
174
  "type": "option"
163
175
  },
164
- "source-org": {
165
- "aliases": [
166
- "sourceorg"
167
- ],
168
- "char": "o",
169
- "deprecateAliases": true,
170
- "name": "source-org",
171
- "required": true,
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",
176
+ "snapshot": {
177
+ "char": "s",
178
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
179
+ "name": "snapshot",
184
180
  "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.",
181
+ "summary": "Name or ID of snapshot to delete.",
195
182
  "hasDynamicHelp": false,
196
183
  "multiple": false,
197
184
  "type": "option"
@@ -199,55 +186,55 @@
199
186
  },
200
187
  "hasDynamicHelp": true,
201
188
  "hiddenAliases": [],
202
- "id": "org:create:snapshot",
189
+ "id": "org:delete:snapshot",
203
190
  "pluginAlias": "@salesforce/plugin-signups",
204
191
  "pluginName": "@salesforce/plugin-signups",
205
192
  "pluginType": "core",
206
193
  "state": "beta",
207
194
  "strict": true,
208
- "summary": "Create a snapshot of a scratch org.",
195
+ "summary": "Delete a scratch org snapshot.",
209
196
  "enableJsonFlag": true,
210
197
  "isESM": true,
211
198
  "relativePath": [
212
199
  "lib",
213
200
  "commands",
214
201
  "org",
215
- "create",
202
+ "delete",
216
203
  "snapshot.js"
217
204
  ],
218
205
  "aliasPermutations": [
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"
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"
243
230
  ],
244
231
  "permutations": [
245
- "org:create:snapshot",
246
- "create:org:snapshot",
247
- "create:snapshot:org",
248
- "org:snapshot:create",
249
- "snapshot:org:create",
250
- "snapshot:create:org"
232
+ "org:delete:snapshot",
233
+ "delete:org:snapshot",
234
+ "delete:snapshot:org",
235
+ "org:snapshot:delete",
236
+ "snapshot:org:delete",
237
+ "snapshot:delete:org"
251
238
  ]
252
239
  },
253
240
  "org:get:snapshot": {
@@ -368,16 +355,16 @@
368
355
  "snapshot:get:org"
369
356
  ]
370
357
  },
371
- "org:delete:shape": {
358
+ "org:list:shape": {
372
359
  "aliases": [
373
- "force:org:shape:delete"
360
+ "force:org:shape:list"
374
361
  ],
375
362
  "args": {},
376
363
  "deprecateAliases": true,
377
- "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.",
364
+ "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.",
378
365
  "examples": [
379
- "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
380
- "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
366
+ "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
367
+ "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
381
368
  ],
382
369
  "flags": {
383
370
  "json": {
@@ -387,31 +374,12 @@
387
374
  "allowNo": false,
388
375
  "type": "boolean"
389
376
  },
390
- "target-org": {
391
- "aliases": [
392
- "targetusername",
393
- "u"
394
- ],
395
- "char": "o",
396
- "deprecateAliases": true,
397
- "name": "target-org",
398
- "noCacheDefault": true,
399
- "required": true,
400
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
401
- "hasDynamicHelp": true,
402
- "multiple": false,
403
- "type": "option"
404
- },
405
- "api-version": {
406
- "aliases": [
407
- "apiversion"
408
- ],
409
- "deprecateAliases": true,
410
- "description": "Override the api version used for api requests made by this command",
411
- "name": "api-version",
412
- "hasDynamicHelp": false,
413
- "multiple": false,
414
- "type": "option"
377
+ "verbose": {
378
+ "hidden": true,
379
+ "name": "verbose",
380
+ "summary": "List more information about each org shape.",
381
+ "allowNo": false,
382
+ "type": "boolean"
415
383
  },
416
384
  "loglevel": {
417
385
  "deprecated": {
@@ -422,81 +390,70 @@
422
390
  "hasDynamicHelp": false,
423
391
  "multiple": false,
424
392
  "type": "option"
425
- },
426
- "no-prompt": {
427
- "aliases": [
428
- "noprompt"
429
- ],
430
- "char": "p",
431
- "deprecateAliases": true,
432
- "name": "no-prompt",
433
- "summary": "Don't prompt for confirmation.",
434
- "allowNo": false,
435
- "type": "boolean"
436
393
  }
437
394
  },
438
- "hasDynamicHelp": true,
395
+ "hasDynamicHelp": false,
439
396
  "hiddenAliases": [],
440
- "id": "org:delete:shape",
397
+ "id": "org:list:shape",
441
398
  "pluginAlias": "@salesforce/plugin-signups",
442
399
  "pluginName": "@salesforce/plugin-signups",
443
400
  "pluginType": "core",
444
401
  "strict": true,
445
- "summary": "Delete all org shapes for a target org.",
402
+ "summary": "List all org shapes you’ve created.",
446
403
  "enableJsonFlag": true,
447
404
  "isESM": true,
448
405
  "relativePath": [
449
406
  "lib",
450
407
  "commands",
451
408
  "org",
452
- "delete",
409
+ "list",
453
410
  "shape.js"
454
411
  ],
455
412
  "aliasPermutations": [
456
- "force:org:shape:delete",
457
- "org:force:shape:delete",
458
- "org:shape:force:delete",
459
- "org:shape:delete:force",
460
- "force:shape:org:delete",
461
- "shape:force:org:delete",
462
- "shape:org:force:delete",
463
- "shape:org:delete:force",
464
- "force:shape:delete:org",
465
- "shape:force:delete:org",
466
- "shape:delete:force:org",
467
- "shape:delete:org:force",
468
- "force:org:delete:shape",
469
- "org:force:delete:shape",
470
- "org:delete:force:shape",
471
- "org:delete:shape:force",
472
- "force:delete:org:shape",
473
- "delete:force:org:shape",
474
- "delete:org:force:shape",
475
- "delete:org:shape:force",
476
- "force:delete:shape:org",
477
- "delete:force:shape:org",
478
- "delete:shape:force:org",
479
- "delete:shape:org:force"
413
+ "force:org:shape:list",
414
+ "org:force:shape:list",
415
+ "org:shape:force:list",
416
+ "org:shape:list:force",
417
+ "force:shape:org:list",
418
+ "shape:force:org:list",
419
+ "shape:org:force:list",
420
+ "shape:org:list:force",
421
+ "force:shape:list:org",
422
+ "shape:force:list:org",
423
+ "shape:list:force:org",
424
+ "shape:list:org:force",
425
+ "force:org:list:shape",
426
+ "org:force:list:shape",
427
+ "org:list:force:shape",
428
+ "org:list:shape:force",
429
+ "force:list:org:shape",
430
+ "list:force:org:shape",
431
+ "list:org:force:shape",
432
+ "list:org:shape:force",
433
+ "force:list:shape:org",
434
+ "list:force:shape:org",
435
+ "list:shape:force:org",
436
+ "list:shape:org:force"
480
437
  ],
481
438
  "permutations": [
482
- "org:delete:shape",
483
- "delete:org:shape",
484
- "delete:shape:org",
485
- "org:shape:delete",
486
- "shape:org:delete",
487
- "shape:delete:org"
439
+ "org:list:shape",
440
+ "list:org:shape",
441
+ "list:shape:org",
442
+ "org:shape:list",
443
+ "shape:org:list",
444
+ "shape:list:org"
488
445
  ]
489
446
  },
490
- "org:delete:snapshot": {
447
+ "org:list:snapshot": {
491
448
  "aliases": [
492
- "force:org:snapshot:delete"
449
+ "force:org:snapshot:list"
493
450
  ],
494
451
  "args": {},
495
452
  "deprecateAliases": true,
496
- "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.",
453
+ "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\".",
497
454
  "examples": [
498
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
499
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
455
+ "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
456
+ "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
500
457
  ],
501
458
  "flags": {
502
459
  "json": {
@@ -540,81 +497,70 @@
540
497
  "hasDynamicHelp": false,
541
498
  "multiple": false,
542
499
  "type": "option"
543
- },
544
- "snapshot": {
545
- "char": "s",
546
- "description": "The IDs of scratch org snapshots start with 0Oo.",
547
- "name": "snapshot",
548
- "required": true,
549
- "summary": "Name or ID of snapshot to delete.",
550
- "hasDynamicHelp": false,
551
- "multiple": false,
552
- "type": "option"
553
500
  }
554
501
  },
555
502
  "hasDynamicHelp": true,
556
503
  "hiddenAliases": [],
557
- "id": "org:delete:snapshot",
504
+ "id": "org:list:snapshot",
558
505
  "pluginAlias": "@salesforce/plugin-signups",
559
506
  "pluginName": "@salesforce/plugin-signups",
560
507
  "pluginType": "core",
561
508
  "state": "beta",
562
509
  "strict": true,
563
- "summary": "Delete a scratch org snapshot.",
510
+ "summary": "List scratch org snapshots.",
564
511
  "enableJsonFlag": true,
565
512
  "isESM": true,
566
513
  "relativePath": [
567
514
  "lib",
568
515
  "commands",
569
516
  "org",
570
- "delete",
517
+ "list",
571
518
  "snapshot.js"
572
519
  ],
573
520
  "aliasPermutations": [
574
- "force:org:snapshot:delete",
575
- "org:force:snapshot:delete",
576
- "org:snapshot:force:delete",
577
- "org:snapshot:delete:force",
578
- "force:snapshot:org:delete",
579
- "snapshot:force:org:delete",
580
- "snapshot:org:force:delete",
581
- "snapshot:org:delete:force",
582
- "force:snapshot:delete:org",
583
- "snapshot:force:delete:org",
584
- "snapshot:delete:force:org",
585
- "snapshot:delete:org:force",
586
- "force:org:delete:snapshot",
587
- "org:force:delete:snapshot",
588
- "org:delete:force:snapshot",
589
- "org:delete:snapshot:force",
590
- "force:delete:org:snapshot",
591
- "delete:force:org:snapshot",
592
- "delete:org:force:snapshot",
593
- "delete:org:snapshot:force",
594
- "force:delete:snapshot:org",
595
- "delete:force:snapshot:org",
596
- "delete:snapshot:force:org",
597
- "delete:snapshot:org:force"
521
+ "force:org:snapshot:list",
522
+ "org:force:snapshot:list",
523
+ "org:snapshot:force:list",
524
+ "org:snapshot:list:force",
525
+ "force:snapshot:org:list",
526
+ "snapshot:force:org:list",
527
+ "snapshot:org:force:list",
528
+ "snapshot:org:list:force",
529
+ "force:snapshot:list:org",
530
+ "snapshot:force:list:org",
531
+ "snapshot:list:force:org",
532
+ "snapshot:list:org:force",
533
+ "force:org:list:snapshot",
534
+ "org:force:list:snapshot",
535
+ "org:list:force:snapshot",
536
+ "org:list:snapshot:force",
537
+ "force:list:org:snapshot",
538
+ "list:force:org:snapshot",
539
+ "list:org:force:snapshot",
540
+ "list:org:snapshot:force",
541
+ "force:list:snapshot:org",
542
+ "list:force:snapshot:org",
543
+ "list:snapshot:force:org",
544
+ "list:snapshot:org:force"
598
545
  ],
599
546
  "permutations": [
600
- "org:delete:snapshot",
601
- "delete:org:snapshot",
602
- "delete:snapshot:org",
603
- "org:snapshot:delete",
604
- "snapshot:org:delete",
605
- "snapshot:delete:org"
547
+ "org:list:snapshot",
548
+ "list:org:snapshot",
549
+ "list:snapshot:org",
550
+ "org:snapshot:list",
551
+ "snapshot:org:list",
552
+ "snapshot:list:org"
606
553
  ]
607
554
  },
608
- "org:list:shape": {
555
+ "org:create:shape": {
609
556
  "aliases": [
610
- "force:org:shape:list"
557
+ "force:org:shape:create"
611
558
  ],
612
559
  "args": {},
613
560
  "deprecateAliases": true,
614
- "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.",
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.",
615
562
  "examples": [
616
- "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
617
- "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
563
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
618
564
  ],
619
565
  "flags": {
620
566
  "json": {
@@ -624,12 +570,31 @@
624
570
  "allowNo": false,
625
571
  "type": "boolean"
626
572
  },
627
- "verbose": {
628
- "hidden": true,
629
- "name": "verbose",
630
- "summary": "List more information about each org shape.",
631
- "allowNo": false,
632
- "type": "boolean"
573
+ "target-org": {
574
+ "aliases": [
575
+ "targetusername",
576
+ "u"
577
+ ],
578
+ "char": "o",
579
+ "deprecateAliases": true,
580
+ "name": "target-org",
581
+ "noCacheDefault": true,
582
+ "required": true,
583
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
584
+ "hasDynamicHelp": true,
585
+ "multiple": false,
586
+ "type": "option"
587
+ },
588
+ "api-version": {
589
+ "aliases": [
590
+ "apiversion"
591
+ ],
592
+ "deprecateAliases": true,
593
+ "description": "Override the api version used for api requests made by this command",
594
+ "name": "api-version",
595
+ "hasDynamicHelp": false,
596
+ "multiple": false,
597
+ "type": "option"
633
598
  },
634
599
  "loglevel": {
635
600
  "deprecated": {
@@ -642,68 +607,68 @@
642
607
  "type": "option"
643
608
  }
644
609
  },
645
- "hasDynamicHelp": false,
610
+ "hasDynamicHelp": true,
646
611
  "hiddenAliases": [],
647
- "id": "org:list:shape",
612
+ "id": "org:create:shape",
648
613
  "pluginAlias": "@salesforce/plugin-signups",
649
614
  "pluginName": "@salesforce/plugin-signups",
650
615
  "pluginType": "core",
651
616
  "strict": true,
652
- "summary": "List all org shapes you’ve created.",
617
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
653
618
  "enableJsonFlag": true,
654
619
  "isESM": true,
655
620
  "relativePath": [
656
621
  "lib",
657
622
  "commands",
658
623
  "org",
659
- "list",
624
+ "create",
660
625
  "shape.js"
661
626
  ],
662
627
  "aliasPermutations": [
663
- "force:org:shape:list",
664
- "org:force:shape:list",
665
- "org:shape:force:list",
666
- "org:shape:list:force",
667
- "force:shape:org:list",
668
- "shape:force:org:list",
669
- "shape:org:force:list",
670
- "shape:org:list:force",
671
- "force:shape:list:org",
672
- "shape:force:list:org",
673
- "shape:list:force:org",
674
- "shape:list:org:force",
675
- "force:org:list:shape",
676
- "org:force:list:shape",
677
- "org:list:force:shape",
678
- "org:list:shape:force",
679
- "force:list:org:shape",
680
- "list:force:org:shape",
681
- "list:org:force:shape",
682
- "list:org:shape:force",
683
- "force:list:shape:org",
684
- "list:force:shape:org",
685
- "list:shape:force:org",
686
- "list:shape:org:force"
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"
687
652
  ],
688
653
  "permutations": [
689
- "org:list:shape",
690
- "list:org:shape",
691
- "list:shape:org",
692
- "org:shape:list",
693
- "shape:org:list",
694
- "shape:list:org"
654
+ "org:create:shape",
655
+ "create:org:shape",
656
+ "create:shape:org",
657
+ "org:shape:create",
658
+ "shape:org:create",
659
+ "shape:create:org"
695
660
  ]
696
661
  },
697
- "org:list:snapshot": {
662
+ "org:create:snapshot": {
698
663
  "aliases": [
699
- "force:org:snapshot:list"
664
+ "force:org:snapshot:create"
700
665
  ],
701
666
  "args": {},
702
667
  "deprecateAliases": true,
703
- "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\".",
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.",
704
669
  "examples": [
705
- "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
706
- "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
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"
707
672
  ],
708
673
  "flags": {
709
674
  "json": {
@@ -747,61 +712,96 @@
747
712
  "hasDynamicHelp": false,
748
713
  "multiple": false,
749
714
  "type": "option"
715
+ },
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",
736
+ "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.",
747
+ "hasDynamicHelp": false,
748
+ "multiple": false,
749
+ "type": "option"
750
750
  }
751
751
  },
752
752
  "hasDynamicHelp": true,
753
753
  "hiddenAliases": [],
754
- "id": "org:list:snapshot",
754
+ "id": "org:create: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": "List scratch org snapshots.",
760
+ "summary": "Create a snapshot of a scratch org.",
761
761
  "enableJsonFlag": true,
762
762
  "isESM": true,
763
763
  "relativePath": [
764
764
  "lib",
765
765
  "commands",
766
766
  "org",
767
- "list",
767
+ "create",
768
768
  "snapshot.js"
769
769
  ],
770
770
  "aliasPermutations": [
771
- "force:org:snapshot:list",
772
- "org:force:snapshot:list",
773
- "org:snapshot:force:list",
774
- "org:snapshot:list:force",
775
- "force:snapshot:org:list",
776
- "snapshot:force:org:list",
777
- "snapshot:org:force:list",
778
- "snapshot:org:list:force",
779
- "force:snapshot:list:org",
780
- "snapshot:force:list:org",
781
- "snapshot:list:force:org",
782
- "snapshot:list:org:force",
783
- "force:org:list:snapshot",
784
- "org:force:list:snapshot",
785
- "org:list:force:snapshot",
786
- "org:list:snapshot:force",
787
- "force:list:org:snapshot",
788
- "list:force:org:snapshot",
789
- "list:org:force:snapshot",
790
- "list:org:snapshot:force",
791
- "force:list:snapshot:org",
792
- "list:force:snapshot:org",
793
- "list:snapshot:force:org",
794
- "list:snapshot:org:force"
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"
795
795
  ],
796
796
  "permutations": [
797
- "org:list:snapshot",
798
- "list:org:snapshot",
799
- "list:snapshot:org",
800
- "org:snapshot:list",
801
- "snapshot:org:list",
802
- "snapshot:list:org"
797
+ "org:create:snapshot",
798
+ "create:org:snapshot",
799
+ "create:snapshot:org",
800
+ "org:snapshot:create",
801
+ "snapshot:org:create",
802
+ "snapshot:create:org"
803
803
  ]
804
804
  }
805
805
  },
806
- "version": "2.0.15"
806
+ "version": "2.0.17"
807
807
  }