hardis:scratch:create
Description
Create and initialize a scratch org or a source-tracked sandbox (config can be defined using config/.sfdx-hardis.yml
):
- Install packages
- Use property
installedPackages
- Use property
- Push sources
- Assign permission sets
- Use property
initPermissionSets
- Use property
- Run apex initialization scripts
- Use property
scratchOrgInitApexScripts
- Use property
- Load data
- Use property
dataPackages
- Use property
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
debug -d |
boolean | Activate debug mode (more logs) | |||
flags-dir | option | undefined | |||
forcenew -n |
boolean | If an existing scratch org exists, do not reuse it but create a new one | |||
json | boolean | Format output as json. | |||
pool | boolean | Creates the scratch org for a scratch org pool | |||
skipauth | boolean | Skip authentication check when a default username is required | |||
target-dev-hub -v |
option | undefined | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sf hardis:scratch:create