@optro/create-trello-powerup
Version:
Easily create Trello Power-Ups from the Command Line
12 lines (11 loc) • 840 B
TypeScript
export declare function downloadRepo(url: string, destination: string): Promise<void>;
export declare function deleteFile(path: string): void;
export declare function deleteFolder(path: string): void;
export declare function copyFolder(source: string, destination: string): void;
export declare function copyFile(source: string, destination: string): void;
export declare function writeToFile(path: string, contents: string): void;
export declare function doesFolderExist(folderName: string): boolean;
export declare function readJsonFile(filePath: string): any;
export declare function writeJsonFile(filePath: string, jsonContents: any): void;
export declare function deleteDependency(filePath: string, packageName: string): void;
export declare function addDependency(filePath: string, packageName: string, packageVersion: string): void;