UNPKG

@curvenote/cli

Version:
90 lines 2 kB
declare function title(opts: { title: string; }): { name: string; type: string; message: string; default: string; }; declare function content(opts: { folderIsEmpty: boolean; }): { name: string; type: string; message: string; choices: ({ name: string; value: string; disabled: boolean; } | { name: string; value: string; disabled?: undefined; })[]; }; declare function nestedProjectChoice(opts: { projectPaths: string[]; }): { name: string; type: string; message: string; choices: { name: string; value: string; short: string; }[]; }; declare function projectLink(opts?: { projectLink?: string; }): { name: string; message: string; type: string; default: string; }; declare function githubUrl(): { name: string; message: string; type: string; validate: (input: string) => true | "GitHub URL is required" | "Please provide a valid GitHub repository URL"; }; declare function githubFolder(opts: { defaultFolder: string; }): { name: string; message: string; type: string; default: string; validate: (input: string) => true | "Folder name is required"; }; declare function projectPath(path?: string): { name: string; message: string; type: string; default: boolean; }; declare function start(): { name: string; message: string; type: string; default: boolean; }; declare function pull(): { name: string; message: string; type: string; default: boolean; }; declare const _default: { title: typeof title; content: typeof content; nestedProjectChoice: typeof nestedProjectChoice; projectLink: typeof projectLink; githubUrl: typeof githubUrl; githubFolder: typeof githubFolder; projectPath: typeof projectPath; start: typeof start; pull: typeof pull; }; export default _default; //# sourceMappingURL=questions.d.ts.map