UNPKG

454 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const engine_1 = require("@dxcli/engine");
4const _ = require("lodash");
5exports.default = (args, opts = {}) => ({
6 async run(ctx) {
7 args = _.castArray(args);
8 ctx.expectation = ctx.expectation || `runs ${args.join(' ')}`;
9 await engine_1.default(args, { root: opts.root || module.parent.parent.filename });
10 }
11});
12//# sourceMappingURL=command.js.map
\No newline at end of file