cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject docs commit: CB-9964 - Add --template to online documentation
Date Thu, 03 Dec 2015 23:03:08 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master d7e985235 -> 09df57c7d


CB-9964 - Add --template to online documentation

- Information about --template is now in the CLI documentation


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

Branch: refs/heads/master
Commit: 09df57c7de67f0987ae8a067ae6809cdc7cb4d58
Parents: d7e9852
Author: dubeejw <jwdubee@us.ibm.com>
Authored: Mon Nov 30 16:25:21 2015 -0500
Committer: Carlos Santana <csantana23@gmail.com>
Committed: Thu Dec 3 17:20:34 2015 -0500

----------------------------------------------------------------------
 www/docs/en/dev/guide/cli/index.md | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/09df57c7/www/docs/en/dev/guide/cli/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/guide/cli/index.md b/www/docs/en/dev/guide/cli/index.md
index 87334e0..a011394 100644
--- a/www/docs/en/dev/guide/cli/index.md
+++ b/www/docs/en/dev/guide/cli/index.md
@@ -121,7 +121,7 @@ To install the `cordova` command-line tool, follow these steps:
 Go to the directory where you maintain your source code, and run a
 command such as the following:
 
-        $ cordova create hello com.example.hello HelloWorld
+        $ cordova create hello com.example.hello HelloWorld [--template templatePath]
 
 It may take some time for the command to complete, so be patient. Running
 the command with the ` -d` option displays information about its progress.
@@ -150,6 +150,12 @@ file, but do be aware that there may be code generated outside of `config.xml`
 using this value, such as Java class names. The default value is `HelloCordova`,
 but it is recommended that you select an appropriate value.
 
+The fourth argument `--template templatePath` allows for a template application
+to be used to create a project. All files, and folders from the template will
+be copied into the new project. Platforms, and plugins may be included in a
+template, but are optional. This argument is optional. The path to the
+template can be a local path, NPM module, or Git URL.
+
 ## Add Platforms
 
 All subsequent commands need to be run within the project's directory,


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


Mime
View raw message