UNPKG

dolphin-tool

Version:

🐬 dolphin-tool binaries and wrapper for Node.js.

22 lines (21 loc) 630 B
export interface DolphinToolRunOptions { binaryPreference?: DolphinToolBinaryPreference; logStd?: boolean; } export declare enum DolphinToolBinaryPreference { PREFER_BUNDLED_BINARY = 1, PREFER_PATH_BINARY = 2 } /** * Code to find and interact with the `dolphin-tool` binary. */ export default class DolphinToolBin { private static DOLPHIN_TOOL_BIN; private static getBinPath; private static getBinPathBundled; private static getBinPathExisting; /** * Run dolphin-tool with some arguments. */ static run(arguments_: string[], options?: DolphinToolRunOptions): Promise<string>; }