Skip to content

hardis:scratch:pool:create

Description

Select a data storage service and configure information to build a scratch org pool

This command requires human interaction and must be called manually, preferably from the VS Code SFDX Hardis UI. It is not suitable for automation or AI agent usage.

Run the command, follow instruction, then you need to schedule a daily CI job for the pool maintenance:

- Define CI ENV variable SCRATCH_ORG_POOL with value "true"

- Call the following lines in the CI job:

  sf hardis:auth:login --devhub
  sf hardis:scratch:pool:refresh

Parameters

Name Type Description Default Required Options
debug
-d
boolean Activate debug mode (more logs)
flags-dir option undefined
json boolean Format output as json.
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:pool:configure