@salesforce/cli 2.73.1 → 2.73.3

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,16 +3627,15 @@
3627
3627
  },
3628
3628
  "args": {}
3629
3629
  },
3630
- "org:delete:shape": {
3630
+ "org:create:shape": {
3631
3631
  "aliases": [
3632
- "force:org:shape:delete"
3632
+ "force:org:shape:create"
3633
3633
  ],
3634
3634
  "args": {},
3635
3635
  "deprecateAliases": true,
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.",
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.",
3637
3637
  "examples": [
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"
3638
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
3640
3639
  ],
3641
3640
  "flags": {
3642
3641
  "json": {
@@ -3689,81 +3688,70 @@
3689
3688
  "hasDynamicHelp": false,
3690
3689
  "multiple": false,
3691
3690
  "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"
3703
3691
  }
3704
3692
  },
3705
3693
  "hasDynamicHelp": true,
3706
3694
  "hiddenAliases": [],
3707
- "id": "org:delete:shape",
3695
+ "id": "org:create:shape",
3708
3696
  "pluginAlias": "@salesforce/plugin-signups",
3709
3697
  "pluginName": "@salesforce/plugin-signups",
3710
3698
  "pluginType": "jit",
3711
3699
  "strict": true,
3712
- "summary": "Delete all org shapes for a target org.",
3700
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
3713
3701
  "enableJsonFlag": true,
3714
3702
  "isESM": true,
3715
3703
  "relativePath": [
3716
3704
  "lib",
3717
3705
  "commands",
3718
3706
  "org",
3719
- "delete",
3707
+ "create",
3720
3708
  "shape.js"
3721
3709
  ],
3722
3710
  "aliasPermutations": [
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"
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"
3747
3735
  ],
3748
3736
  "permutations": [
3749
- "org:delete:shape",
3750
- "delete:org:shape",
3751
- "delete:shape:org",
3752
- "org:shape:delete",
3753
- "shape:org:delete",
3754
- "shape:delete:org"
3737
+ "org:create:shape",
3738
+ "create:org:shape",
3739
+ "create:shape:org",
3740
+ "org:shape:create",
3741
+ "shape:org:create",
3742
+ "shape:create:org"
3755
3743
  ]
3756
3744
  },
3757
- "org:delete:snapshot": {
3745
+ "org:create:snapshot": {
3758
3746
  "aliases": [
3759
- "force:org:snapshot:delete"
3747
+ "force:org:snapshot:create"
3760
3748
  ],
3761
3749
  "args": {},
3762
3750
  "deprecateAliases": true,
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.",
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.",
3764
3752
  "examples": [
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"
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"
3767
3755
  ],
3768
3756
  "flags": {
3769
3757
  "json": {
@@ -3816,86 +3804,104 @@
3816
3804
  "multiple": false,
3817
3805
  "type": "option"
3818
3806
  },
3819
- "snapshot": {
3820
- "char": "s",
3821
- "description": "The IDs of scratch org snapshots start with 0Oo.",
3822
- "name": "snapshot",
3807
+ "source-org": {
3808
+ "aliases": [
3809
+ "sourceorg"
3810
+ ],
3811
+ "char": "o",
3812
+ "deprecateAliases": true,
3813
+ "name": "source-org",
3823
3814
  "required": true,
3824
- "summary": "Name or ID of snapshot to delete.",
3815
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
3825
3816
  "hasDynamicHelp": false,
3826
3817
  "multiple": false,
3827
3818
  "type": "option"
3828
3819
  },
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"
3820
+ "name": {
3821
+ "aliases": [
3822
+ "snapshotname"
3823
+ ],
3824
+ "char": "n",
3825
+ "deprecateAliases": true,
3826
+ "name": "name",
3827
+ "required": true,
3828
+ "summary": "Unique name of snapshot.",
3829
+ "hasDynamicHelp": false,
3830
+ "multiple": false,
3831
+ "type": "option"
3832
+ },
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"
3835
3841
  }
3836
3842
  },
3837
3843
  "hasDynamicHelp": true,
3838
3844
  "hiddenAliases": [],
3839
- "id": "org:delete:snapshot",
3845
+ "id": "org:create:snapshot",
3840
3846
  "pluginAlias": "@salesforce/plugin-signups",
3841
3847
  "pluginName": "@salesforce/plugin-signups",
3842
3848
  "pluginType": "jit",
3843
3849
  "strict": true,
3844
- "summary": "Delete a scratch org snapshot.",
3850
+ "summary": "Create a snapshot of a scratch org.",
3845
3851
  "enableJsonFlag": true,
3846
3852
  "isESM": true,
3847
3853
  "relativePath": [
3848
3854
  "lib",
3849
3855
  "commands",
3850
3856
  "org",
3851
- "delete",
3857
+ "create",
3852
3858
  "snapshot.js"
3853
3859
  ],
3854
3860
  "aliasPermutations": [
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"
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"
3879
3885
  ],
3880
3886
  "permutations": [
3881
- "org:delete:snapshot",
3882
- "delete:org:snapshot",
3883
- "delete:snapshot:org",
3884
- "org:snapshot:delete",
3885
- "snapshot:org:delete",
3886
- "snapshot:delete:org"
3887
+ "org:create:snapshot",
3888
+ "create:org:snapshot",
3889
+ "create:snapshot:org",
3890
+ "org:snapshot:create",
3891
+ "snapshot:org:create",
3892
+ "snapshot:create:org"
3887
3893
  ]
3888
3894
  },
3889
- "org:get:snapshot": {
3895
+ "org:delete:shape": {
3890
3896
  "aliases": [
3891
- "force:org:snapshot:get"
3897
+ "force:org:shape:delete"
3892
3898
  ],
3893
3899
  "args": {},
3894
3900
  "deprecateAliases": true,
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\".",
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.",
3896
3902
  "examples": [
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"
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"
3899
3905
  ],
3900
3906
  "flags": {
3901
3907
  "json": {
@@ -3913,16 +3919,17 @@
3913
3919
  "multiple": false,
3914
3920
  "type": "option"
3915
3921
  },
3916
- "target-dev-hub": {
3922
+ "target-org": {
3917
3923
  "aliases": [
3918
- "targetdevhubusername"
3924
+ "targetusername",
3925
+ "u"
3919
3926
  ],
3920
- "char": "v",
3927
+ "char": "o",
3921
3928
  "deprecateAliases": true,
3922
- "name": "target-dev-hub",
3929
+ "name": "target-org",
3923
3930
  "noCacheDefault": true,
3924
3931
  "required": true,
3925
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
3932
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3926
3933
  "hasDynamicHelp": true,
3927
3934
  "multiple": false,
3928
3935
  "type": "option"
@@ -3948,79 +3955,80 @@
3948
3955
  "multiple": false,
3949
3956
  "type": "option"
3950
3957
  },
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"
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"
3960
3968
  }
3961
3969
  },
3962
3970
  "hasDynamicHelp": true,
3963
3971
  "hiddenAliases": [],
3964
- "id": "org:get:snapshot",
3972
+ "id": "org:delete:shape",
3965
3973
  "pluginAlias": "@salesforce/plugin-signups",
3966
3974
  "pluginName": "@salesforce/plugin-signups",
3967
3975
  "pluginType": "jit",
3968
3976
  "strict": true,
3969
- "summary": "Get details about a scratch org snapshot.",
3977
+ "summary": "Delete all org shapes for a target org.",
3970
3978
  "enableJsonFlag": true,
3971
3979
  "isESM": true,
3972
3980
  "relativePath": [
3973
3981
  "lib",
3974
3982
  "commands",
3975
3983
  "org",
3976
- "get",
3977
- "snapshot.js"
3984
+ "delete",
3985
+ "shape.js"
3978
3986
  ],
3979
3987
  "aliasPermutations": [
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"
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"
4004
4012
  ],
4005
4013
  "permutations": [
4006
- "org:get:snapshot",
4007
- "get:org:snapshot",
4008
- "get:snapshot:org",
4009
- "org:snapshot:get",
4010
- "snapshot:org:get",
4011
- "snapshot:get:org"
4014
+ "org:delete:shape",
4015
+ "delete:org:shape",
4016
+ "delete:shape:org",
4017
+ "org:shape:delete",
4018
+ "shape:org:delete",
4019
+ "shape:delete:org"
4012
4020
  ]
4013
4021
  },
4014
- "org:list:shape": {
4022
+ "org:delete:snapshot": {
4015
4023
  "aliases": [
4016
- "force:org:shape:list"
4024
+ "force:org:snapshot:delete"
4017
4025
  ],
4018
4026
  "args": {},
4019
4027
  "deprecateAliases": true,
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.",
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.",
4021
4029
  "examples": [
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"
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"
4024
4032
  ],
4025
4033
  "flags": {
4026
4034
  "json": {
@@ -4038,12 +4046,30 @@
4038
4046
  "multiple": false,
4039
4047
  "type": "option"
4040
4048
  },
4041
- "verbose": {
4042
- "hidden": true,
4043
- "name": "verbose",
4044
- "summary": "List more information about each org shape.",
4045
- "allowNo": false,
4046
- "type": "boolean"
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"
4047
4073
  },
4048
4074
  "loglevel": {
4049
4075
  "deprecated": {
@@ -4054,70 +4080,87 @@
4054
4080
  "hasDynamicHelp": false,
4055
4081
  "multiple": false,
4056
4082
  "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"
4057
4100
  }
4058
4101
  },
4059
- "hasDynamicHelp": false,
4102
+ "hasDynamicHelp": true,
4060
4103
  "hiddenAliases": [],
4061
- "id": "org:list:shape",
4104
+ "id": "org:delete:snapshot",
4062
4105
  "pluginAlias": "@salesforce/plugin-signups",
4063
4106
  "pluginName": "@salesforce/plugin-signups",
4064
4107
  "pluginType": "jit",
4065
4108
  "strict": true,
4066
- "summary": "List all org shapes you’ve created.",
4109
+ "summary": "Delete a scratch org snapshot.",
4067
4110
  "enableJsonFlag": true,
4068
4111
  "isESM": true,
4069
4112
  "relativePath": [
4070
4113
  "lib",
4071
4114
  "commands",
4072
4115
  "org",
4073
- "list",
4074
- "shape.js"
4116
+ "delete",
4117
+ "snapshot.js"
4075
4118
  ],
4076
4119
  "aliasPermutations": [
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"
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"
4101
4144
  ],
4102
4145
  "permutations": [
4103
- "org:list:shape",
4104
- "list:org:shape",
4105
- "list:shape:org",
4106
- "org:shape:list",
4107
- "shape:org:list",
4108
- "shape:list:org"
4146
+ "org:delete:snapshot",
4147
+ "delete:org:snapshot",
4148
+ "delete:snapshot:org",
4149
+ "org:snapshot:delete",
4150
+ "snapshot:org:delete",
4151
+ "snapshot:delete:org"
4109
4152
  ]
4110
4153
  },
4111
- "org:list:snapshot": {
4154
+ "org:get:snapshot": {
4112
4155
  "aliases": [
4113
- "force:org:snapshot:list"
4156
+ "force:org:snapshot:get"
4114
4157
  ],
4115
4158
  "args": {},
4116
4159
  "deprecateAliases": true,
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\".",
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\".",
4118
4161
  "examples": [
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"
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"
4121
4164
  ],
4122
4165
  "flags": {
4123
4166
  "json": {
@@ -4169,69 +4212,80 @@
4169
4212
  "hasDynamicHelp": false,
4170
4213
  "multiple": false,
4171
4214
  "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"
4172
4225
  }
4173
4226
  },
4174
4227
  "hasDynamicHelp": true,
4175
4228
  "hiddenAliases": [],
4176
- "id": "org:list:snapshot",
4229
+ "id": "org:get:snapshot",
4177
4230
  "pluginAlias": "@salesforce/plugin-signups",
4178
4231
  "pluginName": "@salesforce/plugin-signups",
4179
4232
  "pluginType": "jit",
4180
4233
  "strict": true,
4181
- "summary": "List scratch org snapshots.",
4234
+ "summary": "Get details about a scratch org snapshot.",
4182
4235
  "enableJsonFlag": true,
4183
4236
  "isESM": true,
4184
4237
  "relativePath": [
4185
4238
  "lib",
4186
4239
  "commands",
4187
4240
  "org",
4188
- "list",
4241
+ "get",
4189
4242
  "snapshot.js"
4190
4243
  ],
4191
4244
  "aliasPermutations": [
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"
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"
4216
4269
  ],
4217
4270
  "permutations": [
4218
- "org:list:snapshot",
4219
- "list:org:snapshot",
4220
- "list:snapshot:org",
4221
- "org:snapshot:list",
4222
- "snapshot:org:list",
4223
- "snapshot:list:org"
4271
+ "org:get:snapshot",
4272
+ "get:org:snapshot",
4273
+ "get:snapshot:org",
4274
+ "org:snapshot:get",
4275
+ "snapshot:org:get",
4276
+ "snapshot:get:org"
4224
4277
  ]
4225
4278
  },
4226
- "org:create:shape": {
4279
+ "org:list:shape": {
4227
4280
  "aliases": [
4228
- "force:org:shape:create"
4281
+ "force:org:shape:list"
4229
4282
  ],
4230
4283
  "args": {},
4231
4284
  "deprecateAliases": true,
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.",
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.",
4233
4286
  "examples": [
4234
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
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"
4235
4289
  ],
4236
4290
  "flags": {
4237
4291
  "json": {
@@ -4249,31 +4303,12 @@
4249
4303
  "multiple": false,
4250
4304
  "type": "option"
4251
4305
  },
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"
4306
+ "verbose": {
4307
+ "hidden": true,
4308
+ "name": "verbose",
4309
+ "summary": "List more information about each org shape.",
4310
+ "allowNo": false,
4311
+ "type": "boolean"
4277
4312
  },
4278
4313
  "loglevel": {
4279
4314
  "deprecated": {
@@ -4286,68 +4321,68 @@
4286
4321
  "type": "option"
4287
4322
  }
4288
4323
  },
4289
- "hasDynamicHelp": true,
4324
+ "hasDynamicHelp": false,
4290
4325
  "hiddenAliases": [],
4291
- "id": "org:create:shape",
4326
+ "id": "org:list:shape",
4292
4327
  "pluginAlias": "@salesforce/plugin-signups",
4293
4328
  "pluginName": "@salesforce/plugin-signups",
4294
4329
  "pluginType": "jit",
4295
4330
  "strict": true,
4296
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
4331
+ "summary": "List all org shapes you’ve created.",
4297
4332
  "enableJsonFlag": true,
4298
4333
  "isESM": true,
4299
4334
  "relativePath": [
4300
4335
  "lib",
4301
4336
  "commands",
4302
4337
  "org",
4303
- "create",
4338
+ "list",
4304
4339
  "shape.js"
4305
4340
  ],
4306
4341
  "aliasPermutations": [
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"
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"
4331
4366
  ],
4332
4367
  "permutations": [
4333
- "org:create:shape",
4334
- "create:org:shape",
4335
- "create:shape:org",
4336
- "org:shape:create",
4337
- "shape:org:create",
4338
- "shape:create:org"
4368
+ "org:list:shape",
4369
+ "list:org:shape",
4370
+ "list:shape:org",
4371
+ "org:shape:list",
4372
+ "shape:org:list",
4373
+ "shape:list:org"
4339
4374
  ]
4340
4375
  },
4341
- "org:create:snapshot": {
4376
+ "org:list:snapshot": {
4342
4377
  "aliases": [
4343
- "force:org:snapshot:create"
4378
+ "force:org:snapshot:list"
4344
4379
  ],
4345
4380
  "args": {},
4346
4381
  "deprecateAliases": true,
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.",
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\".",
4348
4383
  "examples": [
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"
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"
4351
4386
  ],
4352
4387
  "flags": {
4353
4388
  "json": {
@@ -4399,93 +4434,58 @@
4399
4434
  "hasDynamicHelp": false,
4400
4435
  "multiple": false,
4401
4436
  "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:create:snapshot",
4441
+ "id": "org:list:snapshot",
4442
4442
  "pluginAlias": "@salesforce/plugin-signups",
4443
4443
  "pluginName": "@salesforce/plugin-signups",
4444
4444
  "pluginType": "jit",
4445
4445
  "strict": true,
4446
- "summary": "Create a snapshot of a scratch org.",
4446
+ "summary": "List scratch org snapshots.",
4447
4447
  "enableJsonFlag": true,
4448
4448
  "isESM": true,
4449
4449
  "relativePath": [
4450
4450
  "lib",
4451
4451
  "commands",
4452
4452
  "org",
4453
- "create",
4453
+ "list",
4454
4454
  "snapshot.js"
4455
4455
  ],
4456
4456
  "aliasPermutations": [
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"
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"
4481
4481
  ],
4482
4482
  "permutations": [
4483
- "org:create:snapshot",
4484
- "create:org:snapshot",
4485
- "create:snapshot:org",
4486
- "org:snapshot:create",
4487
- "snapshot:org:create",
4488
- "snapshot:create:org"
4483
+ "org:list:snapshot",
4484
+ "list:org:snapshot",
4485
+ "list:snapshot:org",
4486
+ "org:snapshot:list",
4487
+ "snapshot:org:list",
4488
+ "snapshot:list: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.73.1"
5373
+ "version": "2.73.3"
5374
5374
  }