Skip to content

Commit

Permalink
[README.md] Add Usage section
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jul 26, 2022
1 parent 5f1f1e7 commit 4a7c44a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 4a7c44a

Please sign in to comment.