vlt
Version:
The vlt CLI
68 lines (64 loc) • 2.12 kB
JavaScript
var global = globalThis;
import {Buffer} from "node:buffer";
import {setTimeout,clearTimeout,setImmediate,clearImmediate,setInterval,clearInterval} from "node:timers";
import {createRequire as _vlt_createRequire} from "node:module";
var require = _vlt_createRequire(import.meta.filename);
import {
ExecCommand,
views
} from "./chunk-ZSLJZRLN.js";
import "./chunk-4HCFIDH4.js";
import "./chunk-3X64PWHW.js";
import "./chunk-M34JYYXI.js";
import "./chunk-HFPRNHS6.js";
import "./chunk-SDAHMDDM.js";
import {
exec,
execFG
} from "./chunk-XZF5GYDF.js";
import "./chunk-D36DAG56.js";
import "./chunk-LEKM5RQR.js";
import "./chunk-YWPMIBJS.js";
import "./chunk-5UBJ3ZBM.js";
import "./chunk-SGEQHKFC.js";
import "./chunk-I5CBBY6I.js";
import {
commandUsage
} from "./chunk-2Y5QRO5N.js";
import "./chunk-VTABR43C.js";
import "./chunk-GADRCS54.js";
import "./chunk-GY4L7O2Y.js";
import "./chunk-3HSZY4YW.js";
import "./chunk-6YRWYWZQ.js";
import "./chunk-TJHWNOOA.js";
import "./chunk-L3TCSQZJ.js";
import "./chunk-3RABDTYN.js";
import "./chunk-264UXZEG.js";
import "./chunk-X4RDKJKD.js";
import "./chunk-BNCOU5ZT.js";
import "./chunk-RV3EHS4P.js";
import "./chunk-AECDW3EJ.js";
// ../../src/cli-sdk/src/commands/exec-local.ts
var usage = () => commandUsage({
command: "exec-local",
usage: "[command]",
description: `Run an arbitrary command, with the local installed packages
first in the PATH. Ie, this will run your locally installed
package bins.
If no command is provided, then a shell is spawned in the
current working directory, with the locally installed package
bins first in the PATH.
Note that any vlt configs must be specified *before* the
command, as the remainder of the command line options are
provided to the exec process.`
});
var command = async (conf) => {
delete conf.options["script-shell"];
return await new ExecCommand(conf, exec, execFG).run();
};
export {
command,
usage,
views
};
//# sourceMappingURL=exec-local-CVDPK6SS.js.map