1 | export declare function getRootPath(): string;
|
2 | export declare function getPkgVersion(): string;
|
3 | export declare function getPkgItemByKey(key: string): any;
|
4 | export declare function printPkgVersion(): void;
|
5 | export declare const getAllFilesInFolder: (folder: string, filter?: string[]) => Promise<string[]>;
|
6 | export type TemplateSourceType = 'git' | 'url';
|
7 | export declare function getTemplateSourceType(url: string): TemplateSourceType;
|
8 | interface FileStat {
|
9 | name: string;
|
10 | isDirectory: boolean;
|
11 | isFile: boolean;
|
12 | }
|
13 | export declare function readDirWithFileTypes(folder: string): FileStat[];
|
14 | export declare function printDevelopmentTip(platform: string): void;
|
15 | export declare function clearConsole(): void;
|
16 | export declare function execCommand(params: {
|
17 | command: string;
|
18 | successCallback?: (data: string) => void;
|
19 | failCallback?: (data: string) => void;
|
20 | }): void;
|
21 | export declare function getPkgNameByFilterVersion(pkgString: string): string;
|
22 | export declare function isNil(value: any): value is null | undefined;
|
23 | export {};
|