Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8168

Listing available devices through the CLI

    XMLWordPrintableJSON

Details

    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

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            muratsu Murat Sutunc
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: