4. Using the Cordova Command-Line Interface

As mentioned in Chapter 2, included with the framework files for most of the supported mobile device platforms are scripts that you can use to create new projects and test/debug applications. The problem with these scripts is that they’re specific to each mobile device platform and therefore can’t be used to manage a cross-platform project in its entirety.

To make it easier for developers to manage their projects, the Cordova project team built a single, unified command-line interface (CLI) that works across all of the Cordova-supported mobile device platforms. This chapter illustrates how to use the Cordova CLI to manage Apache Cordova application projects.

About the CLI

Because Cordova applications ...

Get Apache Cordova 3 Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.