1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const engine_1 = require("@dxcli/engine");
|
4 | const _ = require("lodash");
|
5 | exports.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 |