Join Chris Griffith for an in-depth discussion in this video The PhoneGap CLI vs. the Cordova CLI, part of Building Mobile Apps with the PhoneGap Command-Line Interface.
- Since there is both Apache Cordova CLI and Adobe PhoneGap CLI, it's quite easy to become confused between the names. The documentation also switches between the two projects, adding to the confusion. Both projects are nearly identical. The PhoneGap CLI uses the Cordova CLI as it's foundation. The primary difference between the two is the PhoneGap CLI allows you to use the PhoneGap build service to compile your application of their servers rather than locally. The other differences are minor.
Some remapping is the commands but that's about it. I will point these differences out as we explore the capabilities of the CLI. For us to use the PhoneGap CLI, we'll need to use the command line. On the MAC, the command line is available via the terminal application. This is located in your applications directory, inside a utilities folder. On the PC, it's available as a command prompt under accessories. We'll be spending a lot of time here through the rest of this course.
- Installing the PhoneGap and Cordova CLIs
- Creating a new project
- Building an app
- Testing apps
- Adding and removing plugins
- Using hooks
- Compiling apps remotely