sfp-pro | sfp (community) | |
---|---|---|
Flag | Required | Description |
---|---|---|
Availability
✅
❌
From
August 24
-v, --targetdevhubusername=<value>
No
Username or alias of the production org
-n, --name=<value>
Yes
Comma-separated list of sandbox names to delete
--json
No
Format output as JSON
--loglevel=<option>
No
Logging level for this command invocation
Create a new Salesforce sandbox org.
This command creates a new sandbox org from a source org (production or another sandbox). You can specify the sandbox configuration using command-line options or a definition file.
If using a definition file, create a JSON file (default location: config/sandbox-def.json
) with the following structure:
Note: When using a definition file, the --name
and --sourcesandbox
flags are ignored.
This command lists sandboxes and their statuses from the specified production org. You can filter the results by sandbox name and status.
This command updates the configuration of an existing sandbox or refreshes it.
sfp-pro | sfp (community) | |
---|---|---|
Flag | Required | Description |
---|---|---|
sfp-pro | sfp (community) | |
---|---|---|
Flag | Required | Description |
---|---|---|
sfp-pro | sfp (community) |
---|
Flag | Required | Description |
---|
sfp-pro | sfp (community) |
---|
Flag | Required | Description |
---|
Availability
✅
❌
From
August 24
-v, --targetdevhubusername=<value>
No
Username or alias of the production org
-n, --name=<value>
Yes (if no definition file)
Name of the sandbox to create
-s, --sourcesandbox=<value>
No
Name of the source sandbox to clone
-f, --definition-file=<value>
No
Path to a sandbox definition file
-d, --description=<value>
No
Description of the sandbox
--json
No
Format output as JSON
--loglevel=<option>
No
Logging level for this command invocation
Availability
✅
❌
From
September 24
-v, --targetdevhubusername=<value>
No
Username or alias of the production org
-n, --name=<value>
No
Filter results by sandbox name (max 10 characters)
-s, --status=<value>
No
Filter results by sandbox status
--json
No
Format output as JSON
--loglevel=<option>
No
Logging level for this command invocation
Availability | ✅ | ❌ |
From | August 24 |
| No | Username or alias of the production org |
| Yes (if no definition file) | Name of the sandbox to update |
| No | Path to a sandbox definition file |
| No | Format output as JSON |
| No | Logging level for this command invocation |
Availability | ✅ | ❌ |
From | August 24 |
| No | Username or alias of the production org |
| Yes | Name of the sandbox to log in to (max 10 characters) |
| No | Alias to set for the authenticated sandbox org |
| No | Write login details to a file (org-info.json) |
| No | Format output as JSON |
| No | Logging level for this command invocation |