I'm not sure I'm getting this.

Sugar is an app, content that would run in the container, right?

Adding web application content to a cordova project is not really a use
case for the CLI. You can use the templeting capabilities of the CLI
Create command to pass in a pre-configured web app (Sugar).


To add Sugar as a platform to a Cordova app would mean that Sugar is an
output target for the application.  Is that really what you want?

On 6/2/14 6:14 AM, "Puneet Kaur" <puneet.gk...@gmail.com> wrote:

>Thanks for the reply.
>
>that page mentions the various commands possible and the platforms
>supported.
>
>I wished to know how to go about adding ours to the already existing list
>of supported platform.
>
>All what I could infer from searching places is that we need to make
>something similar to this :
>https://github.com/apache/cordova-lib/tree/master/cordova-lib/src/cordova/
>metadata
>- a parser for ours too ..
>
>Please let me know if I am wrong or if there's something else also needs
>to
>be done to have the cli support for new platform ?
>
>
>On Mon, Jun 2, 2014 at 2:31 AM, Carlos Santana <csantan...@gmail.com>
>wrote:
>
>> Take a look here:
>> http://wiki.apache.org/cordova/CommandLineToolingDesign
>>
>> it shows the api that a cordova platform would need to implement for the
>> cli to be able to work with it
>>
>> --Carlos
>>
>>
>> On Sun, Jun 1, 2014 at 4:34 AM, Puneet Kaur <puneet.gk...@gmail.com>
>> wrote:
>>
>> > Hey,
>> >
>> > We are through with instantiating chromeless browser window,the native
>> > bridge setup and integration with cordova-js..
>> >
>> > But I just wished to know how can we make the platform work through
>> cordova
>> > cli, we wish to execute the commands like :
>> >
>> > cordova platform add sugar
>> > and
>> > cordova build sugar
>> >
>> > so for these to work.. what all are we supposed to do ? How to
>>approach
>> > this problem ?
>> >
>> > would be nice if someone here at cordova developer mailing list can
>>help.
>> >
>>
>>
>>
>> --
>> Carlos Santana
>> <csantan...@gmail.com>
>>

Reply via email to