bartekpacia / emu

Handy mini-CLI for more pleasant app development work with Android devices.
MIT License
2 stars 0 forks source link

Better `emu list` output #5

Open bartekpacia opened 4 months ago

bartekpacia commented 4 months ago

I want this:

$ emu list
NAME                STATUS     TYPE        IMAGE ID            
Pixel_6a_API_34     connected  virtual     android-34          
Pixel_7_API_33                 virtual     android-33          
Pixel_7_API_34                 virtual     android-34          
Samsung Galaxy S23  connected  physical    ???                 

Bear in mind: I want this tool to work the same for physical & virtual devices.

I think I don't want features that work only for virtual devices.

This means this won't fly ``` $ emu list NAME STATUS TYPE IMAGE ID CREATED SIZE Pixel_6a_API_34 connected virtual android-34 Jul 13, 2024 8.4GB Pixel_7_API_33 virtual android-33 Jun 26, 2024 7.4GB Pixel_7_API_34 virtual android-34 Jun 26, 2024 6.9GB Samsung Galaxy S23 physical ??? ??? ??? ``` or maybe it's ok? idk, can't decide
bartekpacia commented 4 months ago

I also want ADB port (if connected):

$ emu list
NAME                STATUS     ADB PORT  TYPE        IMAGE ID            
Pixel_6a_API_34     connected  5554      virtual     android-34          
Pixel_7_API_33                           virtual     android-33          
Pixel_7_API_34                           virtual     android-34          
Samsung Galaxy S23  connected  5556      physical    ???