AbstractGenerator.write() method
Home > @keymanapp/kmc-generate > AbstractGenerator > write
AbstractGenerator.write() method
Write artifacts from a successful compile to disk, via callbacks methods. The artifacts written will include all files from the project, across multiple folders. Folders will be created as needed
Signature:
write(artifacts: GeneratorArtifacts): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
artifacts | GeneratorArtifacts | object containing artifact binary data to write out |
Returns:
Promise<boolean>
true on success