cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-5259) CLI plugin list should show the version of the installed plugin
Date Mon, 04 Nov 2013 05:52:18 GMT
Peter created CB-5259:
-------------------------

             Summary: CLI plugin list should show the version of the installed plugin
                 Key: CB-5259
                 URL: https://issues.apache.org/jira/browse/CB-5259
             Project: Apache Cordova
          Issue Type: Wish
          Components: CLI
    Affects Versions: 3.1.0
            Reporter: Peter
            Priority: Minor


The *cordova plugin* list operation would be more useful if it also displayed the _version_
of the currently installed plugin - to help user decide if they needed to upgrade said plugin
or not. Currently seems only way to discover plugin versions is to manually look in the plugin.xml
file of each plugin...

Currently cordova plugin just shows the plugin id but a simple directory listing of plugins
would acheive pretty much the same thing in my CLI project. For example,

*cordova plugin*
{code}
D:\IMAPS\work\trunk\SRC\IMAPSAgent3x>cordova plugin
[ 'org.apache.cordova.battery-status',
  'org.apache.cordova.camera',
  'org.apache.cordova.console',
  'org.apache.cordova.contacts',
  'org.apache.cordova.device',
  'org.apache.cordova.device-motion',
  'org.apache.cordova.device-orientation',
  'org.apache.cordova.dialogs',
  'org.apache.cordova.file',
  'org.apache.cordova.file-transfer',
  'org.apache.cordova.geolocation',
  'org.apache.cordova.globalization',
  'org.apache.cordova.inappbrowser',
  'org.apache.cordova.media',
  'org.apache.cordova.media-capture',
  'org.apache.cordova.network-information',
  'org.apache.cordova.splashscreen',
  'org.apache.cordova.vibration' ]
{code}

*dir /AD plugins*
{code}
D:\IMAPS\work\trunk\SRC\IMAPSAgent3x>dir /AD plugins
 Volume in drive D has no label.
 Volume Serial Number is AAB8-3216

 Directory of D:\IMAPS\work\trunk\SRC\IMAPSAgent3x\plugins

16/10/2013  04:57 PM    <DIR>          .
16/10/2013  04:57 PM    <DIR>          ..
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.battery-status
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.camera
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.console
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.contacts
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.device
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.device-motion
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.device-orientation
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.dialogs
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.file
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.file-transfer
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.geolocation
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.globalization
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.inappbrowser
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.media
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.media-capture
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.network-information
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.splashscreen
16/10/2013  04:57 PM    <DIR>          org.apache.cordova.vibration
               0 File(s)              0 bytes
              20 Dir(s)  36,917,051,392 bytes free
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message