Skip to content

Commit 4ca77d5

Browse files
committed
docs: examples
1 parent ec8896e commit 4ca77d5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

messages/clone.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
"success": "The sandbox org cloning process %s is in progress. Run \"sfdx force:org:status -n %s\" to check for status. If the org is ready, checking the status also logs the requesting user in to the sandbox org and authorizes the org for use with Salesforce CLI.",
33
"description": "clone a sandbox org\nThere are two ways to clone a sandbox: either specify a sandbox definition file or provide key=value pairs at the command line. Key-value pairs at the command-line override their equivalent sandbox definition file values. In either case, you must specify both the \"sandboxName\" and \"sourceSandbox\" options. Set the --targetusername (-u) parameter to a production org with sandbox licenses. The --type (-t) parameter is required and must be set to \"sandbox\".",
44
"examples": [
5-
"$ sfdx force:org:clone -t sandbox MySandbox",
6-
"$ sfdx force:org:clone -f config/enterprise-scratch-def.json -s",
7-
"$ sfdx force:org:clone -f config/enterprise-scratch-def.json -a MyAlias"
5+
"$ sfdx force:org:clone -t sandbox -f config/dev-sandbox-def.json -u prodOrg -a MyDevSandbox",
6+
"$ sfdx force:org:clone -t sandbox sandboxName=DevSbx1 sourceSandbox=Sbx2Clone -u prodOrg -a MyDevSandbox"
87
],
98
"flags": {
109
"type": "type of org to create",

0 commit comments

Comments
 (0)