UNPKG

penguins-eggs

Version:

A remaster system tool, compatible with Arch, Debian, Devuan, Ubuntu and others

40 lines (39 loc) 873 B
/** * ./src/classes/utils.d/user-interaction.ts * penguins-eggs v.10.0.0 / ecmascript 2020 * User interaction utilities - prompts, confirmations, user input * author: Piero Proietti * email: piero.proietti@gmail.com * license: MIT */ export default class UserInteraction { /** * * @param msg */ static customConfirm(msg?: string): Promise<boolean>; /** * * @param msg */ static customConfirmCompanion(msg?: string): Promise<any>; /** * * @param msg */ static customConfirmAbort(msg?: string): Promise<any>; /** * */ static pressKeyToExit(warming?: string, procContinue?: boolean): Promise<void>; /** * * @param command */ static useRoot(command?: string): void; /** * * @param verbose */ static setEcho(verbose?: boolean): object; }