UNPKG

@curvenote/cli

Version:
17 lines 996 B
import type { ProjectConfig } from 'myst-config'; import type { ISession } from '../../session/types.js'; import type { TemplateQuestionSpec } from './types.js'; /** * Default template initialization questions * This array defines the questions asked after cloning a GitHub template * Order matters - questions are asked sequentially */ export declare const DEFAULT_TEMPLATE_INIT_QUESTIONS: TemplateQuestionSpec[]; /** * Run template initialization questions and return collected metadata * @param session The session object * @param targetPath The directory to check for template.yml (optional, defaults to checking current directory) * @param questionSpecs Optional custom question specifications (if not provided, will try to load from template.yml or use defaults) */ export declare function runTemplateInitQuestions(session: ISession, targetPath: string, defaultQuestions: TemplateQuestionSpec[]): Promise<Partial<ProjectConfig>>; //# sourceMappingURL=templateInitQuestions.d.ts.map