Skip to content

bootstrapPack

bootstrapPack(id, options): Promise<BootstrapResult>

Defined in: packages/declarative-hex-worlds/src/cli/commands/bootstrap/pack-bootstrap.ts:76

Fetch a registered pack by id from its upstream GitHub archive into <rawAssetsRoot>/<packId>/. Throws a clear error for an unknown pack id (via packDescriptor). The per-pack subdir is computed here (not caller-chosen) so the fetched pack is always locatable by the default-source resolvers.

string

BootstrapPackOptions

Promise<BootstrapResult>