wv-gotcha
Version:
 wv-local-service-bus # Purpose To accumulate your walkthroughs to accomplish your common tasks with less effort.
20 lines • 1.16 kB
TypeScript
import { Background, Foreground } from "decova-terminal";
export declare class Dialog {
static yesOrNoAsync(question: string): Promise<boolean>;
static pickWalkghrough(): Promise<void>;
static log(text: string, foreground?: Foreground, background?: Background, tabs?: number, isBold?: boolean, isItalic?: boolean, isStrikedOut?: boolean, isUnderlined?: boolean, isDimmed?: boolean): void;
static exec(cmd: string, currentDir?: string | null): void;
static confirmThenExecAsync(cmd: string, explanation?: string | undefined): Promise<void>;
static ShowCompletion(): void;
static instructAsync(instruction: string, ackMessage?: string | null): Promise<void>;
static error(error: string): void;
static warning(message: string): void;
static info(info: string): void;
static success(message: string): void;
private static _showQuestion;
static askForTextAsync(question: string): Promise<string>;
static openExplorerAsync(dirPath: string): Promise<void>;
static hintWillExec(hint: string): void;
static promptContinueAsync(): Promise<void>;
}
//# sourceMappingURL=Dialog.d.ts.map