@salesforce/cli 2.71.3 → 2.71.4

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.
@@ -3627,15 +3627,16 @@
3627
3627
  },
3628
3628
  "args": {}
3629
3629
  },
3630
- "org:create:shape": {
3630
+ "org:delete:shape": {
3631
3631
  "aliases": [
3632
- "force:org:shape:create"
3632
+ "force:org:shape:delete"
3633
3633
  ],
3634
3634
  "args": {},
3635
3635
  "deprecateAliases": true,
3636
- "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.",
3636
+ "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.",
3637
3637
  "examples": [
3638
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
3638
+ "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
3639
+ "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
3639
3640
  ],
3640
3641
  "flags": {
3641
3642
  "json": {
@@ -3688,70 +3689,81 @@
3688
3689
  "hasDynamicHelp": false,
3689
3690
  "multiple": false,
3690
3691
  "type": "option"
3692
+ },
3693
+ "no-prompt": {
3694
+ "aliases": [
3695
+ "noprompt"
3696
+ ],
3697
+ "char": "p",
3698
+ "deprecateAliases": true,
3699
+ "name": "no-prompt",
3700
+ "summary": "Don't prompt for confirmation.",
3701
+ "allowNo": false,
3702
+ "type": "boolean"
3691
3703
  }
3692
3704
  },
3693
3705
  "hasDynamicHelp": true,
3694
3706
  "hiddenAliases": [],
3695
- "id": "org:create:shape",
3707
+ "id": "org:delete:shape",
3696
3708
  "pluginAlias": "@salesforce/plugin-signups",
3697
3709
  "pluginName": "@salesforce/plugin-signups",
3698
3710
  "pluginType": "jit",
3699
3711
  "strict": true,
3700
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
3712
+ "summary": "Delete all org shapes for a target org.",
3701
3713
  "enableJsonFlag": true,
3702
3714
  "isESM": true,
3703
3715
  "relativePath": [
3704
3716
  "lib",
3705
3717
  "commands",
3706
3718
  "org",
3707
- "create",
3719
+ "delete",
3708
3720
  "shape.js"
3709
3721
  ],
3710
3722
  "aliasPermutations": [
3711
- "force:org:shape:create",
3712
- "org:force:shape:create",
3713
- "org:shape:force:create",
3714
- "org:shape:create:force",
3715
- "force:shape:org:create",
3716
- "shape:force:org:create",
3717
- "shape:org:force:create",
3718
- "shape:org:create:force",
3719
- "force:shape:create:org",
3720
- "shape:force:create:org",
3721
- "shape:create:force:org",
3722
- "shape:create:org:force",
3723
- "force:org:create:shape",
3724
- "org:force:create:shape",
3725
- "org:create:force:shape",
3726
- "org:create:shape:force",
3727
- "force:create:org:shape",
3728
- "create:force:org:shape",
3729
- "create:org:force:shape",
3730
- "create:org:shape:force",
3731
- "force:create:shape:org",
3732
- "create:force:shape:org",
3733
- "create:shape:force:org",
3734
- "create:shape:org:force"
3723
+ "force:org:shape:delete",
3724
+ "org:force:shape:delete",
3725
+ "org:shape:force:delete",
3726
+ "org:shape:delete:force",
3727
+ "force:shape:org:delete",
3728
+ "shape:force:org:delete",
3729
+ "shape:org:force:delete",
3730
+ "shape:org:delete:force",
3731
+ "force:shape:delete:org",
3732
+ "shape:force:delete:org",
3733
+ "shape:delete:force:org",
3734
+ "shape:delete:org:force",
3735
+ "force:org:delete:shape",
3736
+ "org:force:delete:shape",
3737
+ "org:delete:force:shape",
3738
+ "org:delete:shape:force",
3739
+ "force:delete:org:shape",
3740
+ "delete:force:org:shape",
3741
+ "delete:org:force:shape",
3742
+ "delete:org:shape:force",
3743
+ "force:delete:shape:org",
3744
+ "delete:force:shape:org",
3745
+ "delete:shape:force:org",
3746
+ "delete:shape:org:force"
3735
3747
  ],
3736
3748
  "permutations": [
3737
- "org:create:shape",
3738
- "create:org:shape",
3739
- "create:shape:org",
3740
- "org:shape:create",
3741
- "shape:org:create",
3742
- "shape:create:org"
3749
+ "org:delete:shape",
3750
+ "delete:org:shape",
3751
+ "delete:shape:org",
3752
+ "org:shape:delete",
3753
+ "shape:org:delete",
3754
+ "shape:delete:org"
3743
3755
  ]
3744
3756
  },
3745
- "org:create:snapshot": {
3757
+ "org:delete:snapshot": {
3746
3758
  "aliases": [
3747
- "force:org:snapshot:create"
3759
+ "force:org:snapshot:delete"
3748
3760
  ],
3749
3761
  "args": {},
3750
3762
  "deprecateAliases": true,
3751
- "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.",
3763
+ "description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
3752
3764
  "examples": [
3753
- "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'",
3754
- "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"
3765
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
3766
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
3755
3767
  ],
3756
3768
  "flags": {
3757
3769
  "json": {
@@ -3804,104 +3816,86 @@
3804
3816
  "multiple": false,
3805
3817
  "type": "option"
3806
3818
  },
3807
- "source-org": {
3808
- "aliases": [
3809
- "sourceorg"
3810
- ],
3811
- "char": "o",
3812
- "deprecateAliases": true,
3813
- "name": "source-org",
3814
- "required": true,
3815
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
3816
- "hasDynamicHelp": false,
3817
- "multiple": false,
3818
- "type": "option"
3819
- },
3820
- "name": {
3821
- "aliases": [
3822
- "snapshotname"
3823
- ],
3824
- "char": "n",
3825
- "deprecateAliases": true,
3826
- "name": "name",
3819
+ "snapshot": {
3820
+ "char": "s",
3821
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
3822
+ "name": "snapshot",
3827
3823
  "required": true,
3828
- "summary": "Unique name of snapshot.",
3824
+ "summary": "Name or ID of snapshot to delete.",
3829
3825
  "hasDynamicHelp": false,
3830
3826
  "multiple": false,
3831
3827
  "type": "option"
3832
3828
  },
3833
- "description": {
3834
- "char": "d",
3835
- "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.",
3836
- "name": "description",
3837
- "summary": "Description of snapshot.",
3838
- "hasDynamicHelp": false,
3839
- "multiple": false,
3840
- "type": "option"
3829
+ "no-prompt": {
3830
+ "char": "p",
3831
+ "name": "no-prompt",
3832
+ "summary": "Don't prompt the user to confirm the deletion.",
3833
+ "allowNo": false,
3834
+ "type": "boolean"
3841
3835
  }
3842
3836
  },
3843
3837
  "hasDynamicHelp": true,
3844
3838
  "hiddenAliases": [],
3845
- "id": "org:create:snapshot",
3839
+ "id": "org:delete:snapshot",
3846
3840
  "pluginAlias": "@salesforce/plugin-signups",
3847
3841
  "pluginName": "@salesforce/plugin-signups",
3848
3842
  "pluginType": "jit",
3849
3843
  "strict": true,
3850
- "summary": "Create a snapshot of a scratch org.",
3844
+ "summary": "Delete a scratch org snapshot.",
3851
3845
  "enableJsonFlag": true,
3852
3846
  "isESM": true,
3853
3847
  "relativePath": [
3854
3848
  "lib",
3855
3849
  "commands",
3856
3850
  "org",
3857
- "create",
3851
+ "delete",
3858
3852
  "snapshot.js"
3859
3853
  ],
3860
3854
  "aliasPermutations": [
3861
- "force:org:snapshot:create",
3862
- "org:force:snapshot:create",
3863
- "org:snapshot:force:create",
3864
- "org:snapshot:create:force",
3865
- "force:snapshot:org:create",
3866
- "snapshot:force:org:create",
3867
- "snapshot:org:force:create",
3868
- "snapshot:org:create:force",
3869
- "force:snapshot:create:org",
3870
- "snapshot:force:create:org",
3871
- "snapshot:create:force:org",
3872
- "snapshot:create:org:force",
3873
- "force:org:create:snapshot",
3874
- "org:force:create:snapshot",
3875
- "org:create:force:snapshot",
3876
- "org:create:snapshot:force",
3877
- "force:create:org:snapshot",
3878
- "create:force:org:snapshot",
3879
- "create:org:force:snapshot",
3880
- "create:org:snapshot:force",
3881
- "force:create:snapshot:org",
3882
- "create:force:snapshot:org",
3883
- "create:snapshot:force:org",
3884
- "create:snapshot:org:force"
3855
+ "force:org:snapshot:delete",
3856
+ "org:force:snapshot:delete",
3857
+ "org:snapshot:force:delete",
3858
+ "org:snapshot:delete:force",
3859
+ "force:snapshot:org:delete",
3860
+ "snapshot:force:org:delete",
3861
+ "snapshot:org:force:delete",
3862
+ "snapshot:org:delete:force",
3863
+ "force:snapshot:delete:org",
3864
+ "snapshot:force:delete:org",
3865
+ "snapshot:delete:force:org",
3866
+ "snapshot:delete:org:force",
3867
+ "force:org:delete:snapshot",
3868
+ "org:force:delete:snapshot",
3869
+ "org:delete:force:snapshot",
3870
+ "org:delete:snapshot:force",
3871
+ "force:delete:org:snapshot",
3872
+ "delete:force:org:snapshot",
3873
+ "delete:org:force:snapshot",
3874
+ "delete:org:snapshot:force",
3875
+ "force:delete:snapshot:org",
3876
+ "delete:force:snapshot:org",
3877
+ "delete:snapshot:force:org",
3878
+ "delete:snapshot:org:force"
3885
3879
  ],
3886
3880
  "permutations": [
3887
- "org:create:snapshot",
3888
- "create:org:snapshot",
3889
- "create:snapshot:org",
3890
- "org:snapshot:create",
3891
- "snapshot:org:create",
3892
- "snapshot:create:org"
3881
+ "org:delete:snapshot",
3882
+ "delete:org:snapshot",
3883
+ "delete:snapshot:org",
3884
+ "org:snapshot:delete",
3885
+ "snapshot:org:delete",
3886
+ "snapshot:delete:org"
3893
3887
  ]
3894
3888
  },
3895
- "org:delete:shape": {
3889
+ "org:get:snapshot": {
3896
3890
  "aliases": [
3897
- "force:org:shape:delete"
3891
+ "force:org:snapshot:get"
3898
3892
  ],
3899
3893
  "args": {},
3900
3894
  "deprecateAliases": true,
3901
- "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.",
3895
+ "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\".",
3902
3896
  "examples": [
3903
- "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
3904
- "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
3897
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
3898
+ "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"
3905
3899
  ],
3906
3900
  "flags": {
3907
3901
  "json": {
@@ -3919,17 +3913,16 @@
3919
3913
  "multiple": false,
3920
3914
  "type": "option"
3921
3915
  },
3922
- "target-org": {
3916
+ "target-dev-hub": {
3923
3917
  "aliases": [
3924
- "targetusername",
3925
- "u"
3918
+ "targetdevhubusername"
3926
3919
  ],
3927
- "char": "o",
3920
+ "char": "v",
3928
3921
  "deprecateAliases": true,
3929
- "name": "target-org",
3922
+ "name": "target-dev-hub",
3930
3923
  "noCacheDefault": true,
3931
3924
  "required": true,
3932
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3925
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
3933
3926
  "hasDynamicHelp": true,
3934
3927
  "multiple": false,
3935
3928
  "type": "option"
@@ -3955,80 +3948,79 @@
3955
3948
  "multiple": false,
3956
3949
  "type": "option"
3957
3950
  },
3958
- "no-prompt": {
3959
- "aliases": [
3960
- "noprompt"
3961
- ],
3962
- "char": "p",
3963
- "deprecateAliases": true,
3964
- "name": "no-prompt",
3965
- "summary": "Don't prompt for confirmation.",
3966
- "allowNo": false,
3967
- "type": "boolean"
3951
+ "snapshot": {
3952
+ "char": "s",
3953
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
3954
+ "name": "snapshot",
3955
+ "required": true,
3956
+ "summary": "Name or ID of snapshot to retrieve.",
3957
+ "hasDynamicHelp": false,
3958
+ "multiple": false,
3959
+ "type": "option"
3968
3960
  }
3969
3961
  },
3970
3962
  "hasDynamicHelp": true,
3971
3963
  "hiddenAliases": [],
3972
- "id": "org:delete:shape",
3964
+ "id": "org:get:snapshot",
3973
3965
  "pluginAlias": "@salesforce/plugin-signups",
3974
3966
  "pluginName": "@salesforce/plugin-signups",
3975
3967
  "pluginType": "jit",
3976
3968
  "strict": true,
3977
- "summary": "Delete all org shapes for a target org.",
3969
+ "summary": "Get details about a scratch org snapshot.",
3978
3970
  "enableJsonFlag": true,
3979
3971
  "isESM": true,
3980
3972
  "relativePath": [
3981
3973
  "lib",
3982
3974
  "commands",
3983
3975
  "org",
3984
- "delete",
3985
- "shape.js"
3976
+ "get",
3977
+ "snapshot.js"
3986
3978
  ],
3987
3979
  "aliasPermutations": [
3988
- "force:org:shape:delete",
3989
- "org:force:shape:delete",
3990
- "org:shape:force:delete",
3991
- "org:shape:delete:force",
3992
- "force:shape:org:delete",
3993
- "shape:force:org:delete",
3994
- "shape:org:force:delete",
3995
- "shape:org:delete:force",
3996
- "force:shape:delete:org",
3997
- "shape:force:delete:org",
3998
- "shape:delete:force:org",
3999
- "shape:delete:org:force",
4000
- "force:org:delete:shape",
4001
- "org:force:delete:shape",
4002
- "org:delete:force:shape",
4003
- "org:delete:shape:force",
4004
- "force:delete:org:shape",
4005
- "delete:force:org:shape",
4006
- "delete:org:force:shape",
4007
- "delete:org:shape:force",
4008
- "force:delete:shape:org",
4009
- "delete:force:shape:org",
4010
- "delete:shape:force:org",
4011
- "delete:shape:org:force"
3980
+ "force:org:snapshot:get",
3981
+ "org:force:snapshot:get",
3982
+ "org:snapshot:force:get",
3983
+ "org:snapshot:get:force",
3984
+ "force:snapshot:org:get",
3985
+ "snapshot:force:org:get",
3986
+ "snapshot:org:force:get",
3987
+ "snapshot:org:get:force",
3988
+ "force:snapshot:get:org",
3989
+ "snapshot:force:get:org",
3990
+ "snapshot:get:force:org",
3991
+ "snapshot:get:org:force",
3992
+ "force:org:get:snapshot",
3993
+ "org:force:get:snapshot",
3994
+ "org:get:force:snapshot",
3995
+ "org:get:snapshot:force",
3996
+ "force:get:org:snapshot",
3997
+ "get:force:org:snapshot",
3998
+ "get:org:force:snapshot",
3999
+ "get:org:snapshot:force",
4000
+ "force:get:snapshot:org",
4001
+ "get:force:snapshot:org",
4002
+ "get:snapshot:force:org",
4003
+ "get:snapshot:org:force"
4012
4004
  ],
4013
4005
  "permutations": [
4014
- "org:delete:shape",
4015
- "delete:org:shape",
4016
- "delete:shape:org",
4017
- "org:shape:delete",
4018
- "shape:org:delete",
4019
- "shape:delete:org"
4006
+ "org:get:snapshot",
4007
+ "get:org:snapshot",
4008
+ "get:snapshot:org",
4009
+ "org:snapshot:get",
4010
+ "snapshot:org:get",
4011
+ "snapshot:get:org"
4020
4012
  ]
4021
4013
  },
4022
- "org:delete:snapshot": {
4014
+ "org:list:shape": {
4023
4015
  "aliases": [
4024
- "force:org:snapshot:delete"
4016
+ "force:org:shape:list"
4025
4017
  ],
4026
4018
  "args": {},
4027
4019
  "deprecateAliases": true,
4028
- "description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
4020
+ "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.",
4029
4021
  "examples": [
4030
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
4031
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
4022
+ "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
4023
+ "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
4032
4024
  ],
4033
4025
  "flags": {
4034
4026
  "json": {
@@ -4046,30 +4038,12 @@
4046
4038
  "multiple": false,
4047
4039
  "type": "option"
4048
4040
  },
4049
- "target-dev-hub": {
4050
- "aliases": [
4051
- "targetdevhubusername"
4052
- ],
4053
- "char": "v",
4054
- "deprecateAliases": true,
4055
- "name": "target-dev-hub",
4056
- "noCacheDefault": true,
4057
- "required": true,
4058
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
4059
- "hasDynamicHelp": true,
4060
- "multiple": false,
4061
- "type": "option"
4062
- },
4063
- "api-version": {
4064
- "aliases": [
4065
- "apiversion"
4066
- ],
4067
- "deprecateAliases": true,
4068
- "description": "Override the api version used for api requests made by this command",
4069
- "name": "api-version",
4070
- "hasDynamicHelp": false,
4071
- "multiple": false,
4072
- "type": "option"
4041
+ "verbose": {
4042
+ "hidden": true,
4043
+ "name": "verbose",
4044
+ "summary": "List more information about each org shape.",
4045
+ "allowNo": false,
4046
+ "type": "boolean"
4073
4047
  },
4074
4048
  "loglevel": {
4075
4049
  "deprecated": {
@@ -4080,87 +4054,70 @@
4080
4054
  "hasDynamicHelp": false,
4081
4055
  "multiple": false,
4082
4056
  "type": "option"
4083
- },
4084
- "snapshot": {
4085
- "char": "s",
4086
- "description": "The IDs of scratch org snapshots start with 0Oo.",
4087
- "name": "snapshot",
4088
- "required": true,
4089
- "summary": "Name or ID of snapshot to delete.",
4090
- "hasDynamicHelp": false,
4091
- "multiple": false,
4092
- "type": "option"
4093
- },
4094
- "no-prompt": {
4095
- "char": "p",
4096
- "name": "no-prompt",
4097
- "summary": "Don't prompt the user to confirm the deletion.",
4098
- "allowNo": false,
4099
- "type": "boolean"
4100
4057
  }
4101
4058
  },
4102
- "hasDynamicHelp": true,
4059
+ "hasDynamicHelp": false,
4103
4060
  "hiddenAliases": [],
4104
- "id": "org:delete:snapshot",
4061
+ "id": "org:list:shape",
4105
4062
  "pluginAlias": "@salesforce/plugin-signups",
4106
4063
  "pluginName": "@salesforce/plugin-signups",
4107
4064
  "pluginType": "jit",
4108
4065
  "strict": true,
4109
- "summary": "Delete a scratch org snapshot.",
4066
+ "summary": "List all org shapes you’ve created.",
4110
4067
  "enableJsonFlag": true,
4111
4068
  "isESM": true,
4112
4069
  "relativePath": [
4113
4070
  "lib",
4114
4071
  "commands",
4115
4072
  "org",
4116
- "delete",
4117
- "snapshot.js"
4073
+ "list",
4074
+ "shape.js"
4118
4075
  ],
4119
4076
  "aliasPermutations": [
4120
- "force:org:snapshot:delete",
4121
- "org:force:snapshot:delete",
4122
- "org:snapshot:force:delete",
4123
- "org:snapshot:delete:force",
4124
- "force:snapshot:org:delete",
4125
- "snapshot:force:org:delete",
4126
- "snapshot:org:force:delete",
4127
- "snapshot:org:delete:force",
4128
- "force:snapshot:delete:org",
4129
- "snapshot:force:delete:org",
4130
- "snapshot:delete:force:org",
4131
- "snapshot:delete:org:force",
4132
- "force:org:delete:snapshot",
4133
- "org:force:delete:snapshot",
4134
- "org:delete:force:snapshot",
4135
- "org:delete:snapshot:force",
4136
- "force:delete:org:snapshot",
4137
- "delete:force:org:snapshot",
4138
- "delete:org:force:snapshot",
4139
- "delete:org:snapshot:force",
4140
- "force:delete:snapshot:org",
4141
- "delete:force:snapshot:org",
4142
- "delete:snapshot:force:org",
4143
- "delete:snapshot:org:force"
4077
+ "force:org:shape:list",
4078
+ "org:force:shape:list",
4079
+ "org:shape:force:list",
4080
+ "org:shape:list:force",
4081
+ "force:shape:org:list",
4082
+ "shape:force:org:list",
4083
+ "shape:org:force:list",
4084
+ "shape:org:list:force",
4085
+ "force:shape:list:org",
4086
+ "shape:force:list:org",
4087
+ "shape:list:force:org",
4088
+ "shape:list:org:force",
4089
+ "force:org:list:shape",
4090
+ "org:force:list:shape",
4091
+ "org:list:force:shape",
4092
+ "org:list:shape:force",
4093
+ "force:list:org:shape",
4094
+ "list:force:org:shape",
4095
+ "list:org:force:shape",
4096
+ "list:org:shape:force",
4097
+ "force:list:shape:org",
4098
+ "list:force:shape:org",
4099
+ "list:shape:force:org",
4100
+ "list:shape:org:force"
4144
4101
  ],
4145
4102
  "permutations": [
4146
- "org:delete:snapshot",
4147
- "delete:org:snapshot",
4148
- "delete:snapshot:org",
4149
- "org:snapshot:delete",
4150
- "snapshot:org:delete",
4151
- "snapshot:delete:org"
4103
+ "org:list:shape",
4104
+ "list:org:shape",
4105
+ "list:shape:org",
4106
+ "org:shape:list",
4107
+ "shape:org:list",
4108
+ "shape:list:org"
4152
4109
  ]
4153
4110
  },
4154
- "org:get:snapshot": {
4111
+ "org:list:snapshot": {
4155
4112
  "aliases": [
4156
- "force:org:snapshot:get"
4113
+ "force:org:snapshot:list"
4157
4114
  ],
4158
4115
  "args": {},
4159
4116
  "deprecateAliases": true,
4160
- "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\".",
4117
+ "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\".",
4161
4118
  "examples": [
4162
- "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
4163
- "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"
4119
+ "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
4120
+ "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
4164
4121
  ],
4165
4122
  "flags": {
4166
4123
  "json": {
@@ -4212,80 +4169,69 @@
4212
4169
  "hasDynamicHelp": false,
4213
4170
  "multiple": false,
4214
4171
  "type": "option"
4215
- },
4216
- "snapshot": {
4217
- "char": "s",
4218
- "description": "The IDs of scratch org snapshots start with 0Oo.",
4219
- "name": "snapshot",
4220
- "required": true,
4221
- "summary": "Name or ID of snapshot to retrieve.",
4222
- "hasDynamicHelp": false,
4223
- "multiple": false,
4224
- "type": "option"
4225
4172
  }
4226
4173
  },
4227
4174
  "hasDynamicHelp": true,
4228
4175
  "hiddenAliases": [],
4229
- "id": "org:get:snapshot",
4176
+ "id": "org:list:snapshot",
4230
4177
  "pluginAlias": "@salesforce/plugin-signups",
4231
4178
  "pluginName": "@salesforce/plugin-signups",
4232
4179
  "pluginType": "jit",
4233
4180
  "strict": true,
4234
- "summary": "Get details about a scratch org snapshot.",
4181
+ "summary": "List scratch org snapshots.",
4235
4182
  "enableJsonFlag": true,
4236
4183
  "isESM": true,
4237
4184
  "relativePath": [
4238
4185
  "lib",
4239
4186
  "commands",
4240
4187
  "org",
4241
- "get",
4188
+ "list",
4242
4189
  "snapshot.js"
4243
4190
  ],
4244
4191
  "aliasPermutations": [
4245
- "force:org:snapshot:get",
4246
- "org:force:snapshot:get",
4247
- "org:snapshot:force:get",
4248
- "org:snapshot:get:force",
4249
- "force:snapshot:org:get",
4250
- "snapshot:force:org:get",
4251
- "snapshot:org:force:get",
4252
- "snapshot:org:get:force",
4253
- "force:snapshot:get:org",
4254
- "snapshot:force:get:org",
4255
- "snapshot:get:force:org",
4256
- "snapshot:get:org:force",
4257
- "force:org:get:snapshot",
4258
- "org:force:get:snapshot",
4259
- "org:get:force:snapshot",
4260
- "org:get:snapshot:force",
4261
- "force:get:org:snapshot",
4262
- "get:force:org:snapshot",
4263
- "get:org:force:snapshot",
4264
- "get:org:snapshot:force",
4265
- "force:get:snapshot:org",
4266
- "get:force:snapshot:org",
4267
- "get:snapshot:force:org",
4268
- "get:snapshot:org:force"
4192
+ "force:org:snapshot:list",
4193
+ "org:force:snapshot:list",
4194
+ "org:snapshot:force:list",
4195
+ "org:snapshot:list:force",
4196
+ "force:snapshot:org:list",
4197
+ "snapshot:force:org:list",
4198
+ "snapshot:org:force:list",
4199
+ "snapshot:org:list:force",
4200
+ "force:snapshot:list:org",
4201
+ "snapshot:force:list:org",
4202
+ "snapshot:list:force:org",
4203
+ "snapshot:list:org:force",
4204
+ "force:org:list:snapshot",
4205
+ "org:force:list:snapshot",
4206
+ "org:list:force:snapshot",
4207
+ "org:list:snapshot:force",
4208
+ "force:list:org:snapshot",
4209
+ "list:force:org:snapshot",
4210
+ "list:org:force:snapshot",
4211
+ "list:org:snapshot:force",
4212
+ "force:list:snapshot:org",
4213
+ "list:force:snapshot:org",
4214
+ "list:snapshot:force:org",
4215
+ "list:snapshot:org:force"
4269
4216
  ],
4270
4217
  "permutations": [
4271
- "org:get:snapshot",
4272
- "get:org:snapshot",
4273
- "get:snapshot:org",
4274
- "org:snapshot:get",
4275
- "snapshot:org:get",
4276
- "snapshot:get:org"
4218
+ "org:list:snapshot",
4219
+ "list:org:snapshot",
4220
+ "list:snapshot:org",
4221
+ "org:snapshot:list",
4222
+ "snapshot:org:list",
4223
+ "snapshot:list:org"
4277
4224
  ]
4278
4225
  },
4279
- "org:list:shape": {
4226
+ "org:create:shape": {
4280
4227
  "aliases": [
4281
- "force:org:shape:list"
4228
+ "force:org:shape:create"
4282
4229
  ],
4283
4230
  "args": {},
4284
4231
  "deprecateAliases": true,
4285
- "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.",
4232
+ "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.",
4286
4233
  "examples": [
4287
- "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
4288
- "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
4234
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
4289
4235
  ],
4290
4236
  "flags": {
4291
4237
  "json": {
@@ -4303,12 +4249,31 @@
4303
4249
  "multiple": false,
4304
4250
  "type": "option"
4305
4251
  },
4306
- "verbose": {
4307
- "hidden": true,
4308
- "name": "verbose",
4309
- "summary": "List more information about each org shape.",
4310
- "allowNo": false,
4311
- "type": "boolean"
4252
+ "target-org": {
4253
+ "aliases": [
4254
+ "targetusername",
4255
+ "u"
4256
+ ],
4257
+ "char": "o",
4258
+ "deprecateAliases": true,
4259
+ "name": "target-org",
4260
+ "noCacheDefault": true,
4261
+ "required": true,
4262
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
4263
+ "hasDynamicHelp": true,
4264
+ "multiple": false,
4265
+ "type": "option"
4266
+ },
4267
+ "api-version": {
4268
+ "aliases": [
4269
+ "apiversion"
4270
+ ],
4271
+ "deprecateAliases": true,
4272
+ "description": "Override the api version used for api requests made by this command",
4273
+ "name": "api-version",
4274
+ "hasDynamicHelp": false,
4275
+ "multiple": false,
4276
+ "type": "option"
4312
4277
  },
4313
4278
  "loglevel": {
4314
4279
  "deprecated": {
@@ -4321,68 +4286,68 @@
4321
4286
  "type": "option"
4322
4287
  }
4323
4288
  },
4324
- "hasDynamicHelp": false,
4289
+ "hasDynamicHelp": true,
4325
4290
  "hiddenAliases": [],
4326
- "id": "org:list:shape",
4291
+ "id": "org:create:shape",
4327
4292
  "pluginAlias": "@salesforce/plugin-signups",
4328
4293
  "pluginName": "@salesforce/plugin-signups",
4329
4294
  "pluginType": "jit",
4330
4295
  "strict": true,
4331
- "summary": "List all org shapes you’ve created.",
4296
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
4332
4297
  "enableJsonFlag": true,
4333
4298
  "isESM": true,
4334
4299
  "relativePath": [
4335
4300
  "lib",
4336
4301
  "commands",
4337
4302
  "org",
4338
- "list",
4303
+ "create",
4339
4304
  "shape.js"
4340
4305
  ],
4341
4306
  "aliasPermutations": [
4342
- "force:org:shape:list",
4343
- "org:force:shape:list",
4344
- "org:shape:force:list",
4345
- "org:shape:list:force",
4346
- "force:shape:org:list",
4347
- "shape:force:org:list",
4348
- "shape:org:force:list",
4349
- "shape:org:list:force",
4350
- "force:shape:list:org",
4351
- "shape:force:list:org",
4352
- "shape:list:force:org",
4353
- "shape:list:org:force",
4354
- "force:org:list:shape",
4355
- "org:force:list:shape",
4356
- "org:list:force:shape",
4357
- "org:list:shape:force",
4358
- "force:list:org:shape",
4359
- "list:force:org:shape",
4360
- "list:org:force:shape",
4361
- "list:org:shape:force",
4362
- "force:list:shape:org",
4363
- "list:force:shape:org",
4364
- "list:shape:force:org",
4365
- "list:shape:org:force"
4307
+ "force:org:shape:create",
4308
+ "org:force:shape:create",
4309
+ "org:shape:force:create",
4310
+ "org:shape:create:force",
4311
+ "force:shape:org:create",
4312
+ "shape:force:org:create",
4313
+ "shape:org:force:create",
4314
+ "shape:org:create:force",
4315
+ "force:shape:create:org",
4316
+ "shape:force:create:org",
4317
+ "shape:create:force:org",
4318
+ "shape:create:org:force",
4319
+ "force:org:create:shape",
4320
+ "org:force:create:shape",
4321
+ "org:create:force:shape",
4322
+ "org:create:shape:force",
4323
+ "force:create:org:shape",
4324
+ "create:force:org:shape",
4325
+ "create:org:force:shape",
4326
+ "create:org:shape:force",
4327
+ "force:create:shape:org",
4328
+ "create:force:shape:org",
4329
+ "create:shape:force:org",
4330
+ "create:shape:org:force"
4366
4331
  ],
4367
4332
  "permutations": [
4368
- "org:list:shape",
4369
- "list:org:shape",
4370
- "list:shape:org",
4371
- "org:shape:list",
4372
- "shape:org:list",
4373
- "shape:list:org"
4333
+ "org:create:shape",
4334
+ "create:org:shape",
4335
+ "create:shape:org",
4336
+ "org:shape:create",
4337
+ "shape:org:create",
4338
+ "shape:create:org"
4374
4339
  ]
4375
4340
  },
4376
- "org:list:snapshot": {
4341
+ "org:create:snapshot": {
4377
4342
  "aliases": [
4378
- "force:org:snapshot:list"
4343
+ "force:org:snapshot:create"
4379
4344
  ],
4380
4345
  "args": {},
4381
4346
  "deprecateAliases": true,
4382
- "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\".",
4347
+ "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.",
4383
4348
  "examples": [
4384
- "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
4385
- "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
4349
+ "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'",
4350
+ "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"
4386
4351
  ],
4387
4352
  "flags": {
4388
4353
  "json": {
@@ -4434,58 +4399,93 @@
4434
4399
  "hasDynamicHelp": false,
4435
4400
  "multiple": false,
4436
4401
  "type": "option"
4402
+ },
4403
+ "source-org": {
4404
+ "aliases": [
4405
+ "sourceorg"
4406
+ ],
4407
+ "char": "o",
4408
+ "deprecateAliases": true,
4409
+ "name": "source-org",
4410
+ "required": true,
4411
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
4412
+ "hasDynamicHelp": false,
4413
+ "multiple": false,
4414
+ "type": "option"
4415
+ },
4416
+ "name": {
4417
+ "aliases": [
4418
+ "snapshotname"
4419
+ ],
4420
+ "char": "n",
4421
+ "deprecateAliases": true,
4422
+ "name": "name",
4423
+ "required": true,
4424
+ "summary": "Unique name of snapshot.",
4425
+ "hasDynamicHelp": false,
4426
+ "multiple": false,
4427
+ "type": "option"
4428
+ },
4429
+ "description": {
4430
+ "char": "d",
4431
+ "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.",
4432
+ "name": "description",
4433
+ "summary": "Description of snapshot.",
4434
+ "hasDynamicHelp": false,
4435
+ "multiple": false,
4436
+ "type": "option"
4437
4437
  }
4438
4438
  },
4439
4439
  "hasDynamicHelp": true,
4440
4440
  "hiddenAliases": [],
4441
- "id": "org:list:snapshot",
4441
+ "id": "org:create:snapshot",
4442
4442
  "pluginAlias": "@salesforce/plugin-signups",
4443
4443
  "pluginName": "@salesforce/plugin-signups",
4444
4444
  "pluginType": "jit",
4445
4445
  "strict": true,
4446
- "summary": "List scratch org snapshots.",
4446
+ "summary": "Create a snapshot of a scratch org.",
4447
4447
  "enableJsonFlag": true,
4448
4448
  "isESM": true,
4449
4449
  "relativePath": [
4450
4450
  "lib",
4451
4451
  "commands",
4452
4452
  "org",
4453
- "list",
4453
+ "create",
4454
4454
  "snapshot.js"
4455
4455
  ],
4456
4456
  "aliasPermutations": [
4457
- "force:org:snapshot:list",
4458
- "org:force:snapshot:list",
4459
- "org:snapshot:force:list",
4460
- "org:snapshot:list:force",
4461
- "force:snapshot:org:list",
4462
- "snapshot:force:org:list",
4463
- "snapshot:org:force:list",
4464
- "snapshot:org:list:force",
4465
- "force:snapshot:list:org",
4466
- "snapshot:force:list:org",
4467
- "snapshot:list:force:org",
4468
- "snapshot:list:org:force",
4469
- "force:org:list:snapshot",
4470
- "org:force:list:snapshot",
4471
- "org:list:force:snapshot",
4472
- "org:list:snapshot:force",
4473
- "force:list:org:snapshot",
4474
- "list:force:org:snapshot",
4475
- "list:org:force:snapshot",
4476
- "list:org:snapshot:force",
4477
- "force:list:snapshot:org",
4478
- "list:force:snapshot:org",
4479
- "list:snapshot:force:org",
4480
- "list:snapshot:org:force"
4457
+ "force:org:snapshot:create",
4458
+ "org:force:snapshot:create",
4459
+ "org:snapshot:force:create",
4460
+ "org:snapshot:create:force",
4461
+ "force:snapshot:org:create",
4462
+ "snapshot:force:org:create",
4463
+ "snapshot:org:force:create",
4464
+ "snapshot:org:create:force",
4465
+ "force:snapshot:create:org",
4466
+ "snapshot:force:create:org",
4467
+ "snapshot:create:force:org",
4468
+ "snapshot:create:org:force",
4469
+ "force:org:create:snapshot",
4470
+ "org:force:create:snapshot",
4471
+ "org:create:force:snapshot",
4472
+ "org:create:snapshot:force",
4473
+ "force:create:org:snapshot",
4474
+ "create:force:org:snapshot",
4475
+ "create:org:force:snapshot",
4476
+ "create:org:snapshot:force",
4477
+ "force:create:snapshot:org",
4478
+ "create:force:snapshot:org",
4479
+ "create:snapshot:force:org",
4480
+ "create:snapshot:org:force"
4481
4481
  ],
4482
4482
  "permutations": [
4483
- "org:list:snapshot",
4484
- "list:org:snapshot",
4485
- "list:snapshot:org",
4486
- "org:snapshot:list",
4487
- "snapshot:org:list",
4488
- "snapshot:list:org"
4483
+ "org:create:snapshot",
4484
+ "create:org:snapshot",
4485
+ "create:snapshot:org",
4486
+ "org:snapshot:create",
4487
+ "snapshot:org:create",
4488
+ "snapshot:create:org"
4489
4489
  ]
4490
4490
  },
4491
4491
  "force:lightning:lwc:test:create": {
@@ -5370,5 +5370,5 @@
5370
5370
  ]
5371
5371
  }
5372
5372
  },
5373
- "version": "2.71.3"
5373
+ "version": "2.71.4"
5374
5374
  }