@@ -79,6 +79,7 @@ sfdx plugins
7979<!-- commands -->
8080
8181- [ ` sfdx force:org:beta:create [name=value...] [-t scratch|sandbox] [-f <filepath>] [-n] [-c] [-i <string>] [-s] [-a <string>] [-w <minutes>] [-d <integer>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] ` ] ( #sfdx-forceorgbetacreate-namevalue--t-scratchsandbox--f-filepath--n--c--i-string--s--a-string--w-minutes--d-integer--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal )
82+ - [ ` sfdx force:org:clone [name=value...] -t sandbox [-f <filepath>] [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] ` ] ( #sfdx-forceorgclone-namevalue--t-sandbox--f-filepath--s--a-string--w-minutes--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal )
8283- [ ` sfdx force:org:delete [-p] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] ` ] ( #sfdx-forceorgdelete--p--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal )
8384- [ ` sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] ` ] ( #sfdx-forceorgdisplay--u-string---apiversion-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal )
8485- [ ` sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] ` ] ( #sfdx-forceorglist---all--p---clean---skipconnectionstatus---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal )
@@ -150,7 +151,52 @@ EXAMPLES
150151 $ sfdx force:org:create -t sandbox -f config/dev-sandbox-def.json -a MyDevSandbox -u prodOrg
151152```
152153
153- _ See code: [ src/commands/force/org/beta/create.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.0/src/commands/force/org/beta/create.ts ) _
154+ _ See code: [ src/commands/force/org/beta/create.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.1/src/commands/force/org/beta/create.ts ) _
155+
156+ ## ` sfdx force:org:clone [name=value...] -t sandbox [-f <filepath>] [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] `
157+
158+ clone a sandbox org
159+
160+ ```
161+ USAGE
162+ $ sfdx force:org:clone [name=value...] -t sandbox [-f <filepath>] [-s] [-a <string>] [-w <minutes>] [-u <string>]
163+ [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
164+
165+ OPTIONS
166+ -a, --setalias=setalias alias for the cloned org
167+ -f, --definitionfile=definitionfile path to the sandbox definition file
168+ -s, --setdefaultusername set the cloned org as your default
169+ -t, --type=(sandbox) (required) type of org to create
170+
171+ -u, --targetusername=targetusername username or alias for the target
172+ org; overrides default target org
173+
174+ -w, --wait=wait [default: 6 minutes] number of
175+ minutes to wait while polling for
176+ status
177+
178+ --apiversion=apiversion override the api version used for
179+ api requests made by this command
180+
181+ --json format output as json
182+
183+ --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
184+ this command invocation
185+
186+ DESCRIPTION
187+ There are two ways to clone a sandbox: either specify a sandbox definition file or provide key=value pairs at the
188+ command line. Key-value pairs at the command-line override their equivalent sandbox definition file values. In either
189+ case, you must specify both the "SandboxName" and "SourceSandboxName" options.
190+
191+ Set the --targetusername (-u) parameter to a production org with sandbox licenses. The --type (-t) parameter is
192+ required and must be set to "sandbox".
193+
194+ EXAMPLES
195+ $ sfdx force:org:clone -t sandbox -f config/dev-sandbox-def.json -u prodOrg -a MyDevSandbox
196+ $ sfdx force:org:clone -t sandbox SandboxName=DevSbx1 SourceSandboxName=Sbx2Clone -u prodOrg -a MyDevSandbox
197+ ```
198+
199+ _ See code: [ src/commands/force/org/clone.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.1/src/commands/force/org/clone.ts ) _
154200
155201## ` sfdx force:org:delete [-p] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] `
156202
@@ -186,7 +232,7 @@ EXAMPLES
186232 $ sfdx force:org:delete -u MyOrgAlias -p
187233```
188234
189- _ See code: [ src/commands/force/org/delete.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.0 /src/commands/force/org/delete.ts ) _
235+ _ See code: [ src/commands/force/org/delete.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.1 /src/commands/force/org/delete.ts ) _
190236
191237## ` sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] `
192238
@@ -227,7 +273,7 @@ EXAMPLES
227273 sfdx force:org:display -u TestOrg1 --json > tmp/MyOrgDesc.json
228274```
229275
230- _ See code: [ src/commands/force/org/display.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.0 /src/commands/force/org/display.ts ) _
276+ _ See code: [ src/commands/force/org/display.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.1 /src/commands/force/org/display.ts ) _
231277
232278## ` sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] `
233279
@@ -265,7 +311,7 @@ EXAMPLES
265311 sfdx force:org:list --verbose --json > tmp/MyOrgList.json
266312```
267313
268- _ See code: [ src/commands/force/org/list.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.0 /src/commands/force/org/list.ts ) _
314+ _ See code: [ src/commands/force/org/list.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.1 /src/commands/force/org/list.ts ) _
269315
270316## ` sfdx force:org:open [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] `
271317
@@ -310,7 +356,7 @@ EXAMPLES
310356 sfdx force:org:open -u [email protected] -b firefox 311357```
312358
313- _ See code: [ src/commands/force/org/open.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.0 /src/commands/force/org/open.ts ) _
359+ _ See code: [ src/commands/force/org/open.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.1 /src/commands/force/org/open.ts ) _
314360
315361## ` sfdx force:org:status -n <string> [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] `
316362
@@ -358,6 +404,6 @@ EXAMPLES
358404 sfdx force:org:status --sandboxname DevSbx1 --wait 45 --setdefaultusername -u prodOrg
359405```
360406
361- _ See code: [ src/commands/force/org/status.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.0 /src/commands/force/org/status.ts ) _
407+ _ See code: [ src/commands/force/org/status.ts] ( https://github.com/salesforcecli/plugin-org/blob/v1.12.1 /src/commands/force/org/status.ts ) _
362408
363409<!-- commandsstop -->
0 commit comments