Skip to content

BootstrapKayKitAssetsSource

BootstrapKayKitAssetsSource = { commit?: string; kind: "github"; } | { kind: "zip"; path: string; }

Defined in: src/cli/commands/bootstrap/core.ts:71

Source descriptor for BootstrapKayKitAssetsOptions. Discriminates between fetching from the upstream GitHub repo and extracting a locally cached zip archive.

{ commit?: string; kind: "github"; }

readonly optional commit?: string

Optional git ref (commit / tag / branch). Defaults to KAYKIT_FREE_GITHUB_DEFAULT_REF.

readonly kind: "github"

Source kind discriminator selecting the upstream-GitHub tarball path.


{ kind: "zip"; path: string; }

readonly kind: "zip"

Source kind discriminator selecting the local-zip extraction path.

readonly path: string

Filesystem path of the locally cached pack zip.