Skip to content

applyGeneration

applyGeneration(preview, ctx?): Promise<AepCommandResult>

Defined in: packages/simply-aep-core/src/generate/generation.ts:88

Writes a preview. Refuses to replace an existing file unless ctx.overwrite is overwrite (or skip, which leaves it alone).

GenerationPreview

From planGeneration.

GenerationApplyContext

Overwrite policy, progress and cancellation.

Promise<AepCommandResult>

What was written.

file-exists listing every existing path, under the default policy.