t-comm
Version:
专业、稳定、纯粹的工具库
14 lines (13 loc) • 587 B
TypeScript
import type { ReplaceContentOption } from './types';
export declare function replaceContent({ replaceList, targetProject, }: {
replaceList: ReplaceContentOption[];
targetProject: string;
}): void;
export declare function execCommandInTarget(command: string, targetProject: string): void;
export declare function replaceEachContent({ dirList, to, from, targetProject, }: {
dirList: string[];
to: ReplaceContentOption['to'];
from: ReplaceContentOption['from'];
targetProject: string;
}): void;
export declare function log(content: string, ...args: string[]): void;