cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [1/2] git commit: route "platforms" command to platform, same with "plugins" -> plugin
Date Thu, 10 Jan 2013 22:44:51 GMT
route "platforms" command to platform, same with "plugins" -> plugin


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/e71881f0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/e71881f0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/e71881f0

Branch: refs/heads/master
Commit: e71881f0fc133765635c48d4981c27cc4ee71a93
Parents: 4f9eebe
Author: Fil Maj <maj.fil@gmail.com>
Authored: Thu Jan 10 13:37:06 2013 -0800
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Thu Jan 10 13:37:06 2013 -0800

----------------------------------------------------------------------
 cordova.js   |    2 ++
 doc/help.txt |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/e71881f0/cordova.js
----------------------------------------------------------------------
diff --git a/cordova.js b/cordova.js
index 7d56ab1..3296841 100755
--- a/cordova.js
+++ b/cordova.js
@@ -4,9 +4,11 @@ module.exports = {
     help:     require('./src/help'),
     create:   require('./src/create'),
     platform: require('./src/platform'),
+    platforms: require('./src/platform'),
     build:    require('./src/build'),
     emulate:  require('./src/emulate'),
     plugin:   require('./src/plugin'),
+    plugins:   require('./src/plugin'),
     serve:    require('./src/serve'),
     on:       function() {
         cordova_events.on.apply(cordova_events, arguments);

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/e71881f0/doc/help.txt
----------------------------------------------------------------------
diff --git a/doc/help.txt b/doc/help.txt
index c0cc0ac..6a02e1c 100644
--- a/doc/help.txt
+++ b/doc/help.txt
@@ -9,8 +9,8 @@ Global Commands
 
 Project-Level Commands
 
-    platform [add|remove|ls [name]] ... adds or removes a platform, or lists all currently-added
platforms
-    plugin [add|remove|ls [path]] ..... adds or removes a plugin (from the specified path),
or lists all currently-added plugins
+    platform(s) [add|remove|ls [name]] ... adds or removes a platform, or lists all currently-added
platforms
+    plugini(s) [add|remove|ls [path]] ..... adds or removes a plugin (from the specified
path), or lists all currently-added plugins
     build ............................. builds a cordova project
     emulate ........................... starts emulator for cordova project
     serve <platform> [port] ........... runs a local web server for the www/ directory
of the given platform


Mime
View raw message