UNPKG

create-esmx

Version:

A scaffold tool for creating Esmx projects

18 lines (17 loc) 600 B
import type { TemplateInfo, TemplateVariables } from './types'; /** * Get version of esmx from package.json */ export declare function getEsmxVersion(): string; /** * Get list of available templates */ export declare function getAvailableTemplates(): TemplateInfo[]; /** * Check if directory is empty (ignoring hidden files) */ export declare function isDirectoryEmpty(dirPath: string): boolean; /** * Copy template files to target directory with variable replacement */ export declare function copyTemplateFiles(templatePath: string, targetPath: string, variables: TemplateVariables): void;