[
https://issues.apache.org/jira/browse/CB-9065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556928#comment-14556928
]
ASF GitHub Bot commented on CB-9065:
------------------------------------
Github user purplecabbage commented on the pull request:
https://github.com/apache/cordova-lib/pull/225#issuecomment-104788948
Yeah, I like that better.
If we fail to find it in our typical id search, we then retry with the
addition of `cordova-plugin-`
Incidentally, internally here we discussed doing the same thing with
install ... adding entries to the plugin-mapper so you could `cordova plugin
install camera` and get `cordova-plugin-camera`. Unfortunately the
plugin-mapper is currently only outputting warnings and not redirecting, so
that will have to wait.
> 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]