GenerateOptions
@aurorajs.dev/catalyst-cli / generator/engine/file-manager / GenerateOptions
Interface: GenerateOptions
Section titled “Interface: GenerateOptions”Defined in: generator/engine/file-manager.ts:49
Options accepted by generateFromTemplate and generateContents.
All fields are optional. The ones related to filtering (excludedFiles,
excludedOperations) and iteration context (currentProperty,
currentAdditionalApi) are set internally when the generator expands a
template group; callers typically only set force, lockFiles,
templateData, verbose and the bounded-context/module identifiers.
Properties
Section titled “Properties”boundedContextName?
Section titled “boundedContextName?”
optionalboundedContextName?:string
Defined in: generator/engine/file-manager.ts:51
Bounded context name used for filename substitution (e.g. __bounded_context_name__).
currentAdditionalApi?
Section titled “currentAdditionalApi?”
optionalcurrentAdditionalApi?:AdditionalApi
Defined in: generator/engine/file-manager.ts:53
Currently iterated additional API when expanding additional-@api templates.
currentProperty?
Section titled “currentProperty?”
optionalcurrentProperty?:Property
Defined in: generator/engine/file-manager.ts:55
Currently iterated property when expanding per-property templates.
excludedFiles?
Section titled “excludedFiles?”
optionalexcludedFiles?:string[]
Defined in: generator/engine/file-manager.ts:57
File path globs excluded from generation for this module.
excludedOperations?
Section titled “excludedOperations?”
optionalexcludedOperations?:string[]
Defined in: generator/engine/file-manager.ts:59
CRUD operations excluded for this module (e.g. delete, update).
force?
Section titled “force?”
optionalforce?:boolean
Defined in: generator/engine/file-manager.ts:61
If true, overwrite existing files respecting the lockfile integrity check.
lockFiles?
Section titled “lockFiles?”
optionallockFiles?:LockFile[]
Defined in: generator/engine/file-manager.ts:63
Existing lockfile entries consulted when a file already exists on disk.
moduleName?
Section titled “moduleName?”
optionalmoduleName?:string
Defined in: generator/engine/file-manager.ts:65
Module name used for filename substitution (__module_name__).
moduleNames?
Section titled “moduleNames?”
optionalmoduleNames?:string
Defined in: generator/engine/file-manager.ts:67
Plural form of the module name (__module_names__).
templateData?
Section titled “templateData?”
optionaltemplateData?:TemplateData
Defined in: generator/engine/file-manager.ts:69
Data passed into the Eta renderer as it.
useTemplateEngine?
Section titled “useTemplateEngine?”
optionaluseTemplateEngine?:boolean
Defined in: generator/engine/file-manager.ts:71
If false, skip Eta rendering and copy the template contents verbatim.
verbose?
Section titled “verbose?”
optionalverbose?:boolean
Defined in: generator/engine/file-manager.ts:73
If true, log per-file and per-region detail under INFO/OVERWRITE/REGION tags.