UNPKG

lerna

Version:

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

20 lines (19 loc) 594 B
/** * Prompt for confirmation */ export declare function promptConfirmation(message: string): Promise<boolean>; /** * Prompt for selection */ export declare function promptSelectOne(message: string, { choices, filter, validate, }?: { choices?: any; filter?: (input: string) => string; validate?: (input: string) => string | boolean; }): Promise<string>; /** * Prompt for input */ export declare function promptTextInput(message: string, { filter, validate, }?: { filter?: (input: string) => string; validate?: (input: string) => string | boolean; }): Promise<string>;