Sandbox

Create, refresh, and login to sandboxes

sfp sandbox create

Create a sandbox.

USAGE
  $ sfp sandbox create -v <value> [--json] [-s <value> [-n <value> | -f <value>]] [-d <value>] [--loglevel
    trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -d, --description=<value>           Description for the sandbox being created
  -f, --definition-file=<value>       Sandbox definition file. Multiple inputs possible by comma seperated list.
  -n, --name=<value>                  Sandbox name(s). Multiple inputs possible by comma seperated list.
  -s, --sourcesandbox=<value>         Provide the name of the source sandbox where the sandbox should be cloned from
  -v, --targetdevhubusername=<value>  (required) Username or alias of the Dev Hub org.
      --loglevel=<option>             [default: info] logging level for this command invocation
                                      <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Create a sandbox.

  Start a sandbox create process for all specified names from the input flag.

ALIASES
  $ sfp org create sandbox

EXAMPLES
  $ sfp sandbox:create -v MyDevHub -n MySandbox1 -s SourceSandbox

See code: src/commands/sandbox/create.ts

sfp sandbox delete

Delete a sandbox.

See code: src/commands/sandbox/delete.ts

sfp sandbox delete-with-cleanup

Delete a sandbox with full cleanup of associated resources.

See code: src/commands/sandbox/delete-with-cleanup.ts

sfp sandbox list

This command displays the sandbox status from the given devhub.

See code: src/commands/sandbox/list.ts

sfp sandbox login

This command performs a login using the sandbox name.

See code: src/commands/sandbox/login.ts

sfp sandbox update

Update/Refresh a sandbox.

See code: src/commands/sandbox/update.ts

sfp sandbox validate

Validate a sandbox for create, delete, or refresh operations.

See code: src/commands/sandbox/validate.ts

Last updated

Was this helpful?