Skip to content

GenerateContents

@aurorajs.dev/catalyst-cli


@aurorajs.dev/catalyst-cli / generator/engine/file-manager / generateContents

generateContents(logger, originPath, relativeTargetBasePath, relativeTargetPath, options?, result?): Promise<void>

Defined in: generator/engine/file-manager.ts:148

Recursively walk a template directory on disk and generate every file within it into the target location. Applies filename substitution, exclusion filters (excludedFiles, excludedOperations) and the overwrite rules defined in GenerateOptions.

Use generateFromTemplate unless you need to generate from a custom directory outside the bundled template tree.

FileLogger

string

string

string

GenerateOptions = {}

GenerationResult = ...

Promise<void>