You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Philipp Kursawe (JIRA)" <ji...@apache.org> on 2016/08/24 12:46:20 UTC
[jira] [Created] (CB-11752) cordova plugins update
Philipp Kursawe created CB-11752:
------------------------------------
Summary: cordova plugins update
Key: CB-11752
URL: https://issues.apache.org/jira/browse/CB-11752
Project: Apache Cordova
Issue Type: Improvement
Security Level: Public (Anyone can view this level - this is the default.)
Components: CLI
Reporter: Philipp Kursawe
Priority: Minor
Would be nice to have such a CLI command to update all or specific plugins.
The current `rm --save` && `add --save` is sub-optimal.
{code}
#!/bin/bash
PLUGINS=$(cordova plugin list | awk '{print $1'})
for PLUGIN in $PLUGINS; do
cordova plugin rm $PLUGIN --save && cordova plugin add $PLUGIN --save
done
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org