Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
I was looking at the Cordova Tooling Wiki at (https://wiki.apache.org/cordova/CommandLineToolingDesign) and thought it would be interesting to make some additions to the list-devices feature. Currently we have list-devices and list-emulator-images scripts for a lot of different platforms. However these scripts are not easily accessible from the Cordova CLI. By introducing an additional argument to the run or emulate command, we could show a list of available emulators or connected devices. (I would like to deemphasize the fact that the command is called --list). After invoking the command, a user can decide which target to use and run the app on the desired target by using cordova run –device devicename