You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2017/04/20 16:30:05 UTC

[jira] [Created] (CB-12678) cordova-cli should be able to handle `plugin remove plugin@version` gracefully

Filip Maj created CB-12678:
------------------------------

             Summary: cordova-cli should be able to handle `plugin remove plugin@version` gracefully
                 Key: CB-12678
                 URL: https://issues.apache.org/jira/browse/CB-12678
             Project: Apache Cordova
          Issue Type: Improvement
          Components: CLI
            Reporter: Filip Maj
            Priority: Minor


This is more command-line sugar than anything else.

It would be nice if the cordova-cli could strip out version specifications from plugin identifiers on the command line.

The use case is basically:

{noformat}
$ cordova plugin add some-plugin@1.0.0
$ # some other stuff happens, o i need to remove the plugin, hit up a few times until i get to the plugin add command, edit the command to change add to remove
$ cordova plugin remove some-plugin@1.0.0
{noformat}

Currently it errors out as cordova-cli searches for the plugin identified _including the @ + version_.

This came from a phonegap-cli issue: https://github.com/phonegap/phonegap-cli/issues/356



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org