cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cordova-cli git commit: CB-9858 added --fetch to cli docs
Date Mon, 09 May 2016 23:55:24 GMT
Repository: cordova-cli
Updated Branches:
  refs/heads/master 96c522f0c -> 5e2149fee


CB-9858 added --fetch to cli docs


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

Branch: refs/heads/master
Commit: 5e2149feec7139ab24439b5f6d22b5763d278242
Parents: 96c522f
Author: Steve Gill <stevengill97@gmail.com>
Authored: Mon May 9 16:55:20 2016 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Mon May 9 16:55:20 2016 -0700

----------------------------------------------------------------------
 doc/platform.txt | 13 ++++++++++++-
 doc/plugin.txt   |  9 +++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5e2149fe/doc/platform.txt
----------------------------------------------------------------------
diff --git a/doc/platform.txt b/doc/platform.txt
index 1a2f297..a24a8bb 100644
--- a/doc/platform.txt
+++ b/doc/platform.txt
@@ -10,21 +10,32 @@ Manage project platforms
         --link ........................ When <plat-spec> is a local path, links the
platform
                                         library directly instead of making a copy of it (support
                                         varies by platform; useful for platform development)
+        
+        --fetch ....................... Fetches the plugin into the project's node_modules
directory. 
+                                        Uses `npm install` to do the fetching.
+
 
 
 
     remove <platform> [...] ........... Remove specified platforms
         --save ........................ Delete specified platforms from config.xml after
removing them
+        --fetch ....................... Removes the plugin from the project's node_modules
directory.
+                                        Runs `npm uninstall` under the hood.
+
 
     update <plat-spec> ................ Update the version of Cordova used for a specific
platform;
                                         update to the latest <version> if no <plat-spec>
is specified
 
         --save ........................ Save the latest versions for specified platforms
into config.xml
 
+        --fetch ....................... Fetches the plugin into the project's node_modules
directory. 
+                                        Uses `npm install` to do the fetching.
+
     list .............................. List all installed and available platforms
     check ............................. List platforms which can be updated by `cordova-cli
platform update`
     save .............................. Save version of all platforms added to config.xml
 
+
 Syntax
     <plat-spec> : <platform>[@<version>]|<path>|<url>[#<commit-ish>]
 
@@ -46,4 +57,4 @@ Examples
     cordova-cli platform add ../android --save
     cordova-cli platform add ../cordova-android.tgz --save
     cordova-cli platform rm android --save
-    cordova-cli platform ls
\ No newline at end of file
+    cordova-cli platform ls

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5e2149fe/doc/plugin.txt
----------------------------------------------------------------------
diff --git a/doc/plugin.txt b/doc/plugin.txt
index 4779e3f..d038127 100644
--- a/doc/plugin.txt
+++ b/doc/plugin.txt
@@ -23,9 +23,18 @@ Manage project plugins
         --force ........................ Forces copying source files from the plugin even
if the
                                          same file already exists in the target directory.
 
+        --fetch ........................ Fetches the plugin into the project's
+                                         node_modules directory. Uses
+                                         `npm install` to do the fetching
+
     remove <pluginid>|<name> [...] ..... Remove plugins with the given IDs/name.
         --save ......................... Remove the information for specified plugin from
config.xml
 
+        --fetch ........................ Removes the plugin from the project's
+                                         node_modules directory. Uses
+                                         `npm uninstall` under the hood.
+
+
     list .............................. List currently installed plugins
     search [<keyword>] [...] .......... Search http://plugins.cordova.io for plugins
matching the keywords
     


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message