UNPKG

quickly-build

Version:

mistong web local build script.

24 lines (23 loc) 1.07 kB
/// <reference types="node" /> import readline from 'readline'; export declare const consoleRed: (str: any) => void; export declare const consoleGreen: (str: any) => void; export declare const consoleYellow: (str: any) => void; export declare const bashCmd: (bash: string) => Promise<unknown>; export declare const readlineJob: (txt: string) => Promise<{ env: string; rl: readline.Interface; }>; export declare const retry: (fnc: (timer?: number | undefined) => void, time: number | undefined, retryErrorCb: (err: Error, index: number) => void) => Promise<unknown>; declare const _default: { bashCmd: (bash: string) => Promise<unknown>; consoleRed: (str: any) => void; consoleGreen: (str: any) => void; consoleYellow: (str: any) => void; readlineJob: (txt: string) => Promise<{ env: string; rl: readline.Interface; }>; retry: (fnc: (timer?: number | undefined) => void, time: number | undefined, retryErrorCb: (err: Error, index: number) => void) => Promise<unknown>; }; export default _default;