You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Support for Windows may be provided in future, but is not a current priority.
43
43
*[perl](https://www.perl.org/)
44
44
45
45
### Guide
46
-
`purr` includes a simple tool to help select the device serial from `adb devices`, or can read from the `$ANDROID_SERIAL` environment variable if set. Otherwise, `purr` has six command-line parameters:
46
+
`purr` includes a simple tool to help select the device serial from `adb devices`, or can read from the `$ANDROID_SERIAL` environment variable if set. Otherwise, `purr` has the following command-line parameters:
47
47
48
48
* -a: Sets custom parameters for `adb` that will be used as well as the defaults whenever an input stream is selected.
49
49
* -f: Sets custom parameters for `fzf`. Used on top of default parameters.
@@ -52,6 +52,12 @@ Support for Windows may be provided in future, but is not a current priority.
52
52
* -v: Shows the `purr` version.
53
53
* -V: Shows a composite version of `purr` and dependencies.
54
54
55
+
There are also the following special command line parameters that should only be used for testing and debugging:
56
+
57
+
* -A: Replace all calls to `adb` with the given binary. This can be used in conjunction with the bundled `adb_mock` binary to perform basic testing on purr.
58
+
* -D: Use the given directory to store all generated files instead of the standard /tmp dir.
59
+
* -X: Do not execute `fzf` when reached in the execution loop; return as if `fzf` executed correctly.
60
+
55
61
Any other command-line parameters will print the help dialog.
56
62
57
63
Note that both `-a` and `-f` are read without validation; there is no guarantee that setting either parameter will not break `purr`.
0 commit comments