Documentation
    Preparing search index...

    Function askChoice

    • Prompt the user to select from a list of choices.

      Type Parameters

      • T = string

      Parameters

      • message: string
      • choices: (string | { name: string; value: T })[]

      Returns Promise<T>