Function prompt

  • Prompt the user for input.

    Parameters

    • msg: string

      Message to ask the user.

    • Optional def: string

      Default value in case nothing was entered.

    Returns Promise<string | null>

Generated using TypeDoc