UNPKG

lerna

Version:

Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository

18 lines (17 loc) 631 B
import inquirer from "inquirer"; /** * Prompt for confirmation */ export declare function promptConfirmation(message: string): Promise<boolean>; type PromptSelectOneOptions = Partial<{ choices: inquirer.ListChoiceOptions[]; } & Pick<inquirer.Question, "filter" | "validate">>; /** * Prompt for selection */ export declare function promptSelectOne(message: string, { choices, filter, validate }?: PromptSelectOneOptions): Promise<string>; /** * Prompt for input */ export declare function promptTextInput(message: string, { filter, validate }?: Pick<inquirer.Question, "filter" | "validate">): Promise<string>; export {};