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/cordova-cli/blob/master/src/platform.js#L180. > >However, I do not want it to be filtered based on what platforms are >already installed from the current cordova project directory. Especially >since I won't be running it from a cordova project that exists at this >point (maybe this is my underlying problem). > >Would a PR that exposed this be welcome?
We¹ve been toying around with our requirements for something similar. There are a bunch of things there which could really use a nice JSON output format.