UNPKG

perfrunner

Version:

Command-line-interface for the perfrunner - automated UI performance test tool

7 lines (6 loc) 354 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toCmdDefinitions = void 0; const utils_1 = require("../utils"); const toCmdDefinitions = (options) => Object.entries(options).map(([k, v]) => (Object.assign(Object.assign({}, v), { name: (0, utils_1.argsLike)(k) }))); exports.toCmdDefinitions = toCmdDefinitions;