Skip to content
Browse files
  • Loading branch information
csantanapr committed Nov 10, 2015
1 parent 5a15432 commit bf9fa31126d3109f72ec28b31efa84ab640612f7
Showing 1 changed file with 6 additions and 2 deletions.
@@ -1,4 +1,4 @@
Cordova CLI Create with Template argument
## Cordova CLI Create with Template argument

@@ -11,9 +11,13 @@ This proposal is to update the Cordova CLI to support the argument --template fo
- Local Path, is a local directory

- This will allow to specify the IBM NPM Cordova Template like $cordova create myApp --template=cordova-template-mfp or $cordova create myApp --template=cordova-template-mfp@1.0.0
- It should also support template location specified as GIT URL or Local Path to a local directory

--template is different from --copy-from, it copies everything from the template including hooks, res, config.xml, hooks, dot files (.gitignore) except plugins and platforms, templates should not have this folder but if they do they get ignored and not copy
if the template is missing certain files or directories it get's default ones here is the list:
config.xml a default one is created from cordoba-app-hello-world
hooks, the default hooks with readme is created
www/, is missing the default is created from cordoba-app-hello-world

[JIRA CB-9964](

0 comments on commit bf9fa31

Please sign in to comment.