wv-gotcha
Version:
 wv-local-service-bus # Purpose To accumulate your walkthroughs to accomplish your common tasks with less effort.
27 lines • 1.47 kB
TypeScript
import { Background, Foreground } from "decova-terminal";
export declare class Shell {
static yesOrNoAsync(question: string): Promise<boolean>;
static getTimeStamp(): string;
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 printList(header: string, items: string[]): void;
static printDangerList(header: string, items: string[]): void;
static exec(cmd: string, currentDir?: string | null): void;
static confirmThenExecAsync(cmd: string, explanation: string): Promise<void>;
static ShowCompletion(): void;
static instructAsync(instruction: string, ackMessage?: string | null): Promise<void>;
static error(error: string): void;
static terminate(error: string): void;
static warning(message: string): void;
static assert(message: string): Promise<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>;
static RunForStdout(cmd: string): string;
static openInBrowser(url: string): void;
}
//# sourceMappingURL=Shell.d.ts.map