MCPcopy
hub / github.com/prisma/prisma / help

Method help

packages/cli/src/DebugInfo.ts:40–46  ·  view source on GitHub ↗
(error?: string)

Source from the content-addressed store, hash-verified

38`)
39
40 public help(error?: string): string | HelpError {
41 if (error) {
42 return new HelpError(`\n${bold(red(`!`))} ${error}\n${DebugInfo.help}`)
43 }
44
45 return DebugInfo.help
46 }
47
48 async parse(argv: string[], config: PrismaConfigInternal, baseDir: string = process.cwd()): Promise<string | Error> {
49 const args = arg(argv, {

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected