[ 
https://issues.apache.org/jira/browse/CB-9065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565127#comment-14565127
 ] 

ASF subversion and git services commented on CB-9065:
-----------------------------------------------------

Commit 0f02702788452216eeec08b6ff72c785fd2c8720 in cordova-lib's branch 
refs/heads/master from [~TimBarham]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=0f02702 ]

CB-9065 Allow removing plugins by short name.

Because the 'short name' (defined in plugin.xml) might go away if we ever 
switch to using package.json instead of plugin.xml, the logic used here is 
instead to allow ommitting 'cordova-plugin-' from the beginning of a plugin 
name when removing. Note that this will also work if a plugin known to the 
plugin mapper is installed using the old style name.


> Allow removing plugins by short name
> ------------------------------------
>
>                 Key: CB-9065
>                 URL: https://issues.apache.org/jira/browse/CB-9065
>             Project: Apache Cordova
>          Issue Type: Improvement
>    Affects Versions: 5.0.0
>            Reporter: Tim Barham
>            Assignee: Tim Barham
>
> It would be nice if we could remove plugins by short name. Things are better 
> now with the new plugin ids - it's easier to remember and type {{cordova 
> plugin remove cordova-plugin-camera}} than {{cordova plugin remove 
> org.apache.cordova.camera}}, but it would be even nicer to only have to type 
> {{cordova plugin remove camera}}.
> If multiple installed plugins happen to share the same short name, the remove 
> command should probably just fail (with an informative error message).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to