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).
Parameters
Section titled “Parameters”preview
Section titled “preview”From planGeneration.
Overwrite policy, progress and cancellation.
Returns
Section titled “Returns”Promise<AepCommandResult>
What was written.
Throws
Section titled “Throws”file-exists listing every existing path, under the default policy.