createScratchOrgOnHub
createScratchOrgOnHub(
hubAliasOrUsername,options):Promise<CreatedScratchOrg>
Defined in: packages/simply-cicd-core/src/sfOrg.ts:208
Creates a scratch org from a Dev Hub, as sf org create scratch --definition-file … --json does,
and returns the same result shape. The org is authenticated and source tracking is enabled, as
the CLI’s defaults.
Parameters
Section titled “Parameters”hubAliasOrUsername
Section titled “hubAliasOrUsername”string
The Dev Hub. Must already be authenticated.
options
Section titled “options”Returns
Section titled “Returns”Promise<CreatedScratchOrg>
Throws
Section titled “Throws”If signup fails or doesn’t finish within the wait.