You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/10/16 20:55:14 UTC
git commit: updating README.rd doc
Updated Branches:
refs/heads/master 8ef210879 -> ccc529d24
updating README.rd doc
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/ccc529d2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/ccc529d2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/ccc529d2
Branch: refs/heads/master
Commit: ccc529d244d04a62fa4c727add9b04fb89468e7c
Parents: 8ef2108
Author: Anis Kadri <an...@apache.org>
Authored: Wed Oct 16 11:55:26 2013 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Wed Oct 16 11:55:26 2013 -0700
----------------------------------------------------------------------
README.md | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/ccc529d2/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 5fb44f1..3bc886d 100644
--- a/README.md
+++ b/README.md
@@ -114,14 +114,6 @@ Finalizes plugin installation by making configuration file changes and setting u
## Registry related actions
-Plugman uses an [npmjs.org](http://github.com/isaacs/npmjs.org) based registry to host plugins. The URL can be configured in the `config.js` file at the root of the installation folder.
-
-### `config.js` file
-
- module.exports = {
- registry: "http://registry.cordova.io"
- }
-
### `adduser` method
Adds a user account to the registry. Function takes no arguments other than a an optional callback
@@ -146,6 +138,15 @@ Searches plugins in the registry. `search_opts` is an array of keywords
module.exports = function(search_opts, callback) {
+### `config` method
+
+Configures registry settings. `params` is an array that describes the action
+ /*
+ * var params = ['get', 'registry'];
+ * var params = ['set', 'registry', 'http://registry.cordova.io'];
+ * module.exports = function(params, callback) {
+ */
+
## Example Plugins
- Google has a [bunch of plugins](https://github.com/MobileChromeApps/chrome-cordova/tree/master/plugins) which are maintained actively by a contributor to plugman