import { TemplateApplicatorService } from "https://deno.land/x/momentum@v0.8.2/cli/commands/generate-file/template-applicator.service.ts";
Constructors
new
TemplateApplicatorService(fileIOService: FileIOService, systemService: SystemService)Methods
private
applyDenoFmt(filePath: string)private
injectImportIntoModuleFile(commandParameters: GenerateFileCommandParameters,
moduleFile: FileInfo,
updatedModuleFileContents: string,
private
injectItemIntoModuleOptions(commandParameters: GenerateFileCommandParameters, originalModuleFileContents: string)addGeneratedFileToModule(commandParameters: GenerateFileCommandParameters)
applySchematicNameTemplating(commandParameters: GenerateFileCommandParameters, schematicFileName: string)
applySchematicTemplating(commandParameters: GenerateFileCommandParameters, schematicFileContents: string)
writeGeneratedFile(commandParameters: GenerateFileCommandParameters, fileContents: string)