Executes ADB commands on all connected devices.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules
test
.editorconfig
.gitignore
.jshintrc
LICENSE
README.md
adb-multiplexer.js
package.json

README.md

Dependency Status

ADB multiplexer

Executes ADB commands on all connected android devices.

Prerequisites

  1. node.js - test if nodejs is installed properly by executing node -v
  2. adb - test if adb is installed properly by executing adb devices

Usage

usage: adb-multiplexer.js [-h] [-v] [-c] [--no-color] command

Executes ADB commands on all connected devices.

Positional arguments:
  command         ADB command to execute, for example "adb install <path to
                  apk>". Use quotation marks for multiword commands. The
                  "adb" prefix is optional.

Optional arguments:
  -h, --help      Show this help message and exit.
  -v, --version   Show program's version number and exit.
  -c, --continue  Continues to execute the given command on every device that
                  will be connected for as long as this tool is running.
  --no-color      Disables coloring of adb command output.

Example usage: node adb-multiplexer.js "adb install myApp.apk"

Building

Run npm install to install dependencies.

Testing

ADB multiplexer uses mocha for testing. Run npm test to execute all tests.