(message: string, defaultYes = true)
| 134 | } |
| 135 | |
| 136 | export async function confirm(message: string, defaultYes = true): Promise<boolean> { |
| 137 | const result = await clackConfirm({ message, initialValue: defaultYes }); |
| 138 | handleCancel(result); |
| 139 | return result as boolean; |
| 140 | } |
| 141 | |
| 142 | export async function text( |
| 143 | message: string, |
no test coverage detected