draaft
Version:
A CLI to pull content from https://pilot.pm content collaboration platform and feed your static site generator with markdown files
7 lines (6 loc) • 460 B
TypeScript
export declare const IMAGE_DIR: string;
export declare function ensureDir(dirPath: string): void;
export declare function createFile(filePath: string, content: string): void;
export declare function createFileSafe(filePath: string, content: string): void;
export declare function createContentFile(dirPath: string, fileName: string, content: string): void;
export declare function createImageFile(dirPath: string, imageName: string, axiosResponse: any): void;