UNPKG

chdman

Version:

💿 chdman binaries and wrapper for Node.js.

22 lines (21 loc) • 587 B
export interface ChdmanRunOptions { binaryPreference?: ChdmanBinaryPreference; logStd?: boolean; } export declare enum ChdmanBinaryPreference { PREFER_BUNDLED_BINARY = 1, PREFER_PATH_BINARY = 2 } /** * Code to find and interact with the `chdman` binary. */ export default class ChdmanBin { private static CHDMAN_BIN; private static getBinPath; private static getBinPathBundled; private static getBinPathExisting; /** * Run chdman with some arguments. */ static run(arguments_: string[], options?: ChdmanRunOptions): Promise<string>; }