mobilecli 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -35,7 +35,7 @@ A universal command-line tool for managing iOS and Android devices, simulators,
35
35
  - **Multiple Output Formats**: Save screenshots as PNG or JPEG with quality control
36
36
  - **Screencapture video streaming**: Stream mjpeg/h264 video directly from device
37
37
  - **Device Control**: Reboot devices, tap screen coordinates, press hardware buttons
38
- - **App Management**: Launch, terminate, install, uninstall, list, and get foreground apps
38
+ - **App Management**: Launch, terminate, install, uninstall, clear data, list, and get foreground apps
39
39
  - **Filesystem**: Push, pull, list, mkdir, and rm files on-device or in app containers (Android, iOS Simulator)
40
40
  - **Crash Reports**: List and fetch crash reports from iOS and Android devices
41
41
  - **Webview Inspection**: List, navigate, query DOM, and evaluate JavaScript in embedded webviews
@@ -179,6 +179,15 @@ mobilecli io button --device <device-id> POWER
179
179
 
180
180
  # Send text
181
181
  mobilecli io text --device <device-id> 'hello world'
182
+
183
+ # Read device clipboard
184
+ mobilecli io clipboard get --device <device-id>
185
+
186
+ # Write device clipboard
187
+ mobilecli io clipboard set --device <device-id> 'hello world'
188
+
189
+ # Send keys combination to paste (cmd+v for iOS, ctrl+v for Android)
190
+ mobilecli io keys --device <device-id> "cmd+v"
182
191
  ```
183
192
 
184
193
  ### Supported Hardware Buttons
@@ -209,6 +218,10 @@ mobilecli apps install <path> --device <device-id>
209
218
 
210
219
  # Uninstall an app
211
220
  mobilecli apps uninstall <bundle-id> --device <device-id>
221
+
222
+ # Clear app data (cache, preferences, databases) without uninstalling
223
+ # Supported on Android and iOS Simulator
224
+ mobilecli apps clear <bundle-id> --device <device-id>
212
225
  ```
213
226
 
214
227
  Example output for `apps foreground`:
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobilecli",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "author": "Mobile Next",
5
5
  "description": "A universal command-line tool for managing iOS and Android devices, simulators, emulators and apps",
6
6
  "repository": {