Simple REPL for playing with appium-adb
#Install
npm i -g appium-adb-repl
#Usage
- CLI
$ appium-abd-repl
$ info ADB Checking whether adb is present
$ info ADB Using adb from /Users/vrunoa/Library/Android/sdk/platform-tools/adb
$ appium-adb: adb.getConnectedDevices()
$ dbug ADB Getting connected devices...
$ dbug ADB 1 device(s) connected
$ [ { udid: '07042e0e13cca2d0', state: 'device' } ]
$ appium-adb:
- API
import repl from 'appium-adb-repl'
repl()
// ADB with options
repl({opts:{remoteAdbPort:5554}})
Use it with your own appium-adb
release
import ADB from './build/index.js'
import repl from 'appium-adb-repl'
repl({ADB: ADB})
Play with every command of appium-adb