@stacksjs/gitit
Version:
A simple way to programmatically download templates.
7 lines (6 loc) • 566 B
TypeScript
import type { DownloadTemplateOptions, DownloadTemplateResult, Hooks, InstallOptions, TemplateProvider } from './types';
declare function installDependencies(options: InstallOptions): Promise<void>;
declare function extractTar(options: GitItExtractOptions): Promise<void>;
declare function loadHooks(options: DownloadTemplateOptions): Hooks;
declare function loadProviders(options: DownloadTemplateOptions): Record<string, TemplateProvider>;
export declare function downloadTemplate(input: string, options: DownloadTemplateOptions): Promise<DownloadTemplateResult>;