(error?: string)
| 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, { |