Ir al contenido

GenerateOptions

@aurorajs.dev/catalyst-cli


@aurorajs.dev/catalyst-cli / generator/engine/file-manager / 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.

optional boundedContextName?: string

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

Bounded context name used for filename substitution (e.g. __bounded_context_name__).


optional currentAdditionalApi?: AdditionalApi

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

Currently iterated additional API when expanding additional-@api templates.


optional currentProperty?: Property

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

Currently iterated property when expanding per-property templates.


optional excludedFiles?: string[]

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

File path globs excluded from generation for this module.


optional excludedOperations?: string[]

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

CRUD operations excluded for this module (e.g. delete, update).


optional force?: boolean

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

If true, overwrite existing files respecting the lockfile integrity check.


optional lockFiles?: LockFile[]

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

Existing lockfile entries consulted when a file already exists on disk.


optional moduleName?: string

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

Module name used for filename substitution (__module_name__).


optional moduleNames?: string

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

Plural form of the module name (__module_names__).


optional templateData?: TemplateData

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

Data passed into the Eta renderer as it.


optional useTemplateEngine?: boolean

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

If false, skip Eta rendering and copy the template contents verbatim.


optional verbose?: boolean

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

If true, log per-file detail under INFO/OVERWRITE tags.