When you run create from cli, you aren't adding any platforms, and you
would need to specify an override for each platform.

This can be accomplished by editing your .cordova/config.json file after
running cordova create, or by calling cordova.config(...) from node.  This
should be documented, and there are bugs open for specifying how to change
the "www" template etc at create time (
https://issues.apache.org/jira/browse/CB-4153).


On Fri, Oct 25, 2013 at 2:38 PM, Shazron <shaz...@gmail.com> wrote:

> Yup, file a doc issue - but I'm not sure if this is a cross-platform thing,
> or iOS only for now:
>
> https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=blobdiff;f=bin/create;h=244c8a9c1f9264fa11e0a6ebb43336070d40e644;hp=461392e22e6e221cf61d6b87da356b5cf95bf3f2;hb=4375681;hpb=609e8828107a84e5e755af1bf0cce928f3a48d19
>
> In any case, the 4th param to the bin/create script is the template folder.
> Not sure if adding a 4th param to "cordova create" passes it on to the
> platform script.
>
>
>
> On Fri, Oct 25, 2013 at 9:37 AM, Ray Camden <rayca...@adobe.com> wrote:
>
> > According to
> > (http://cordova.apache.org/blog/releases/2013/10/02/cordova-31.html),
> you
> > can now override the default template when creating a project. From what
> I
> > can see this isn't documented when I run cordova at the command line.
> > Should I file a bug report for that? Also, I assume the command line help
> > will be pretty simple, ie, use override="folder" to use the feature, but
> > what will be required in the custom template folder? (If anything.)
> >
> >
>

Reply via email to