({
label,
defaultValue,
customValidate,
}: {
label: string
defaultValue?: string
customValidate?: StringFieldCustomValidateFn
})
| 88 | } |
| 89 | |
| 90 | export async function promptForOptionalStringField({ |
| 91 | label, |
| 92 | defaultValue, |
| 93 | customValidate, |
| 94 | }: { |
| 95 | label: string |
| 96 | defaultValue?: string |
| 97 | customValidate?: StringFieldCustomValidateFn |
| 98 | }): Promise<string> { |
| 99 | return promptForStringField({ label, secret: false, required: false, defaultValue, customValidate }) |
| 100 | } |
| 101 | |
| 102 | export async function promptForRequiredStringPortField({ |
| 103 | label, |
no test coverage detected