Skip to content

PromptConfirmQuestion

@tsed/cli-prompts

Usage ​

typescript
import { PromptConfirmQuestion } from "@tsed/cli-prompts";

See /packages/cli-prompts/src/interfaces/PromptQuestion.ts.

Overview ​

ts
interface PromptConfirmQuestion extends PromptBaseQuestion<boolean>, Omit<ConfirmOptions, "message"> {
    type: "confirm";
}

Description ​

Boolean confirmation prompt (yes/no).

type ​

ts
type: "confirm";

Released under the MIT License.