4. Using the Cordova Command-Line Interfaces

Rather than have separate processes for each supported mobile platform, the Cordova team created two command-line interfaces (CLIs) developers can use to manage most any aspect of an Apache Cordova project. The primary CLI is the Cordova CLI; the other is Plugman, which is used indirectly by the Cordova CLI to manage plugins and directly by developers creating plugins or doing single-platform development. I will cover both of these tools in this chapter.

PhoneGap has its own CLI—it’s basically the Cordova CLI with some additional commands or command parameters added to it. I will cover the additional capabilities of the PhoneGap CLI in Chapter 13, “Using the PhoneGap CLI,” after I’ve introduced you ...

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

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