Skip to main content

InitTemplateBase.generate() method

Generates the project files from the template.

Signature

abstract generate(): Promise<void>;

Returns

Promise<void>

A promise that resolves when generation is complete.

Remarks

This abstract method must be implemented by derived classes to define the specific files and folder structure to create for the project. Implementations should use InitTemplateBase.copyFile(), InitTemplateBase.copyFolder(), and InitTemplateBase.render() to create the project structure. The substitution variables are available via the InitTemplateBase.substitutionsVariables property.

The implementation must be asynchronous to allow for file system operations.


Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.57.2.