Reputation: 606
Is there a simply way to update all Cordova/PhoneGap installed plugins via the command line? Obviously you can remove each one and re-install but I would hope there is something simpler. I've tested out different commands and have tried to find documentation on this with no success.
Upvotes: 0
Views: 585
Reputation: 2372
Shell script / batch file is how I do it:
$ vi updateProjectPlugins.shl
#!/bin/sh
cordova plugin rm org.apache.cordova.plugin1
cordova plugin rm org.apache.cordova.plugin2
...
cordova plugin add org.apache.cordova.plugin1
cordova plugin add org.apache.cordova.plugin2
$ sh ./updateProjectPlugins.shl
Upvotes: 1
Reputation: 119
Don't know if there is a command for that, but you could write a makefile for that perhaps?
Upvotes: 0