Skip to main content

generate()

generate(options, plugins, hooks?): Promise<undefined | { didEnd: string[]; didGenerate: string[]; didSetup: string[]; fileManager: FileManager; generatorOptions: NormalizedGeneratorOptions; pluginNames: string[]; watching: boolean; changedFile?: WatcherFile; }>

Parameters

ParameterType

options

GeneratorOptions

plugins

GeneratorPluginV1<unknown>[]

hooks?

GeneratorHooks

Returns

Promise<undefined | { didEnd: string[]; didGenerate: string[]; didSetup: string[]; fileManager: FileManager; generatorOptions: NormalizedGeneratorOptions; pluginNames: string[]; watching: boolean; changedFile?: WatcherFile; }>