cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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


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

 www/docs/en/dev/guide/cli/ | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/www/docs/en/dev/guide/cli/ b/www/docs/en/dev/guide/cli/
index 87334e0..a011394 100644
--- a/www/docs/en/dev/guide/cli/
+++ b/www/docs/en/dev/guide/cli/
@@ -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:
For additional commands, e-mail:

View raw message