({
label,
defaultValue,
customValidate,
}: {
label: string
defaultValue?: string
customValidate?: StringFieldCustomValidateFn
})
| 132 | } |
| 133 | |
| 134 | export async function promptForRequiredSecretField({ |
| 135 | label, |
| 136 | defaultValue, |
| 137 | customValidate, |
| 138 | }: { |
| 139 | label: string |
| 140 | defaultValue?: string |
| 141 | customValidate?: StringFieldCustomValidateFn |
| 142 | }): Promise<string> { |
| 143 | return promptForStringField({ label, secret: true, required: true, defaultValue, customValidate }) |
| 144 | } |
| 145 | |
| 146 | export async function promptForOptionalSecretField({ |
| 147 | label, |
no test coverage detected