(message: string)
| 704 | } |
| 705 | |
| 706 | async confirm(message: string): Promise<boolean> { |
| 707 | const answer = await this.question(`${message} [y/N]: `); |
| 708 | return answer.toLowerCase() === "y" || answer.toLowerCase() === "yes"; |
| 709 | } |
| 710 | |
| 711 | async selectMainAction(): Promise<"priority" | "select" | "type" | "name" | "quit"> { |
| 712 | console.log("\n请选择操作:"); |
no test coverage detected