@ovotech/genesys-web-messaging-tester-cli
Version:
13 lines (12 loc) • 696 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCli = void 0;
const commander_1 = require("commander");
const createScriptedTestCommand_1 = require("./commands/scriptedTest/createScriptedTestCommand");
const createAiTestCommand_1 = require("./commands/aiTest/createAiTestCommand");
function createCli(command = new commander_1.Command(), scenarioTestCommandDependencies, aiCommandDependencies) {
return command
.addCommand((0, createScriptedTestCommand_1.createScriptedTestCommand)(scenarioTestCommandDependencies))
.addCommand((0, createAiTestCommand_1.createAiTestCommand)(aiCommandDependencies));
}
exports.createCli = createCli;
;