@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
2525$ sf COMMAND
2626running command...
2727$ sf (--version| -v)
28- @salesforce/cli/2.86.5 linux-x64 node-v22.14.0
28+ @salesforce/cli/2.86.6 linux-x64 node-v22.14.0
2929$ sf --help [COMMAND]
3030USAGE
3131 $ sf COMMAND
@@ -3200,7 +3200,7 @@ FLAG DESCRIPTIONS
32003200 You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
32013201```
32023202
3203- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/create/sandbox.ts ) _
3203+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/create/sandbox.ts ) _
32043204
32053205## ` sf org create scratch `
32063206
@@ -3382,7 +3382,7 @@ FLAG DESCRIPTIONS
33823382 Omit this flag to have Salesforce generate a unique username for your org.
33833383```
33843384
3385- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/create/scratch.ts ) _
3385+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/create/scratch.ts ) _
33863386
33873387## ` sf org create user `
33883388
@@ -3536,7 +3536,7 @@ EXAMPLES
35363536 $ sf org delete sandbox --target-org my-sandbox --no-prompt
35373537```
35383538
3539- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/delete/sandbox.ts ) _
3539+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/delete/sandbox.ts ) _
35403540
35413541## ` sf org delete scratch `
35423542
@@ -3580,7 +3580,7 @@ EXAMPLES
35803580 $ sf org delete scratch --target-org my-scratch-org --no-prompt
35813581```
35823582
3583- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/delete/scratch.ts ) _
3583+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/delete/scratch.ts ) _
35843584
35853585## ` sf org disable tracking `
35863586
@@ -3619,7 +3619,7 @@ EXAMPLES
36193619 $ sf org disable tracking
36203620```
36213621
3622- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/disable/tracking.ts ) _
3622+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/disable/tracking.ts ) _
36233623
36243624## ` sf org display `
36253625
@@ -3664,7 +3664,7 @@ EXAMPLES
36643664 $ sf org display --target-org TestOrg1 --verbose
36653665```
36663666
3667- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/display.ts ) _
3667+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/display.ts ) _
36683668
36693669## ` sf org display user `
36703670
@@ -3745,7 +3745,7 @@ EXAMPLES
37453745 $ sf org enable tracking
37463746```
37473747
3748- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/enable/tracking.ts ) _
3748+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/enable/tracking.ts ) _
37493749
37503750## ` sf org generate password `
37513751
@@ -3851,7 +3851,7 @@ EXAMPLES
38513851 $ sf org list --clean
38523852```
38533853
3854- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/list.ts ) _
3854+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/list.ts ) _
38553855
38563856## ` sf org list auth `
38573857
@@ -3990,7 +3990,7 @@ FLAG DESCRIPTIONS
39903990 Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
39913991```
39923992
3993- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/list/metadata.ts ) _
3993+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/list/metadata.ts ) _
39943994
39953995## ` sf org list metadata-types `
39963996
@@ -4045,7 +4045,7 @@ FLAG DESCRIPTIONS
40454045 Override the api version used for api requests made by this command
40464046```
40474047
4048- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/list/metadata-types.ts ) _
4048+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/list/metadata-types.ts ) _
40494049
40504050## ` sf org list sobject record-counts `
40514051
@@ -4628,7 +4628,7 @@ EXAMPLES
46284628 $ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
46294629```
46304630
4631- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/open.ts ) _
4631+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/open.ts ) _
46324632
46334633## ` sf org open agent `
46344634
@@ -4679,7 +4679,7 @@ EXAMPLES
46794679 $ sf org open agent --target-org MyTestOrg1 --browser firefox --name Coral_Cloud_Agent
46804680```
46814681
4682- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/open/agent.ts ) _
4682+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/open/agent.ts ) _
46834683
46844684## ` sf org refresh sandbox `
46854685
@@ -4688,17 +4688,21 @@ Refresh a sandbox org using the sandbox name.
46884688```
46894689USAGE
46904690 $ sf org refresh sandbox -o <value> [--json] [--flags-dir <value>] [--no-auto-activate] [-w <minutes> | --async] [-i
4691- <seconds> | ] [-n <value>] [-f <value>] [--no-prompt]
4691+ <seconds> | ] [--source-sandbox-name <value> | -i <value>] [- n <value>] [-f <value>] [--no-prompt]
46924692
46934693FLAGS
4694- -f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh it.
4695- -i, --poll-interval=<seconds> Number of seconds to wait between status polling requests.
4696- -n, --name=<value> Name of the existing sandbox org in your production org that you want to refresh.
4697- -o, --target-org=<value> (required) Username or alias of the production org that contains the sandbox license.
4698- -w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.
4699- --async Request the sandbox refresh, but don't wait for it to complete.
4700- --no-auto-activate Disable auto-activation of the sandbox after a successful refresh.
4701- --no-prompt Don't prompt for confirmation about the sandbox refresh.
4694+ -f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh
4695+ it.
4696+ -i, --poll-interval=<seconds> Number of seconds to wait between status polling requests.
4697+ -i, --source-id=<value> ID of the sandbox org that becomes the new source org for the refreshed sandbox.
4698+ -n, --name=<value> Name of the existing sandbox org in your production org that you want to refresh.
4699+ -o, --target-org=<value> (required) Username or alias of the production org that contains the sandbox
4700+ license.
4701+ -w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.
4702+ --async Request the sandbox refresh, but don't wait for it to complete.
4703+ --no-auto-activate Disable auto-activation of the sandbox after a successful refresh.
4704+ --no-prompt Don't prompt for confirmation about the sandbox refresh.
4705+ --source-sandbox-name=<value> Name of the sandbox org that becomes the new source org for the refreshed sandbox.
47024706
47034707GLOBAL FLAGS
47044708 --flags-dir=<value> Import flag values from a directory.
@@ -4709,7 +4713,9 @@ DESCRIPTION
47094713
47104714 Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You
47114715 can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its
4712- license type or template ID.
4716+ license type or template ID. You can also use the --source-id or --source-sandbox-name flags to change the refreshed
4717+ sandbox org's original source org to a new org; in this case, the refreshed sandbox org's metadata is updated with the
4718+ new source org's metadata.
47134719
47144720 You're not allowed to change the sandbox name when you refresh it with this command. If you want to change the sandbox
47154721 name, first delete it with the "org delete sandbox" command. And then recreate it with the "org create sandbox"
@@ -4731,6 +4737,10 @@ EXAMPLES
47314737
47324738 $ sf org refresh sandbox --definition-file devSbx3-config.json --target-org prodOrg
47334739
4740+ Refresh the sandbox named "devSbx2" by changing its original source org to be a sandbox called "devSbx3":
4741+
4742+ $ sf org refresh sandbox --name devSbx2 --source-sandbox-name devSbx3 --target-org prodOrg
4743+
47344744FLAG DESCRIPTIONS
47354745 -f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh it.
47364746
@@ -4740,6 +4750,14 @@ FLAG DESCRIPTIONS
47404750 <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm> for all
47414751 the options you can specify in the definition file.
47424752
4753+ -i, --source-id=<value> ID of the sandbox org that becomes the new source org for the refreshed sandbox.
4754+
4755+ The value of --source-id must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified
4756+ with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox
4757+ licenses.
4758+
4759+ You can specify either --source-id or --source-sandbox-name when refreshing an existing sandbox, but not both.
4760+
47434761 -w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.
47444762
47454763 If the command continues to run after the wait period, the CLI returns control of the terminal to you and displays
@@ -4754,9 +4772,17 @@ FLAG DESCRIPTIONS
47544772 --no-auto-activate Disable auto-activation of the sandbox after a successful refresh.
47554773
47564774 By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.
4775+
4776+ --source-sandbox-name=<value> Name of the sandbox org that becomes the new source org for the refreshed sandbox.
4777+
4778+ The value of --source-sandbox-name must be an existing sandbox. The new source sandbox, and the refreshed sandbox
4779+ specified with the --name flag, must both be associated with the production org (--target-org) that contains the
4780+ sandbox licenses.
4781+
4782+ You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
47574783```
47584784
4759- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/refresh/sandbox.ts ) _
4785+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/refresh/sandbox.ts ) _
47604786
47614787## ` sf org resume sandbox `
47624788
@@ -4819,7 +4845,7 @@ FLAG DESCRIPTIONS
48194845 returns the job ID. To resume checking the sandbox creation, rerun this command.
48204846```
48214847
4822- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/resume/sandbox.ts ) _
4848+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/resume/sandbox.ts ) _
48234849
48244850## ` sf org resume scratch `
48254851
@@ -4872,7 +4898,7 @@ FLAG DESCRIPTIONS
48724898 returns the job ID. To resume checking the scratch creation, rerun this command.
48734899```
48744900
4875- _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/resume/scratch.ts ) _
4901+ _ See code: [ @salesforce/plugin-org ] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/resume/scratch.ts ) _
48764902
48774903## ` sf package create `
48784904
0 commit comments