cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terence M. Bandoian" <>
Subject Automatically installing missing platforms from cli
Date Sat, 10 Jan 2015 00:53:24 GMT
Seems to me that:

     cordova run ios

should do just that.  If the platform has not been added, I'd suggest 
that it fail with an informative message that could include the command 
to run to resolve the problem (similar to Git bash).  At this level, 
deducing the user's intentions has the potential to get messy in a hurry 
both in the code and for the user.

-Terence Bandoian

On 1/9/2015 12:47 PM, Michal Mocny wrote:
> I'd like to have cordova-cli automatically install missing platforms when
> it is obvious that the platform is required.  i.e.:
>> cordova create Foo && cd Foo
>> cordova run ios
> ..should just `cordova platform add ios` automatically.
> It appears that this was already added to phonegap-cli.  Would Adobe mind
> donating this to cordova-cli, or is it different enough for me to just
> start from scratch?  Should be easy, but don't want to duplicate effort.
> Filed:
> -Michal

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message