create-cosmos-app
Version:
Set up a modern Cosmos app by running one command ⚛️
23 lines (22 loc) • 818 B
TypeScript
type TemplateFolder = 'templates' | 'boilerplates' | 'examples';
export declare const getTemplateFolder: (argv: any) => Promise<TemplateFolder>;
export declare const cloneRepo: (argv: any, repo: any, name: any) => string;
export declare const getQuestionsAndAnswers: (argv: any, name: any, folderName: TemplateFolder) => Promise<any>;
export declare const getPackageLicAndAccessInfo: (results: any) => Promise<{
license: any;
scopedResults: any;
}>;
/**
* Replace all \\ to / for windows support purpose
* @param input
* @param options
* @returns
*/
export declare const crossGlob: (input: string, options?: object) => string[];
/**
* Unify all the path to posixPath for windows support purpose
* @param mixedPath
* @returns
*/
export declare const toPosixPath: (mixedPath: any) => string;
export {};