From 4a7c44a3c997645c9a8994d77b18bc1d41ea2c18 Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Tue, 26 Jul 2022 20:38:29 +0300 Subject: [PATCH] [README.md] Add Usage section --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index c4ca0ef..d2e759b 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,22 @@ adbPullAs is available on [PyPI](https://test.pypi.org/project/adbPullAs/) ```shell python -m pip install adbPullAs ``` + +### Usage + +adbPullAs is used as follows: +`adbPullAs PACKAGE_NAME ANDROID_SOURCE... COMPUTER_DESTINATION_DIR`. + +`COMPUTER_DESTINATION_DIR` can be omitted to pull into current working directory, + but only with a single supplied `ANDROID_SOURCE` (example 1). + +Multiple `ANDROID_SOURCE`s require `COMPUTER_DESTINATION_DIR` to be supplied (example 2). + +###### Example 1 +``` +adbPullAs com.viliussutkus89.application /data/data/com.viliussutkus89.application/databases/androidx.work.workdb +``` +###### Example 2 +``` +adbPullAs com.viliussutkus89.application /data/data/com.viliussutkus89.application/cache /data/data/com.viliussutkus89.application/files ./pulled_from_device +``` \ No newline at end of file