interface Prompter

Asks the scaffold questions setu new accepts as flags.

Methods

select(
question: string,
choices: readonly PromptChoice[]
): Promise<string | undefined>

Asks one question and reports the chosen value.

Usage

import { type Prompter } from "cli/src/index.ts";