MCPcopy
hub / github.com/prisma/prisma / new

Method new

packages/cli/src/CLI.ts:16–22  ·  view source on GitHub ↗
(
    cmds: Commands,
    ensureBinaries: string[],
    download: (options: DownloadOptions) => Promise<BinaryPaths>,
  )

Source from the content-addressed store, hash-verified

14 */
15export class CLI implements Command {
16 static new(
17 cmds: Commands,
18 ensureBinaries: string[],
19 download: (options: DownloadOptions) => Promise<BinaryPaths>,
20 ): CLI {
21 return new CLI(cmds, ensureBinaries, download)
22 }
23
24 private constructor(
25 private readonly cmds: Commands,

Callers 11

loadSchemaEngineFunction · 0.45
lintSchema.test.tsFile · 0.45
mainFunction · 0.45
parseMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected