({
label,
defaultValue,
}: {
label: string
defaultValue?: boolean
})
| 196 | } |
| 197 | |
| 198 | export async function promptForBooleanField({ |
| 199 | label, |
| 200 | defaultValue, |
| 201 | }: { |
| 202 | label: string |
| 203 | defaultValue?: boolean |
| 204 | }): Promise<boolean> { |
| 205 | return confirm({ |
| 206 | message: label, |
| 207 | default: defaultValue, |
| 208 | }) |
| 209 | } |
no outgoing calls
no test coverage detected