GenerateOptions
@aurorajs.dev/catalyst-cli / generator/engine/file-manager / GenerateOptions
Interface: GenerateOptions
Section titled “Interface: GenerateOptions”Defined in: generator/engine/file-manager.ts:39
Options for generateFromTemplate and generateContents.
Filtering and iteration-context fields are set internally when expanding template groups;
callers typically only set force, lockFiles, templateData, verbose, and the BC/module identifiers.
Properties
Section titled “Properties”boundedContextName?
Section titled “boundedContextName?”
optionalboundedContextName?:string
Defined in: generator/engine/file-manager.ts:41
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:43
Currently iterated additional API when expanding additional-@api templates.
currentProperty?
Section titled “currentProperty?”
optionalcurrentProperty?:Property
Defined in: generator/engine/file-manager.ts:45
Currently iterated property when expanding per-property templates.
excludedFiles?
Section titled “excludedFiles?”
optionalexcludedFiles?:string[]
Defined in: generator/engine/file-manager.ts:47
File path globs excluded from generation for this module.
excludedOperations?
Section titled “excludedOperations?”
optionalexcludedOperations?:string[]
Defined in: generator/engine/file-manager.ts:49
CRUD operations excluded for this module (e.g. delete, update).
force?
Section titled “force?”
optionalforce?:boolean
Defined in: generator/engine/file-manager.ts:51
If true, overwrite existing files respecting the lockfile integrity check.
lockFiles?
Section titled “lockFiles?”
optionallockFiles?:LockFile[]
Defined in: generator/engine/file-manager.ts:53
Existing lockfile entries consulted when a file already exists on disk.
moduleName?
Section titled “moduleName?”
optionalmoduleName?:string
Defined in: generator/engine/file-manager.ts:55
Module name used for filename substitution (__module_name__).
moduleNames?
Section titled “moduleNames?”
optionalmoduleNames?:string
Defined in: generator/engine/file-manager.ts:57
Plural form of the module name (__module_names__).
templateData?
Section titled “templateData?”
optionaltemplateData?:TemplateData
Defined in: generator/engine/file-manager.ts:59
Data passed into the Eta renderer as it.
useTemplateEngine?
Section titled “useTemplateEngine?”
optionaluseTemplateEngine?:boolean
Defined in: generator/engine/file-manager.ts:61
If false, skip Eta rendering and copy the template contents verbatim.
verbose?
Section titled “verbose?”
optionalverbose?:boolean
Defined in: generator/engine/file-manager.ts:63
If true, log per-file detail under INFO/OVERWRITE tags.