UNPKG

intreface.cli

Version:

Intreface Dev Tools

10 lines (9 loc) 548 B
import { Config, Dictionary } from "../@types/common"; export declare const isWin: boolean; export declare const getDirectoryList: (directory: string) => string[]; export declare const isServiceRunning: (name: string) => boolean; export declare const serverNginxRestart: () => Promise<void>; export declare const readConfig: () => Config; export declare const writeConfig: (config: Dictionary<any>) => void; export declare const prettyJSON: (obj: Dictionary<any>) => string; export declare const timeout: (ms: number) => Promise<unknown>;