runAdbText
Runs adb -s <deviceId> <commandArguments> and returns stdout as trimmed text.
Import:
import { runAdbText } from 'obsidian-integration-testing';Signature:
function runAdbText(params: RunAdbParams): Promise<string>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | RunAdbParams | The device and the arguments to run. |
Returns: Promise<string> — A Promise that resolves to stdout, with surrounding whitespace removed.
Links to this page: