({
label,
defaultValue,
}: {
label: string
defaultValue?: string
})
| 116 | } |
| 117 | |
| 118 | export async function promptForOptionalStringPortField({ |
| 119 | label, |
| 120 | defaultValue, |
| 121 | }: { |
| 122 | label: string |
| 123 | defaultValue?: string |
| 124 | }): Promise<string> { |
| 125 | return promptForStringField({ |
| 126 | label, |
| 127 | secret: false, |
| 128 | required: false, |
| 129 | defaultValue, |
| 130 | customValidate: stringPortValidate, |
| 131 | }) |
| 132 | } |
| 133 | |
| 134 | export async function promptForRequiredSecretField({ |
| 135 | label, |
no test coverage detected