MCPcopy
hub / github.com/prisma/prisma / unknownCommand

Function unknownCommand

packages/internals/src/cli/Help.ts:6–8  ·  view source on GitHub ↗
(helpTemplate: string, cmd: string)

Source from the content-addressed store, hash-verified

4 * Unknown command
5 */
6export function unknownCommand(helpTemplate: string, cmd: string): HelpError {
7 return new HelpError(`\n${bold(red(`!`))} Unknown command "${cmd}"\n${helpTemplate}`)
8}
9
10/**
11 * Custom help error used to display help

Callers 5

parseMethod · 0.90
parseMethod · 0.90
parseMethod · 0.90
parseMethod · 0.90
parseMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected