cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: template?
Date Fri, 03 Jan 2014 16:35:00 GMT
If adding the 4th param wasn't intentional, should we remove it? Passing a
JSON string via command line seems crazy.


On Fri, Jan 3, 2014 at 11:27 AM, Mark Koudritsky <kamrik@google.com> wrote:

> The option to specify a template was added here, via --src or --link
> command line args.
> https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9b7fedf
>
> But it's not yet part of any released version.
>
> Passing a JSON string as the 4th param to CLI does seem to work, even
> though originally it was an artifact of a change done for a completely
> different purpose.
>
> The JSON string should look like:
> "lib":{"www":{"uri":"/path/to/custom_www"}}
>
>
>
> On Fri, Jan 3, 2014 at 11:24 AM, Josh Soref <jsoref@blackberry.com> wrote:
>
> > There's a difference between the cli and the platform bin scripts.
> >
> > The platform bin scripts take a template directory or something. The cli
> > takes JSON which can include a template directory.
> >
> > Yes. It's confusing. But it does work. ‎
> > ---------------------------------------------------------------------
> > This transmission (including any attachments) may contain confidential
> > information, privileged material (including material protected by the
> > solicitor-client or other applicable privileges), or constitute
> non-public
> > information. Any use of this information by anyone other than the
> intended
> > recipient is prohibited. If you have received this transmission in error,
> > please immediately reply to the sender and delete this information from
> > your system. Use, dissemination, distribution, or reproduction of this
> > transmission by unintended recipients is not authorized and may be
> unlawful.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message