const newSeatCount = await io.input.number('New seat count')
console.log(newSeatCount) // 5
The label to render above the input.
Default value rendered in input. Default 0
.
Default value rendered in input. Default 1
.
Default value rendered in input. Default undefined
.
Default value rendered in input. Default undefined
.
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.