nestch
Version:
A CLI tool for renaming NestJS resource names easily.
18 lines • 553 B
TypeScript
export declare class RenameResCommand {
private oldName;
private newName;
private readonly srcPath;
private found;
private readonly renamedFiles;
private readonly updatedFiles;
constructor();
execute(oldName: string, newName: string): Promise<void>;
private checkFileContentForOldName;
private checkOldNameExists;
private renameInProject;
private renameEntry;
private renameFilesAndDirs;
private replaceContentInFile;
private updateFileContents;
}
//# sourceMappingURL=rename-resource.d.ts.map