1 | import execa from 'execa';
|
2 | export declare type TemplateConfig = {
|
3 | placeholderName: string;
|
4 | templateDir: string;
|
5 | postInitScript?: string;
|
6 | titlePlaceholder?: string;
|
7 | };
|
8 | export declare function installTemplatePackage(templateName: string, root: string, npm?: boolean): Promise<execa.ExecaReturns>;
|
9 | export declare function getTemplateConfig(templateName: string, templateSourceDir: string): TemplateConfig;
|
10 | export declare function copyTemplate(templateName: string, templateDir: string, templateSourceDir: string): Promise<void>;
|
11 | export declare function executePostInitScript(templateName: string, postInitScript: string, templateSourceDir: string): execa.ExecaChildProcess;
|
12 |
|
\ | No newline at end of file |