jatg
Version:
Just Another Template Generator
9 lines (8 loc) • 314 B
TypeScript
/**
* List all files in a directory
*
* @param inputPath The input file or directory
* @returns [dirPath, files]
*/
export declare function listAllFiles(inputPath: string): Promise<[string, string[]]>;
export declare function saveFile(outputPath: string, contents: string, overwrite: boolean): Promise<void>;