[ https://issues.apache.org/jira/browse/CB-5902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-5902. ---------------------------- Resolution: Won't Do Closing as won't do as nobody has shown interest on it nor worked on it after all those years > `cordova plugin rm` include a wildcard option > --------------------------------------------- > > Key: CB-5902 > URL: https://issues.apache.org/jira/browse/CB-5902 > Project: Apache Cordova > Issue Type: New Feature > Components: cordova-cli, cordova-plugman > Affects Versions: 3.3.0 > Environment: All > Reporter: Kelvin Dart > Priority: Trivial > Labels: features > > This is something on my mind which would help a small bit (and I thought > would be quite a nice addition to the CLI). > How easy would it be to implement a regex matcher in plugman - so I can > remove plugins using a wildcard regex? I have a few plugins which have the > same domain identifier (in the following format: com.mycompany.*). > Once added, I sometimes need to remove every company plugin while I'm > developing it - at the moment it can be a bit painstaking to type each one > (it's not the end of the world to copy and paste each plugin identifier). Is > it therefore possible to include include the ability to specify a wildcard > regex to remove all plugins matching a pattern, so I can do the following (as > an example to remove all Cordova plugins): > `cordova plugin rm org.apache.cordova*` > Or: > `cordova plugin rm org.apache.cordova.*` > This will then iterate over my list of installed plugins and pattern match > and remove any plugin that's successfully matched to the supplied string. > It comes with the added benefit, if I need to debug an issue that might be > plugin related, then I can remove all plugins via `cordova plugin rm *`. It > also is consistent with the CLI way of doing things (i.e. to clear a > directory on the Mac I can do `rm *.js` to delete all files with a js > extension). > It's not the end of the world either way - I just can see myself using this > feature quite often. Just my two cents. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org