@@ -242,7 +242,7 @@ FLAG DESCRIPTIONS
242242 You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
243243```
244244
245- _ See code: [ src/commands/org/create/sandbox.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/create/sandbox.ts ) _
245+ _ See code: [ src/commands/org/create/sandbox.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/create/sandbox.ts ) _
246246
247247## ` sf org create scratch `
248248
@@ -424,7 +424,7 @@ FLAG DESCRIPTIONS
424424 Omit this flag to have Salesforce generate a unique username for your org.
425425```
426426
427- _ See code: [ src/commands/org/create/scratch.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/create/scratch.ts ) _
427+ _ See code: [ src/commands/org/create/scratch.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/create/scratch.ts ) _
428428
429429## ` sf org delete sandbox `
430430
@@ -470,7 +470,7 @@ EXAMPLES
470470 $ sf org delete sandbox --target-org my-sandbox --no-prompt
471471```
472472
473- _ See code: [ src/commands/org/delete/sandbox.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/delete/sandbox.ts ) _
473+ _ See code: [ src/commands/org/delete/sandbox.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/delete/sandbox.ts ) _
474474
475475## ` sf org delete scratch `
476476
@@ -514,7 +514,7 @@ EXAMPLES
514514 $ sf org delete scratch --target-org my-scratch-org --no-prompt
515515```
516516
517- _ See code: [ src/commands/org/delete/scratch.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/delete/scratch.ts ) _
517+ _ See code: [ src/commands/org/delete/scratch.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/delete/scratch.ts ) _
518518
519519## ` sf org disable tracking `
520520
@@ -553,7 +553,7 @@ EXAMPLES
553553 $ sf org disable tracking
554554```
555555
556- _ See code: [ src/commands/org/disable/tracking.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/disable/tracking.ts ) _
556+ _ See code: [ src/commands/org/disable/tracking.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/disable/tracking.ts ) _
557557
558558## ` sf org display `
559559
@@ -598,7 +598,7 @@ EXAMPLES
598598 $ sf org display --target-org TestOrg1 --verbose
599599```
600600
601- _ See code: [ src/commands/org/display.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/display.ts ) _
601+ _ See code: [ src/commands/org/display.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/display.ts ) _
602602
603603## ` sf org enable tracking `
604604
@@ -640,7 +640,7 @@ EXAMPLES
640640 $ sf org enable tracking
641641```
642642
643- _ See code: [ src/commands/org/enable/tracking.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/enable/tracking.ts ) _
643+ _ See code: [ src/commands/org/enable/tracking.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/enable/tracking.ts ) _
644644
645645## ` sf org list `
646646
@@ -679,7 +679,7 @@ EXAMPLES
679679 $ sf org list --clean
680680```
681681
682- _ See code: [ src/commands/org/list.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/list.ts ) _
682+ _ See code: [ src/commands/org/list.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/list.ts ) _
683683
684684## ` sf org list metadata `
685685
@@ -746,7 +746,7 @@ FLAG DESCRIPTIONS
746746 Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
747747```
748748
749- _ See code: [ src/commands/org/list/metadata.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/list/metadata.ts ) _
749+ _ See code: [ src/commands/org/list/metadata.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/list/metadata.ts ) _
750750
751751## ` sf org list metadata-types `
752752
@@ -801,7 +801,7 @@ FLAG DESCRIPTIONS
801801 Override the api version used for api requests made by this command
802802```
803803
804- _ See code: [ src/commands/org/list/metadata-types.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/list/metadata-types.ts ) _
804+ _ See code: [ src/commands/org/list/metadata-types.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/list/metadata-types.ts ) _
805805
806806## ` sf org open `
807807
@@ -877,7 +877,7 @@ EXAMPLES
877877 $ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
878878```
879879
880- _ See code: [ src/commands/org/open.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/open.ts ) _
880+ _ See code: [ src/commands/org/open.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/open.ts ) _
881881
882882## ` sf org open agent `
883883
@@ -928,7 +928,7 @@ EXAMPLES
928928 $ sf org open agent --target-org MyTestOrg1 --browser firefox --name Coral_Cloud_Agent
929929```
930930
931- _ See code: [ src/commands/org/open/agent.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/open/agent.ts ) _
931+ _ See code: [ src/commands/org/open/agent.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/open/agent.ts ) _
932932
933933## ` sf org refresh sandbox `
934934
@@ -937,17 +937,21 @@ Refresh a sandbox org using the sandbox name.
937937```
938938USAGE
939939 $ sf org refresh sandbox -o <value> [--json] [--flags-dir <value>] [--no-auto-activate] [-w <minutes> | --async] [-i
940- <seconds> | ] [-n <value>] [-f <value>] [--no-prompt]
940+ <seconds> | ] [--source-sandbox-name <value> | -i <value>] [- n <value>] [-f <value>] [--no-prompt]
941941
942942FLAGS
943- -f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh it.
944- -i, --poll-interval=<seconds> Number of seconds to wait between status polling requests.
945- -n, --name=<value> Name of the existing sandbox org in your production org that you want to refresh.
946- -o, --target-org=<value> (required) Username or alias of the production org that contains the sandbox license.
947- -w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.
948- --async Request the sandbox refresh, but don't wait for it to complete.
949- --no-auto-activate Disable auto-activation of the sandbox after a successful refresh.
950- --no-prompt Don't prompt for confirmation about the sandbox refresh.
943+ -f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh
944+ it.
945+ -i, --poll-interval=<seconds> Number of seconds to wait between status polling requests.
946+ -i, --source-id=<value> ID of the sandbox org that becomes the new source org for the refreshed sandbox.
947+ -n, --name=<value> Name of the existing sandbox org in your production org that you want to refresh.
948+ -o, --target-org=<value> (required) Username or alias of the production org that contains the sandbox
949+ license.
950+ -w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.
951+ --async Request the sandbox refresh, but don't wait for it to complete.
952+ --no-auto-activate Disable auto-activation of the sandbox after a successful refresh.
953+ --no-prompt Don't prompt for confirmation about the sandbox refresh.
954+ --source-sandbox-name=<value> Name of the sandbox org that becomes the new source org for the refreshed sandbox.
951955
952956GLOBAL FLAGS
953957 --flags-dir=<value> Import flag values from a directory.
@@ -958,7 +962,9 @@ DESCRIPTION
958962
959963 Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You
960964 can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its
961- license type or template ID.
965+ license type or template ID. You can also use the --source-id or --source-sandbox-name flags to change the refreshed
966+ sandbox org's original source org to a new org; in this case, the refreshed sandbox org's metadata is updated with the
967+ new source org's metadata.
962968
963969 You're not allowed to change the sandbox name when you refresh it with this command. If you want to change the sandbox
964970 name, first delete it with the "org delete sandbox" command. And then recreate it with the "org create sandbox"
@@ -980,6 +986,10 @@ EXAMPLES
980986
981987 $ sf org refresh sandbox --definition-file devSbx3-config.json --target-org prodOrg
982988
989+ Refresh the sandbox named "devSbx2" by changing its original source org to be a sandbox called "devSbx3":
990+
991+ $ sf org refresh sandbox --name devSbx2 --source-sandbox-name devSbx3 --target-org prodOrg
992+
983993FLAG DESCRIPTIONS
984994 -f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh it.
985995
@@ -989,6 +999,14 @@ FLAG DESCRIPTIONS
989999 <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm> for all
9901000 the options you can specify in the definition file.
9911001
1002+ -i, --source-id=<value> ID of the sandbox org that becomes the new source org for the refreshed sandbox.
1003+
1004+ The value of --source-id must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified
1005+ with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox
1006+ licenses.
1007+
1008+ You can specify either --source-id or --source-sandbox-name when refreshing an existing sandbox, but not both.
1009+
9921010 -w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.
9931011
9941012 If the command continues to run after the wait period, the CLI returns control of the terminal to you and displays
@@ -1003,9 +1021,17 @@ FLAG DESCRIPTIONS
10031021 --no-auto-activate Disable auto-activation of the sandbox after a successful refresh.
10041022
10051023 By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.
1024+
1025+ --source-sandbox-name=<value> Name of the sandbox org that becomes the new source org for the refreshed sandbox.
1026+
1027+ The value of --source-sandbox-name must be an existing sandbox. The new source sandbox, and the refreshed sandbox
1028+ specified with the --name flag, must both be associated with the production org (--target-org) that contains the
1029+ sandbox licenses.
1030+
1031+ You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
10061032```
10071033
1008- _ See code: [ src/commands/org/refresh/sandbox.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/refresh/sandbox.ts ) _
1034+ _ See code: [ src/commands/org/refresh/sandbox.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/refresh/sandbox.ts ) _
10091035
10101036## ` sf org resume sandbox `
10111037
@@ -1068,7 +1094,7 @@ FLAG DESCRIPTIONS
10681094 returns the job ID. To resume checking the sandbox creation, rerun this command.
10691095```
10701096
1071- _ See code: [ src/commands/org/resume/sandbox.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/resume/sandbox.ts ) _
1097+ _ See code: [ src/commands/org/resume/sandbox.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/resume/sandbox.ts ) _
10721098
10731099## ` sf org resume scratch `
10741100
@@ -1121,6 +1147,6 @@ FLAG DESCRIPTIONS
11211147 returns the job ID. To resume checking the scratch creation, rerun this command.
11221148```
11231149
1124- _ See code: [ src/commands/org/resume/scratch.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.6.3 /src/commands/org/resume/scratch.ts ) _
1150+ _ See code: [ src/commands/org/resume/scratch.ts] ( https://github.com/salesforcecli/plugin-org/blob/5.7.0 /src/commands/org/resume/scratch.ts ) _
11251151
11261152<!-- commandsstop -->
0 commit comments