({
label,
defaultValue,
customValidate,
}: {
label: string
defaultValue?: string
customValidate?: StringFieldCustomValidateFn
})
| 144 | } |
| 145 | |
| 146 | export async function promptForOptionalSecretField({ |
| 147 | label, |
| 148 | defaultValue, |
| 149 | customValidate, |
| 150 | }: { |
| 151 | label: string |
| 152 | defaultValue?: string |
| 153 | customValidate?: StringFieldCustomValidateFn |
| 154 | }): Promise<string> { |
| 155 | return promptForStringField({ label, secret: true, required: false, defaultValue, customValidate }) |
| 156 | } |
| 157 | |
| 158 | export async function promptForOptionalNumberField({ |
| 159 | label, |
no test coverage detected