ya-webadb/apps/cli
2025-09-09 16:55:55 +08:00
..
src feat(adb): rewrite process spawner API (#739) 2025-04-02 15:20:05 +08:00
.npmignore feat(adb): support connect to adb server (#549) 2023-05-14 03:54:03 +08:00
package.json feat(scrcpy): add client version 3.3.2 (#799) 2025-09-09 16:55:55 +08:00
README.md feat(adb): support connect to adb server (#549) 2023-05-14 03:54:03 +08:00
tsconfig.build.json chore: switch to node test 2024-07-23 18:10:40 +08:00
tsconfig.json chore: update dependencies 2023-05-22 12:57:03 +08:00
tsconfig.test.json chore: update dependencies 2024-09-10 12:07:03 +08:00

@yume-chan/adb-cli

This is a Node.js CLI application that mimics the functionality of the adb command line tool.

It requires a native Google ADB server to be running on the host machine.

Usage

Usage: tango-cli [options] [command]

Options:
  -H <host>                                                   name of adb server host (default: "127.0.0.1")
  -P <port>                                                   port of adb server (default: 5037)
  -h, --help                                                  display help for command

Commands:
  devices [-l]                                                list connected devices (-l for long output)
  shell [options] [-- <args...>]                              run remote shell command (interactive shell if no command
                                                              given). `--` is required before command name.
  logcat [-- <args...>                                        show device log (logcat --help for more)
  reboot [bootloader|recovery|sideload|sideload-auto-reboot]  reboot the device; defaults to booting system image but
                                                              supports bootloader and recovery too. sideload reboots
                                                              into recovery and automatically starts sideload mode,
                                                              sideload-auto-reboot is the same but reboots after
                                                              sideloading.
  usb                                                         restart adbd listening on USB
  tcpip port                                                  restart adbd listening on TCP on PORT
  kill-server                                                 kill the server if it is running
  help [command]                                              display help for command