[ https://issues.apache.org/jira/browse/CB-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974396#comment-13974396 ]
ASF GitHub Bot commented on CB-6469: ------------------------------------ Github user gorkem commented on the pull request: https://github.com/apache/cordova-cli/pull/165#issuecomment-40837864 JSON parse is a Copy/paste problem. I have based the implemantation of save from an earlier prototype I had that did a bower like json file. Updated now. > Restore plugins from config.xml > ------------------------------- > > Key: CB-6469 > URL: https://issues.apache.org/jira/browse/CB-6469 > Project: Apache Cordova > Issue Type: New Feature > Components: CLI > Affects Versions: 3.4.0 > Reporter: Gorkem ERCAN > Assignee: Gorkem ERCAN > > CLI should be able to restore plugins that are listed on the top level > config.xml. > Essentially an entry like below, should cause the > org.apache.cordova.core.console plugin version 0.2.8 to be installed from > registry. If version is omitted is should just use the latest available from > registry. > <feature name="Console"> > <param name="id" value="org.apache.cordova.core.console" /> > <param name="version" value="0.2.8" /> > </feature> > Moreover we should add a save plugins command to save the currently installed > plugins to config.xml -- This message was sent by Atlassian JIRA (v6.2#6252)