From b379d0d554ecee559550466851481dd771d042ed Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 13 Jun 2025 15:05:44 +0200 Subject: [PATCH] Update README.md --- README.md | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index c2a883a..bb8423e 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,21 @@ -# mobilectl +# mobilecli A universal command-line tool for managing iOS and Android devices, simulators, emulators and apps from [Mobile Next](https://github.com/mobile-next/).

- - Mobile Next Stars + + Mobile Next Stars - - Mobile Next Downloads + + Mobile Next Downloads - - npm + + npm - - + + - + Mobile MCP is released under the AGPL v3.0 License @@ -48,8 +48,8 @@ A universal command-line tool for managing iOS and Android devices, simulators, ### Install from Source ```bash -git clone https://github.com/mobile-next/mobilectl.git -cd mobilectl +git clone https://github.com/mobile-next/mobilecli.git +cd mobilecli make build ``` @@ -77,7 +77,7 @@ brew install --cask android-platform-tools ```bash # List all connected devices and simulators to your local or remote server -mobilectl devices +mobilecli devices ``` Example output: @@ -102,31 +102,31 @@ Example output: ```bash # Take a PNG screenshot (default) -mobilectl screenshot --device +mobilecli screenshot --device # Take a JPEG screenshot with custom quality -mobilectl screenshot --device --format jpeg --quality 80 +mobilecli screenshot --device --format jpeg --quality 80 # Save to specific path -mobilectl screenshot --device --output screenshot.png +mobilecli screenshot --device --output screenshot.png # Output to stdout -mobilectl screenshot --device --output - +mobilecli screenshot --device --output - ``` ### Device Control ```bash # Reboot a device -mobilectl reboot --device +mobilecli reboot --device # Tap at coordinates (x,y) -mobilectl tap --device 100,200 +mobilecli tap --device 100,200 # Press hardware buttons -mobilectl press-button --device HOME -mobilectl press-button --device VOLUME_UP -mobilectl press-button --device POWER +mobilecli press-button --device HOME +mobilecli press-button --device VOLUME_UP +mobilecli press-button --device POWER ``` ### Supported Hardware Buttons @@ -168,7 +168,7 @@ make lint ### Project Structure ``` -mobilectl/ +mobilecli/ ├── main.go # CLI entry point and commands ├── devices/ # Device management interfaces │ ├── common.go # ControllableDevice interface @@ -195,4 +195,4 @@ mobilectl/ ## Support -For issues and feature requests, please use the [GitHub Issues](https://github.com/mobile-next/mobilectl/issues) page. +For issues and feature requests, please use the [GitHub Issues](https://github.com/mobile-next/mobilecli/issues) page.