({
label,
defaultValue,
}: {
label: string
defaultValue?: string
})
| 100 | } |
| 101 | |
| 102 | export async function promptForRequiredStringPortField({ |
| 103 | label, |
| 104 | defaultValue, |
| 105 | }: { |
| 106 | label: string |
| 107 | defaultValue?: string |
| 108 | }): Promise<string> { |
| 109 | return promptForStringField({ |
| 110 | label, |
| 111 | secret: false, |
| 112 | required: true, |
| 113 | defaultValue, |
| 114 | customValidate: stringPortValidate, |
| 115 | }) |
| 116 | } |
| 117 | |
| 118 | export async function promptForOptionalStringPortField({ |
| 119 | label, |
no test coverage detected