@quenty/nevermore-template-helpers
Version:
Helpers to generate Nevermore package and game templates
21 lines • 675 B
TypeScript
/**
* Helps with directory template creation
*/
/**
* Helper class for handling folder templates
*/
export declare class TemplateHelper {
/**
* Makes the string upper camel case
*/
static camelize(str: string): string;
/**
* Ensures a folder exists or specifies a dryrun
*/
static ensureFolderAsync(folderName: string, dryrun: boolean): Promise<void>;
/**
* Converts a template into a directory while replacing components with different names.
*/
static createDirectoryContentsAsync(templatePath: string, targetPath: string, input: any, dryrun: boolean): Promise<void>;
}
//# sourceMappingURL=templateHelpers.d.ts.map