@midscene/cli 0.23.2 → 0.23.4-beta-20250725034040.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +12 -19
- package/dist/es/index.js.map +1 -1
- package/dist/lib/index.js +12 -19
- package/dist/lib/index.js.map +1 -1
- package/package.json +5 -5
package/dist/es/index.js
CHANGED
|
@@ -5711,7 +5711,7 @@ import { existsSync as existsSync3 } from "fs";
|
|
|
5711
5711
|
import { join as join2 } from "path";
|
|
5712
5712
|
|
|
5713
5713
|
// package.json
|
|
5714
|
-
var version = "0.23.
|
|
5714
|
+
var version = "0.23.4-beta-20250725034040.0";
|
|
5715
5715
|
|
|
5716
5716
|
// src/batch-runner.ts
|
|
5717
5717
|
import { existsSync, mkdirSync, writeFileSync } from "fs";
|
|
@@ -17930,44 +17930,37 @@ Usage:
|
|
|
17930
17930
|
type: "string",
|
|
17931
17931
|
description: "Path to a configuration file. Options in this file are used as defaults."
|
|
17932
17932
|
},
|
|
17933
|
-
concurrent: {
|
|
17934
|
-
type: "number",
|
|
17935
|
-
default: defaultConfig.concurrent,
|
|
17936
|
-
description: "Number of concurrent executions"
|
|
17937
|
-
},
|
|
17938
17933
|
summary: {
|
|
17939
17934
|
type: "string",
|
|
17940
17935
|
description: "Path for the summary output file"
|
|
17941
17936
|
},
|
|
17937
|
+
concurrent: {
|
|
17938
|
+
type: "number",
|
|
17939
|
+
description: `Number of concurrent executions, default is ${defaultConfig.concurrent}`
|
|
17940
|
+
},
|
|
17942
17941
|
"continue-on-error": {
|
|
17943
17942
|
type: "boolean",
|
|
17944
|
-
|
|
17945
|
-
description: "Continue execution even if some tasks fail"
|
|
17943
|
+
description: `Continue execution even if some tasks fail, default is ${defaultConfig.continueOnError}`
|
|
17946
17944
|
},
|
|
17947
17945
|
headed: {
|
|
17948
17946
|
type: "boolean",
|
|
17949
|
-
|
|
17950
|
-
description: "Run the browser in headed mode to see the browser UI"
|
|
17947
|
+
description: `Run the browser in headed mode to see the browser UI, default is ${defaultConfig.headed}`
|
|
17951
17948
|
},
|
|
17952
17949
|
"keep-window": {
|
|
17953
17950
|
type: "boolean",
|
|
17954
|
-
|
|
17955
|
-
description: "Keep the browser window open after the script finishes. This is useful when debugging, but will consume more resources"
|
|
17951
|
+
description: `Keep the browser window open after the script finishes. This is useful when debugging, but will consume more resources, default is ${defaultConfig.keepWindow}`
|
|
17956
17952
|
},
|
|
17957
17953
|
"share-browser-context": {
|
|
17958
17954
|
type: "boolean",
|
|
17959
|
-
|
|
17960
|
-
description: "Share browser context across multiple yaml files"
|
|
17955
|
+
description: `Share browser context across multiple yaml files, default is ${defaultConfig.shareBrowserContext}`
|
|
17961
17956
|
},
|
|
17962
17957
|
"dotenv-override": {
|
|
17963
17958
|
type: "boolean",
|
|
17964
|
-
|
|
17965
|
-
description: "Whether the variables in the .env file override the global variables, the default is false"
|
|
17959
|
+
description: `Whether the variables in the .env file override the global variables, the default is ${defaultConfig.dotenvOverride}`
|
|
17966
17960
|
},
|
|
17967
17961
|
"dotenv-debug": {
|
|
17968
17962
|
type: "boolean",
|
|
17969
|
-
|
|
17970
|
-
description: "Turn on logging to help debug why certain keys or values are not being set as you expect"
|
|
17963
|
+
description: `Turn on logging to help debug why certain keys or values are not being set as you expect, default is ${defaultConfig.dotenvDebug}`
|
|
17971
17964
|
},
|
|
17972
17965
|
"web.user-agent": {
|
|
17973
17966
|
alias: "web.userAgent",
|
|
@@ -17989,7 +17982,7 @@ Usage:
|
|
|
17989
17982
|
type: "string",
|
|
17990
17983
|
description: "Override device ID for Android environments."
|
|
17991
17984
|
}
|
|
17992
|
-
}).version("version", "Show version number", "0.23.
|
|
17985
|
+
}).version("version", "Show version number", "0.23.4-beta-20250725034040.0").help().wrap(yargs_default().terminalWidth());
|
|
17993
17986
|
const argv = await args.argv;
|
|
17994
17987
|
debug("argv", argv);
|
|
17995
17988
|
return {
|