openatx / adbutils

pure python adb library for google adb service.
MIT License
781 stars 180 forks source link

add devices-l command for device paths #136

Closed gyatskov closed 1 month ago

gyatskov commented 3 months ago

While props can be individually queried via getprop it would be convenient to see them and transport_id at once, per device (one request only):

➜  adbutils git:(master) python -m adbutils --list
xxxxxxxxxxxxxxxxxx  SM-G950F
➜  adbutils git:(master) python -m adbutils --list-extended
xxxxxxxxxxxxxxxxxx  device_version:1-1.4 product:dreamltexx model:SM_G950F device:dreamlte transport_id:9
codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 10.71429% with 25 lines in your changes missing coverage. Please review.

Project coverage is 30.96%. Comparing base (e194766) to head (68d6c4f).

Files Patch % Lines
adbutils/__init__.py 7.14% 13 Missing :warning:
adbutils/__main__.py 0.00% 12 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #136 +/- ## ========================================== - Coverage 31.23% 30.96% -0.28% ========================================== Files 15 15 Lines 1988 2009 +21 Branches 323 334 +11 ========================================== + Hits 621 622 +1 - Misses 1343 1363 +20 Partials 24 24 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

gyatskov commented 2 months ago

Unit tests added (codecov reevaluation will only trigger after maintainer approval).