@microsoft.azure/autorest.testserver
Version:
Autorest test server.
17 lines • 542 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.runCommand = void 0;
const app_1 = require("../../app");
const getAppConfig = (cliConfig) => {
return {
coverageDirectory: cliConfig.coverageDirectory,
port: cliConfig.port,
appendCoverage: cliConfig.appendCoverage,
};
};
const runCommand = async (cliConfig) => {
const app = new app_1.ApiMockApp(getAppConfig(cliConfig));
await app.start();
};
exports.runCommand = runCommand;
//# sourceMappingURL=run-command.js.map