({
label,
defaultValue,
customValidate,
}: {
label: string
defaultValue?: string
customValidate?: StringFieldCustomValidateFn
})
| 76 | } |
| 77 | |
| 78 | export async function promptForRequiredStringField({ |
| 79 | label, |
| 80 | defaultValue, |
| 81 | customValidate, |
| 82 | }: { |
| 83 | label: string |
| 84 | defaultValue?: string |
| 85 | customValidate?: StringFieldCustomValidateFn |
| 86 | }): Promise<string> { |
| 87 | return promptForStringField({ label, secret: false, required: true, defaultValue, customValidate }) |
| 88 | } |
| 89 | |
| 90 | export async function promptForOptionalStringField({ |
| 91 | label, |
no test coverage detected