@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/lib/index.js CHANGED
@@ -5705,7 +5705,7 @@ var import_node_path7 = require("path");
5705
5705
  var import_dotenv = __toESM(require_main());
5706
5706
 
5707
5707
  // package.json
5708
- var version = "0.23.2";
5708
+ var version = "0.23.4-beta-20250725034040.0";
5709
5709
 
5710
5710
  // src/batch-runner.ts
5711
5711
  var import_node_fs2 = require("fs");
@@ -17925,44 +17925,37 @@ Usage:
17925
17925
  type: "string",
17926
17926
  description: "Path to a configuration file. Options in this file are used as defaults."
17927
17927
  },
17928
- concurrent: {
17929
- type: "number",
17930
- default: defaultConfig.concurrent,
17931
- description: "Number of concurrent executions"
17932
- },
17933
17928
  summary: {
17934
17929
  type: "string",
17935
17930
  description: "Path for the summary output file"
17936
17931
  },
17932
+ concurrent: {
17933
+ type: "number",
17934
+ description: `Number of concurrent executions, default is ${defaultConfig.concurrent}`
17935
+ },
17937
17936
  "continue-on-error": {
17938
17937
  type: "boolean",
17939
- default: defaultConfig.continueOnError,
17940
- description: "Continue execution even if some tasks fail"
17938
+ description: `Continue execution even if some tasks fail, default is ${defaultConfig.continueOnError}`
17941
17939
  },
17942
17940
  headed: {
17943
17941
  type: "boolean",
17944
- default: defaultConfig.headed,
17945
- description: "Run the browser in headed mode to see the browser UI"
17942
+ description: `Run the browser in headed mode to see the browser UI, default is ${defaultConfig.headed}`
17946
17943
  },
17947
17944
  "keep-window": {
17948
17945
  type: "boolean",
17949
- default: defaultConfig.keepWindow,
17950
- description: "Keep the browser window open after the script finishes. This is useful when debugging, but will consume more resources"
17946
+ description: `Keep the browser window open after the script finishes. This is useful when debugging, but will consume more resources, default is ${defaultConfig.keepWindow}`
17951
17947
  },
17952
17948
  "share-browser-context": {
17953
17949
  type: "boolean",
17954
- default: defaultConfig.shareBrowserContext,
17955
- description: "Share browser context across multiple yaml files"
17950
+ description: `Share browser context across multiple yaml files, default is ${defaultConfig.shareBrowserContext}`
17956
17951
  },
17957
17952
  "dotenv-override": {
17958
17953
  type: "boolean",
17959
- default: defaultConfig.dotenvOverride,
17960
- description: "Whether the variables in the .env file override the global variables, the default is false"
17954
+ description: `Whether the variables in the .env file override the global variables, the default is ${defaultConfig.dotenvOverride}`
17961
17955
  },
17962
17956
  "dotenv-debug": {
17963
17957
  type: "boolean",
17964
- default: defaultConfig.dotenvDebug,
17965
- description: "Turn on logging to help debug why certain keys or values are not being set as you expect"
17958
+ description: `Turn on logging to help debug why certain keys or values are not being set as you expect, default is ${defaultConfig.dotenvDebug}`
17966
17959
  },
17967
17960
  "web.user-agent": {
17968
17961
  alias: "web.userAgent",
@@ -17984,7 +17977,7 @@ Usage:
17984
17977
  type: "string",
17985
17978
  description: "Override device ID for Android environments."
17986
17979
  }
17987
- }).version("version", "Show version number", "0.23.2").help().wrap(yargs_default().terminalWidth());
17980
+ }).version("version", "Show version number", "0.23.4-beta-20250725034040.0").help().wrap(yargs_default().terminalWidth());
17988
17981
  const argv = await args.argv;
17989
17982
  debug("argv", argv);
17990
17983
  return {