[ 
https://issues.apache.org/jira/browse/CB-8521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14358287#comment-14358287
 ] 

ASF GitHub Bot commented on CB-8521:
------------------------------------

Github user vladimir-kotikov commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/178#discussion_r26284638
  
    --- Diff: cordova-lib/src/plugman/util/metadata.js ---
    @@ -59,3 +59,10 @@ exports.save_fetch_metadata = function(pluginsDir, 
pluginId, data) {
         fs.writeFileSync(fetchJsonPath, JSON.stringify(metadataJson, null, 4), 
'utf-8');
     };
     
    +exports.remove_plugin = function(pluginsDir, pluginId){
    --- End diff --
    
    IMHO it's better to rename this similar to other methods in this file 
(`remove_fetch_metadata` for example)


> 'cordova plugin save' should save all installed plugins and their 
> version/git-url/folder-location into config.xml
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-8521
>                 URL: https://issues.apache.org/jira/browse/CB-8521
>             Project: Apache Cordova
>          Issue Type: New Feature
>            Reporter: Omar Mefire
>            Assignee: Omar Mefire
>
> In addition to using 'cordova plugin add org.apache.cordova.device --save' to 
> both add and save a plugin to config.xml, It would be useful to have a way to 
> 'mass save' already installed plugins to config.xml.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to