npm install --save extra-prompts
# or
yarn add extra-prompts
function text(message: string): Promise<string>
function password(message: string): Promise<string>
function invisible(message: string): Promise<string>
function confirm(message: string, defaultValue: boolean): Promise<boolean>
interface IOption<T> {
label: string
value: T
}
function select<T>(message: string, options: IOption<T>[]): Promise<T>
function waitForInput(
message: string
, predicate?: (key: string) => boolean
): Promise<string>