Re: cordova-cli api

2013-06-05 Thread Filip Maj
I have chalked up adding "run" which will directly translate into a call to the platform scripts [1]. Mike, note that cordova-cli uses "compile" AND "build" - build does a "prepare" before it compiles, whereas compile simply, well, compiles. [1] https://issues.apache.org/jira/browse/CB-3612 On 6

Re: cordova-cli api

2013-06-05 Thread John Wargo
I agree - makes sense. On 6/4/2013 12:41 PM, Michael Brooks wrote: I'm in favour of using "build," "run," and "install" because these commands match the platform-scripts. They are also arguably more descriptive of their resulting action. Currently, the PhoneGap CLI also uses "build," "run," and

Re: cordova-cli api

2013-06-04 Thread Michael Brooks
I'm in favour of using "build," "run," and "install" because these commands match the platform-scripts. They are also arguably more descriptive of their resulting action. Currently, the PhoneGap CLI also uses "build," "run," and "install" instead of "compile,", "emulate," and "deploy." [1] [1] ht

Re: cordova-cli api

2013-06-04 Thread Brian LeRoux
Think we need a run cmd too. Specifying target makes sense. On Tue, Jun 4, 2013 at 10:50 AM, Braden Shepherdson wrote: > I'm okay with adding a run command and/or emulate command to CLI. `cordova > run android` or similar? Since we (will soon) have these platform-level > scripts with uniform APIs

Re: cordova-cli api

2013-06-04 Thread Braden Shepherdson
I'm okay with adding a run command and/or emulate command to CLI. `cordova run android` or similar? Since we (will soon) have these platform-level scripts with uniform APIs, it shouldn't be hard to call them for each platform. Braden On Mon, Jun 3, 2013 at 8:50 PM, Filip Maj wrote: > The curre