UNPKG

alwaysai

Version:

The alwaysAI command-line interface (CLI)

29 lines 969 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const run_1 = require("./run"); const run_foreground_sync_1 = require("./run-foreground-sync"); const run_foreground_1 = require("./run-foreground"); const run_streaming_1 = require("./run-streaming"); function SpawnerBase(translate) { return { run(cmd) { return run_1.run(translate(cmd)); }, runForeground(cmd) { return run_foreground_1.runForeground(translate(cmd)); }, runForegroundSync(cmd) { return run_foreground_sync_1.runForegroundSync(translate(cmd)); }, runStreaming(cmd) { return run_streaming_1.runStreaming(translate(cmd)); }, }; } exports.SpawnerBase = SpawnerBase; exports.spawnerBase = { run: run_1.run, runForegroundSync: run_foreground_sync_1.runForegroundSync, runStreaming: run_streaming_1.runStreaming, }; //# sourceMappingURL=index.js.map