Skip to content

Commit de4e2f9

Browse files
committed
added command log file
1 parent f260d15 commit de4e2f9

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

commands/utils/set_args.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,14 @@ function sync_args_from_cmd(args) {
442442
);
443443
}
444444

445+
if ("cmd_log" in args) {
446+
if (args["cmd_log"] == "true") {
447+
lt_config.run_settings.commandLog = true;
448+
} else {
449+
lt_config.run_settings.commandLog = false;
450+
}
451+
}
452+
445453
//get specs from current directory if specs are not passed in config or cli
446454
if (
447455
(lt_config["run_settings"]["specs"] == undefined ||

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@ const argv = require("yargs")
192192
alias: "max_duration",
193193
describe: "stops test if it is running more than max_duration minutes.",
194194
type: "string",
195+
})
196+
.option("cmd_log", {
197+
alias: "command_log",
198+
describe: "show command logs on dashboard.",
199+
type: "string",
195200
});
196201
},
197202
function (argv) {

0 commit comments

Comments
 (0)