@salesforce/plugin-signups 2.6.9 → 2.6.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,130 @@
1
1
  {
2
2
  "commands": {
3
+ "org:get:snapshot": {
4
+ "aliases": [
5
+ "force:org:snapshot:get"
6
+ ],
7
+ "args": {},
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\".",
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"
13
+ ],
14
+ "flags": {
15
+ "json": {
16
+ "description": "Format output as json.",
17
+ "helpGroup": "GLOBAL",
18
+ "name": "json",
19
+ "allowNo": false,
20
+ "type": "boolean"
21
+ },
22
+ "flags-dir": {
23
+ "helpGroup": "GLOBAL",
24
+ "name": "flags-dir",
25
+ "summary": "Import flag values from a directory.",
26
+ "hasDynamicHelp": false,
27
+ "multiple": false,
28
+ "type": "option"
29
+ },
30
+ "target-dev-hub": {
31
+ "aliases": [
32
+ "targetdevhubusername"
33
+ ],
34
+ "char": "v",
35
+ "deprecateAliases": true,
36
+ "name": "target-dev-hub",
37
+ "noCacheDefault": true,
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.",
40
+ "hasDynamicHelp": true,
41
+ "multiple": false,
42
+ "type": "option"
43
+ },
44
+ "api-version": {
45
+ "aliases": [
46
+ "apiversion"
47
+ ],
48
+ "deprecateAliases": true,
49
+ "description": "Override the api version used for api requests made by this command",
50
+ "name": "api-version",
51
+ "hasDynamicHelp": false,
52
+ "multiple": false,
53
+ "type": "option"
54
+ },
55
+ "loglevel": {
56
+ "deprecated": {
57
+ "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 `SFDX_LOG_LEVEL` environment variable."
58
+ },
59
+ "hidden": true,
60
+ "name": "loglevel",
61
+ "hasDynamicHelp": false,
62
+ "multiple": false,
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
+ }
75
+ },
76
+ "hasDynamicHelp": true,
77
+ "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
+ },
3
128
  "org:delete:shape": {
4
129
  "aliases": [
5
130
  "force:org:shape:delete"
@@ -259,16 +384,15 @@
259
384
  "snapshot:delete:org"
260
385
  ]
261
386
  },
262
- "org:get:snapshot": {
387
+ "org:create:shape": {
263
388
  "aliases": [
264
- "force:org:snapshot:get"
389
+ "force:org:shape:create"
265
390
  ],
266
391
  "args": {},
267
392
  "deprecateAliases": true,
268
- "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\".",
393
+ "description": "Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.\n\nRun \"<%= config.bin %> org list shape\" to view the available org shapes and their IDs.\n\nTo create a scratch org from an org shape, include the \"sourceOrg\" property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the \"<%= config.bin %> org create scratch\" command.",
269
394
  "examples": [
270
- "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
271
- "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"
395
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
272
396
  ],
273
397
  "flags": {
274
398
  "json": {
@@ -286,16 +410,17 @@
286
410
  "multiple": false,
287
411
  "type": "option"
288
412
  },
289
- "target-dev-hub": {
413
+ "target-org": {
290
414
  "aliases": [
291
- "targetdevhubusername"
415
+ "targetusername",
416
+ "u"
292
417
  ],
293
- "char": "v",
418
+ "char": "o",
294
419
  "deprecateAliases": true,
295
- "name": "target-dev-hub",
420
+ "name": "target-org",
296
421
  "noCacheDefault": true,
297
422
  "required": true,
298
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
423
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
299
424
  "hasDynamicHelp": true,
300
425
  "multiple": false,
301
426
  "type": "option"
@@ -320,80 +445,70 @@
320
445
  "hasDynamicHelp": false,
321
446
  "multiple": false,
322
447
  "type": "option"
323
- },
324
- "snapshot": {
325
- "char": "s",
326
- "description": "The IDs of scratch org snapshots start with 0Oo.",
327
- "name": "snapshot",
328
- "required": true,
329
- "summary": "Name or ID of snapshot to retrieve.",
330
- "hasDynamicHelp": false,
331
- "multiple": false,
332
- "type": "option"
333
448
  }
334
449
  },
335
450
  "hasDynamicHelp": true,
336
451
  "hiddenAliases": [],
337
- "id": "org:get:snapshot",
452
+ "id": "org:create:shape",
338
453
  "pluginAlias": "@salesforce/plugin-signups",
339
454
  "pluginName": "@salesforce/plugin-signups",
340
455
  "pluginType": "core",
341
456
  "strict": true,
342
- "summary": "Get details about a scratch org snapshot.",
457
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
343
458
  "enableJsonFlag": true,
344
459
  "isESM": true,
345
460
  "relativePath": [
346
461
  "lib",
347
462
  "commands",
348
463
  "org",
349
- "get",
350
- "snapshot.js"
464
+ "create",
465
+ "shape.js"
351
466
  ],
352
467
  "aliasPermutations": [
353
- "force:org:snapshot:get",
354
- "org:force:snapshot:get",
355
- "org:snapshot:force:get",
356
- "org:snapshot:get:force",
357
- "force:snapshot:org:get",
358
- "snapshot:force:org:get",
359
- "snapshot:org:force:get",
360
- "snapshot:org:get:force",
361
- "force:snapshot:get:org",
362
- "snapshot:force:get:org",
363
- "snapshot:get:force:org",
364
- "snapshot:get:org:force",
365
- "force:org:get:snapshot",
366
- "org:force:get:snapshot",
367
- "org:get:force:snapshot",
368
- "org:get:snapshot:force",
369
- "force:get:org:snapshot",
370
- "get:force:org:snapshot",
371
- "get:org:force:snapshot",
372
- "get:org:snapshot:force",
373
- "force:get:snapshot:org",
374
- "get:force:snapshot:org",
375
- "get:snapshot:force:org",
376
- "get:snapshot:org:force"
468
+ "force:org:shape:create",
469
+ "org:force:shape:create",
470
+ "org:shape:force:create",
471
+ "org:shape:create:force",
472
+ "force:shape:org:create",
473
+ "shape:force:org:create",
474
+ "shape:org:force:create",
475
+ "shape:org:create:force",
476
+ "force:shape:create:org",
477
+ "shape:force:create:org",
478
+ "shape:create:force:org",
479
+ "shape:create:org:force",
480
+ "force:org:create:shape",
481
+ "org:force:create:shape",
482
+ "org:create:force:shape",
483
+ "org:create:shape:force",
484
+ "force:create:org:shape",
485
+ "create:force:org:shape",
486
+ "create:org:force:shape",
487
+ "create:org:shape:force",
488
+ "force:create:shape:org",
489
+ "create:force:shape:org",
490
+ "create:shape:force:org",
491
+ "create:shape:org:force"
377
492
  ],
378
493
  "permutations": [
379
- "org:get:snapshot",
380
- "get:org:snapshot",
381
- "get:snapshot:org",
382
- "org:snapshot:get",
383
- "snapshot:org:get",
384
- "snapshot:get:org"
494
+ "org:create:shape",
495
+ "create:org:shape",
496
+ "create:shape:org",
497
+ "org:shape:create",
498
+ "shape:org:create",
499
+ "shape:create:org"
385
500
  ]
386
501
  },
387
- "org:list:shape": {
502
+ "org:create:snapshot": {
388
503
  "aliases": [
389
- "force:org:shape:list"
504
+ "force:org:snapshot:create"
390
505
  ],
391
506
  "args": {},
392
507
  "deprecateAliases": true,
393
- "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.",
508
+ "description": "A snapshot is a point-in-time copy of a scratch org. The copy is referenced by its unique name in a scratch org definition file.\n\nUse \"<%= config.bin %> org get snapshot\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" option (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"<%= config.bin %> org create scratch\" to create the scratch org.",
394
509
  "examples": [
395
- "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
396
- "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
510
+ "Create a snapshot called \"Dependencies\" using the source scratch org ID and your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --source-org 00Dxx0000000000 --name Dependencies --description 'Contains PackageA v1.1.0'",
511
+ "Create a snapshot called \"NightlyBranch\" using the source scratch org username and a Dev Hub org with alias NightlyDevHub:\n<%= config.bin %> <%= command.id %> --source-org myuser@myorg --name NightlyBranch --description 'Contains PkgA v2.1.0 and PkgB 3.3.0' --target-dev-hub NightlyDevHub"
397
512
  ],
398
513
  "flags": {
399
514
  "json": {
@@ -411,134 +526,72 @@
411
526
  "multiple": false,
412
527
  "type": "option"
413
528
  },
414
- "verbose": {
415
- "hidden": true,
416
- "name": "verbose",
417
- "summary": "List more information about each org shape.",
418
- "allowNo": false,
419
- "type": "boolean"
529
+ "target-dev-hub": {
530
+ "aliases": [
531
+ "targetdevhubusername"
532
+ ],
533
+ "char": "v",
534
+ "deprecateAliases": true,
535
+ "name": "target-dev-hub",
536
+ "noCacheDefault": true,
537
+ "required": true,
538
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
539
+ "hasDynamicHelp": true,
540
+ "multiple": false,
541
+ "type": "option"
420
542
  },
421
- "loglevel": {
422
- "deprecated": {
423
- "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 `SFDX_LOG_LEVEL` environment variable."
424
- },
425
- "hidden": true,
426
- "name": "loglevel",
543
+ "api-version": {
544
+ "aliases": [
545
+ "apiversion"
546
+ ],
547
+ "deprecateAliases": true,
548
+ "description": "Override the api version used for api requests made by this command",
549
+ "name": "api-version",
427
550
  "hasDynamicHelp": false,
428
551
  "multiple": false,
429
552
  "type": "option"
430
- }
431
- },
432
- "hasDynamicHelp": false,
433
- "hiddenAliases": [],
434
- "id": "org:list:shape",
435
- "pluginAlias": "@salesforce/plugin-signups",
436
- "pluginName": "@salesforce/plugin-signups",
437
- "pluginType": "core",
438
- "strict": true,
439
- "summary": "List all org shapes you’ve created.",
440
- "enableJsonFlag": true,
441
- "isESM": true,
442
- "relativePath": [
443
- "lib",
444
- "commands",
445
- "org",
446
- "list",
447
- "shape.js"
448
- ],
449
- "aliasPermutations": [
450
- "force:org:shape:list",
451
- "org:force:shape:list",
452
- "org:shape:force:list",
453
- "org:shape:list:force",
454
- "force:shape:org:list",
455
- "shape:force:org:list",
456
- "shape:org:force:list",
457
- "shape:org:list:force",
458
- "force:shape:list:org",
459
- "shape:force:list:org",
460
- "shape:list:force:org",
461
- "shape:list:org:force",
462
- "force:org:list:shape",
463
- "org:force:list:shape",
464
- "org:list:force:shape",
465
- "org:list:shape:force",
466
- "force:list:org:shape",
467
- "list:force:org:shape",
468
- "list:org:force:shape",
469
- "list:org:shape:force",
470
- "force:list:shape:org",
471
- "list:force:shape:org",
472
- "list:shape:force:org",
473
- "list:shape:org:force"
474
- ],
475
- "permutations": [
476
- "org:list:shape",
477
- "list:org:shape",
478
- "list:shape:org",
479
- "org:shape:list",
480
- "shape:org:list",
481
- "shape:list:org"
482
- ]
483
- },
484
- "org:list:snapshot": {
485
- "aliases": [
486
- "force:org:snapshot:list"
487
- ],
488
- "args": {},
489
- "deprecateAliases": true,
490
- "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\".",
491
- "examples": [
492
- "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
493
- "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
494
- ],
495
- "flags": {
496
- "json": {
497
- "description": "Format output as json.",
498
- "helpGroup": "GLOBAL",
499
- "name": "json",
500
- "allowNo": false,
501
- "type": "boolean"
502
553
  },
503
- "flags-dir": {
504
- "helpGroup": "GLOBAL",
505
- "name": "flags-dir",
506
- "summary": "Import flag values from a directory.",
554
+ "loglevel": {
555
+ "deprecated": {
556
+ "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 `SFDX_LOG_LEVEL` environment variable."
557
+ },
558
+ "hidden": true,
559
+ "name": "loglevel",
507
560
  "hasDynamicHelp": false,
508
561
  "multiple": false,
509
562
  "type": "option"
510
563
  },
511
- "target-dev-hub": {
564
+ "source-org": {
512
565
  "aliases": [
513
- "targetdevhubusername"
566
+ "sourceorg"
514
567
  ],
515
- "char": "v",
568
+ "char": "o",
516
569
  "deprecateAliases": true,
517
- "name": "target-dev-hub",
518
- "noCacheDefault": true,
570
+ "name": "source-org",
519
571
  "required": true,
520
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
521
- "hasDynamicHelp": true,
572
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
573
+ "hasDynamicHelp": false,
522
574
  "multiple": false,
523
575
  "type": "option"
524
576
  },
525
- "api-version": {
577
+ "name": {
526
578
  "aliases": [
527
- "apiversion"
579
+ "snapshotname"
528
580
  ],
581
+ "char": "n",
529
582
  "deprecateAliases": true,
530
- "description": "Override the api version used for api requests made by this command",
531
- "name": "api-version",
583
+ "name": "name",
584
+ "required": true,
585
+ "summary": "Unique name of snapshot.",
532
586
  "hasDynamicHelp": false,
533
587
  "multiple": false,
534
588
  "type": "option"
535
589
  },
536
- "loglevel": {
537
- "deprecated": {
538
- "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 `SFDX_LOG_LEVEL` environment variable."
539
- },
540
- "hidden": true,
541
- "name": "loglevel",
590
+ "description": {
591
+ "char": "d",
592
+ "description": "Use this description to document the contents of the snapshot. We suggest that you include a reference point, such as a version control system tag or commit ID.",
593
+ "name": "description",
594
+ "summary": "Description of snapshot.",
542
595
  "hasDynamicHelp": false,
543
596
  "multiple": false,
544
597
  "type": "option"
@@ -546,65 +599,66 @@
546
599
  },
547
600
  "hasDynamicHelp": true,
548
601
  "hiddenAliases": [],
549
- "id": "org:list:snapshot",
602
+ "id": "org:create:snapshot",
550
603
  "pluginAlias": "@salesforce/plugin-signups",
551
604
  "pluginName": "@salesforce/plugin-signups",
552
605
  "pluginType": "core",
553
606
  "strict": true,
554
- "summary": "List scratch org snapshots.",
607
+ "summary": "Create a snapshot of a scratch org.",
555
608
  "enableJsonFlag": true,
556
609
  "isESM": true,
557
610
  "relativePath": [
558
611
  "lib",
559
612
  "commands",
560
613
  "org",
561
- "list",
614
+ "create",
562
615
  "snapshot.js"
563
616
  ],
564
617
  "aliasPermutations": [
565
- "force:org:snapshot:list",
566
- "org:force:snapshot:list",
567
- "org:snapshot:force:list",
568
- "org:snapshot:list:force",
569
- "force:snapshot:org:list",
570
- "snapshot:force:org:list",
571
- "snapshot:org:force:list",
572
- "snapshot:org:list:force",
573
- "force:snapshot:list:org",
574
- "snapshot:force:list:org",
575
- "snapshot:list:force:org",
576
- "snapshot:list:org:force",
577
- "force:org:list:snapshot",
578
- "org:force:list:snapshot",
579
- "org:list:force:snapshot",
580
- "org:list:snapshot:force",
581
- "force:list:org:snapshot",
582
- "list:force:org:snapshot",
583
- "list:org:force:snapshot",
584
- "list:org:snapshot:force",
585
- "force:list:snapshot:org",
586
- "list:force:snapshot:org",
587
- "list:snapshot:force:org",
588
- "list:snapshot:org:force"
618
+ "force:org:snapshot:create",
619
+ "org:force:snapshot:create",
620
+ "org:snapshot:force:create",
621
+ "org:snapshot:create:force",
622
+ "force:snapshot:org:create",
623
+ "snapshot:force:org:create",
624
+ "snapshot:org:force:create",
625
+ "snapshot:org:create:force",
626
+ "force:snapshot:create:org",
627
+ "snapshot:force:create:org",
628
+ "snapshot:create:force:org",
629
+ "snapshot:create:org:force",
630
+ "force:org:create:snapshot",
631
+ "org:force:create:snapshot",
632
+ "org:create:force:snapshot",
633
+ "org:create:snapshot:force",
634
+ "force:create:org:snapshot",
635
+ "create:force:org:snapshot",
636
+ "create:org:force:snapshot",
637
+ "create:org:snapshot:force",
638
+ "force:create:snapshot:org",
639
+ "create:force:snapshot:org",
640
+ "create:snapshot:force:org",
641
+ "create:snapshot:org:force"
589
642
  ],
590
643
  "permutations": [
591
- "org:list:snapshot",
592
- "list:org:snapshot",
593
- "list:snapshot:org",
594
- "org:snapshot:list",
595
- "snapshot:org:list",
596
- "snapshot:list:org"
644
+ "org:create:snapshot",
645
+ "create:org:snapshot",
646
+ "create:snapshot:org",
647
+ "org:snapshot:create",
648
+ "snapshot:org:create",
649
+ "snapshot:create: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.9"
865
+ "version": "2.6.11"
866
866
  }