const employeeEmail = await io.input.email('Employee email')
console.log(employeeEmail) // e.ripley@internalstack.com
The label to render above the input.
Default value rendered in input. Default ''
.
Disables user input. Default false
.
The small help text to render below the input. Default undefined
.
The placeholder to render within the input. Default undefined
.
An asynchronous function that takes unknown
input and outputs either true
or an error message string
to show the user.