Properties
Optional align
align?: "left" | "right"
choices
Optional delay
delay?: number
Optional edgeLength
edgeLength?: number
Optional initial
initial?: number
Optional linebreak
linebreak?: boolean
Optional maxChoices
maxChoices?: number
message
message: string | (() => string) | (() => Promise<string>)
Optional muliple
muliple?: boolean
name
name: string | (() => string)
Optional required
required?: boolean
Optional scroll
scroll?: boolean
Optional separator
separator?: boolean
Optional skip
skip?: boolean | ((state: object) => boolean | Promise<boolean>)
Optional sort
sort?: boolean
Optional stdin
stdin?: ReadStream
Optional stdout
stdout?: WriteStream
type
type: "autocomplete" | "editable" | "form" | "multiselect" | "select" | "survey" | "list" | "scale"