|
@@ -43,6 +43,7 @@ const args = require("yargs")
|
|
|
"browser-debug": false,
|
|
"browser-debug": false,
|
|
|
"browser-extensions": [],
|
|
"browser-extensions": [],
|
|
|
"browser-scripts": [],
|
|
"browser-scripts": [],
|
|
|
|
|
+ "browser-args": "",
|
|
|
"compress-CSS": true,
|
|
"compress-CSS": true,
|
|
|
"compress-HTML": true,
|
|
"compress-HTML": true,
|
|
|
"filename-template": "",
|
|
"filename-template": "",
|
|
@@ -85,6 +86,8 @@ const args = require("yargs")
|
|
|
.array("browser-extensions")
|
|
.array("browser-extensions")
|
|
|
.options("browser-scripts", { description: "List of script paths separated by a space and relative to the 'cli' folder. They will be executed in all the frames." })
|
|
.options("browser-scripts", { description: "List of script paths separated by a space and relative to the 'cli' folder. They will be executed in all the frames." })
|
|
|
.array("browser-scripts")
|
|
.array("browser-scripts")
|
|
|
|
|
+ .options("browser-args", { description: "Arguments provided as a JSON array and passed to the browser (puppeteer, webdriver-gecko, webdriver-chromium)" })
|
|
|
|
|
+ .string("browser-args")
|
|
|
.options("compress-CSS", { description: "Compress CSS stylesheets" })
|
|
.options("compress-CSS", { description: "Compress CSS stylesheets" })
|
|
|
.boolean("compress-CSS")
|
|
.boolean("compress-CSS")
|
|
|
.options("compress-HTML", { description: "Compress HTML content" })
|
|
.options("compress-HTML", { description: "Compress HTML content" })
|