(error?: string)
| 45 | `) |
| 46 | |
| 47 | public help(error?: string): string | HelpError { |
| 48 | if (error) { |
| 49 | return new HelpError(`\n${bold(red(`!`))} ${error}\n${Version.help}`) |
| 50 | } |
| 51 | |
| 52 | return Version.help |
| 53 | } |
| 54 | |
| 55 | async parse(argv: string[], config: PrismaConfigInternal, baseDir: string = process.cwd()): Promise<string | Error> { |
| 56 | const args = arg(argv, { |