cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse <>
Subject Re: Automatically installing missing platforms from cli
Date Mon, 12 Jan 2015 20:47:05 GMT
This is becoming too much discussion for this feature.

Andrew, I agree that the consequence of a magical git command is
potentially much worse than accidentally adding a cordova platform.
The only downside I see is if you pay for network data.

My criteria for choosing a feature includes evaluating how often I
think this might happen. I expect this is a very rare occurrence.

If people want this feature then by all means go for it, I am not
blocking, just discussing. Personally I don't feel the additional
bugs, code to support, and added complexity is worth the feature. I
would put this in the category of 'wouldn't it be cool if ...'

Michael, thanks for the history. cordova-cli is now a user facing
tool, and is the only way that we (as cordova-pmc) push users to build
We cannot depend on the existence of third party tools to nicefy our
workflow. This is a bigger discussion than this lone feature though.

> On Jan 12, 2015, at 11:33 AM, Josh Soref <> wrote:
> Michael Brooks wrote:
>> By the sounds of it, the Cordova team is not in agreement on whether we
>> should auto-add platforms with the Cordova CLI.
> Seems like a reasonable summary
>> My two cents is: Fil Maj and I created the Cordova CLI to be an explicit
>> CLI tool that produced parseable output for programmatic consumption. It's
>> a tool for distributions to use.
> Good to know
>> The PhoneGap CLI, on the other hand,
>> is a simple CLI that helps the user and produced human-readable output.
>> It's a tool for human use.
> As a point of reference (which supports derivatives doing other things,
> but doesn't have any impact on what cordova-cli should do),
> webworks auto adds blackberry10 when you run `webworks create directory`
>> That said, this philosophy has been long lost - the
>> Cordova CLI is absolutely awful at programmatic usage.
> Yeah, we've mostly switched to using cordova-lib instead, and probably
> places where we still use cordova-cli (as opposed to just falling through
> to it) are bugs.
>> The implementation is trivial but this discussion is important.
> Agreed
>> As a team, the Cordova contributors need to decide what they want.
>> The worse thing that can happen is for this feature to be force pushed
>> into
>> `master` without a positive consensus.

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

View raw message