Re: expose available platforms functionality

2014-03-04 Thread Shazron
Sounds similar to what is requested here (need to run outside the cordova project context): https://issues.apache.org/jira/browse/CB-5673 On Tue, Mar 4, 2014 at 8:58 AM, Michal Mocny wrote: > Not 100% sure this is what you are asking for, but: > > For cca we have a CLI command to check that env

Re: expose available platforms functionality

2014-03-04 Thread Michal Mocny
Not 100% sure this is what you are asking for, but: For cca we have a CLI command to check that environment is set up correct, and then checks which of Android/iOS are installed correctly (cca checkenv): https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/src/cca.js#L299 This is ru

Re: expose available platforms functionality

2014-03-04 Thread Brian LeRoux
A few questions: - Why do you "need to use Yeoman"? - What is the use case for the OS / Platform mapping that the Cordova CLI needs to fulfill? On Tue, Mar 4, 2014 at 7:47 AM, Mike Haas wrote: > This stems from my need to hit the cordova-cli api. I need to use a yeoman > generator to scaffold

Re: expose available platforms functionality

2014-03-04 Thread Josh Soref
Mike Haas wrote: >This stems from my need to hit the cordova-cli api. I need to use a yeoman >generator to scaffold out a cordova project. > >I would like to expose a "smart list" of available platforms dependent on >the current OS being used. Much like what's done here: >https://github.com/apache