Yep, you can see in the code for platform.js (same directory) that it requires 'platforms', and uses the keys from that object as the list of available platforms.
On Wed, Jun 11, 2014 at 12:29 AM, Puneet Kaur <puneet.gk...@gmail.com> wrote: > from where does "cordova platform add <platform name>" command fetch the > platform's list ? > > is it from > > https://github.com/puneetgkaur/cordova-lib/blob/master/cordova-lib/src/cordova/platforms.js > ? >