Properties
Optional initial
initial?: string
message
message: string | (() => string) | (() => Promise<string>)
Optional multiline
multiline?: boolean
name
name: string | (() => string)
Optional required
required?: boolean
Optional skip
skip?: boolean | ((state: object) => boolean | Promise<boolean>)
Optional stdin
stdin?: ReadStream
Optional stdout
stdout?: WriteStream
type
type: "list" | "input" | "invisible" | "password" | "text"