Hey Michal, I'd be happy to add this feature to the cordova-cli! It's a feature that I've wanted since day 1, which is why it was added the phonegap-cli at the very beginning. And by donating the implementation to the cordova-cli, it will remove a lot of work-around logic from the phonegap-cli. Simpler is better.
I'll set aside time early next week to add this feature to the cordova-cli, then follow up with a pull request for review. Cheers, Michael On Fri, Jan 9, 2015 at 10:47 AM, Michal Mocny <mmo...@google.com> 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: https://issues.apache.org/jira/browse/CB-8283 > > -Michal >