MCPcopy
hub / github.com/prisma/prisma / askAboutTemplate

Method askAboutTemplate

packages/cli/src/bootstrap/Bootstrap.ts:554–562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

552 }
553
554 private async askAboutTemplate(): Promise<string | null> {
555 const wantsTemplate = await confirm({
556 message: 'Create a starter app from a template?',
557 default: true,
558 })
559
560 if (!wantsTemplate) return null
561 return promptTemplateSelection()
562 }
563
564 private async askAboutSampleModel(): Promise<boolean> {
565 return confirm({

Callers 1

runMethod · 0.95

Calls 1

promptTemplateSelectionFunction · 0.90

Tested by

no test coverage detected