Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QuestionContext

Hierarchy

  • QuestionContext

Index

Constructors

  • new QuestionContext(stdin?: ReadStream, stdout?: WriteStream): QuestionContext

Methods

  • askBoolean(title: string, yes?: string[], no?: string[], def?: boolean): Promise<boolean>
  • askNumber(title: string, def?: number): Promise<number>
  • askString(title: string): Promise<string>
  • newInterface(): Interface

Generated using TypeDoc