Dynamic module promptly

Index

Interfaces

Functions

Functions

choose(message: string, choices: Array<string>, fn?: Callback): any

Parameters

  • message: string
  • choices: Array<string>
  • fn?: Callback optional

Returns

any

choose(message: string, choices: Array<string>, opts: Options, fn?: Callback): any

Parameters

  • message: string
  • choices: Array<string>
  • opts: Options
  • fn?: Callback optional

Returns

any

confirm(message: string, fn?: Callback): any

Parameters

  • message: string
  • fn?: Callback optional

Returns

any

confirm(message: string, opts: Options, fn?: Callback): any

Parameters

Returns

any

password(message: string, fn?: Callback): any

Parameters

  • message: string
  • fn?: Callback optional

Returns

any

password(message: string, opts: Options, fn?: Callback): any

Parameters

Returns

any

prompt(message: string, fn?: Callback): any

Parameters

  • message: string
  • fn?: Callback optional

Returns

any

prompt(message: string, opts: Options, fn?: Callback): any

Parameters

Returns

any