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 |
---|---|---|---|---|---|
apiversion | option | override the api version used for api requests made by this command | |||
debug -d |
boolean | Activate debug mode (more logs) | |||
forcenew -n |
boolean | If an existing scratch org exists, do not reuse it but create a new one | |||
json | boolean | format output as json | |||
loglevel | option | logging level for this command invocation | warn | trace debug info warn error fatal |
|
pool -d |
boolean | Creates the scratch org for a scratch org pool | |||
skipauth | boolean | Skip authentication check when a default username is required | |||
targetdevhubusername -v |
option | username or alias for the dev hub org; overrides default dev hub org | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sfdx hardis:scratch:create