@ohos-perf/cli 0.18.0 → 0.18.1
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/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1787,9 +1787,9 @@ function buildProgram(deps2, io, opts = {}) {
|
|
|
1787
1787
|
...opts2.keepGoing === true ? { keepGoing: true } : {}
|
|
1788
1788
|
}, { json: opts2.json }));
|
|
1789
1789
|
});
|
|
1790
|
-
program2.command("explore").description("walk an app's UI, tapping unvisited elements, and report the screens reached").argument("<app>", "bundle name to explore, e.g. com.example.app").option("--max-steps <n>", "stop after this many taps
|
|
1790
|
+
program2.command("explore").description("walk an app's UI, tapping unvisited elements, and report the screens reached").argument("<app>", "bundle name to explore, e.g. com.example.app").option("--max-steps <n>", "stop after this many taps", "30").option(
|
|
1791
1791
|
"--strategy <name>",
|
|
1792
|
-
"depth_first, breadth_first or random
|
|
1792
|
+
"depth_first, breadth_first or random",
|
|
1793
1793
|
"depth_first"
|
|
1794
1794
|
).option("--seed <n>", "make --strategy random reproducible").option("--target <id>", "walk this hdc target instead of the first connected one").option("--json", "print the walk result as JSON").action(async (app, opts2) => {
|
|
1795
1795
|
let maxSteps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-perf/cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "Command-line interface for HarmonyOS performance analysis: doctor, caps, collect, analyze, query, tools, compare, report, gesture, emulator and selector-driven scenarios",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"harmonyos",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@ohos-perf/core": "0.18.
|
|
39
|
+
"@ohos-perf/core": "0.18.1",
|
|
40
40
|
"commander": "^12.1.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|