You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
725 B
12 lines
725 B
import execa from 'execa';
|
|
export declare type TemplateConfig = {
|
|
placeholderName: string;
|
|
templateDir: string;
|
|
postInitScript?: string;
|
|
titlePlaceholder?: string;
|
|
};
|
|
export declare function installTemplatePackage(templateName: string, root: string, npm?: boolean): Promise<execa.ExecaReturns>;
|
|
export declare function getTemplateConfig(templateName: string, templateSourceDir: string): TemplateConfig;
|
|
export declare function copyTemplate(templateName: string, templateDir: string, templateSourceDir: string): Promise<void>;
|
|
export declare function executePostInitScript(templateName: string, postInitScript: string, templateSourceDir: string): execa.ExecaChildProcess;
|
|
//# sourceMappingURL=template.d.ts.map
|