I've made the changes wrt what has been discussed: https://github.com/apache/cordova-cli/pull/205 https://github.com/apache/cordova-lib/pull/145
Thanks, Murat -----Original Message----- From: Josh Soref [mailto:jso...@blackberry.com] Sent: Friday, January 9, 2015 11:39 AM To: dev@cordova.apache.org Subject: Re: Cordova --list option implementation Murat Sutunc wrote: >At the very least, if you're going to do option 1.b, please make sure that >list is a function which is independently reachable via the api so that js >callers can easily get the list of devices for platform[s], and can >determine if the feature is available (by checking for the presence of the >api function). > >[MS] Can you clarify this a bit more. Do you mean like >require('./cordova').raw.list(/*args*/) Something like this, yes, but it'd need to have some indication it's about targets in the code portion (which here is just 'raw.list').