blob: c0cc0acd6ddc2075935d44a0c89d25dd6bc5348a [file] [log] [blame]
Synopsis
cordova command [options]
Global Commands
create [path]...................... creates a cordova project in the specified directory
-v ................................ prints out this utility's version
Project-Level Commands
platform [add|remove|ls [name]] ... adds or removes a platform, or lists all currently-added platforms
plugin [add|remove|ls [path]] ..... adds or removes a plugin (from the specified path), or lists all currently-added plugins
build ............................. builds a cordova project
emulate ........................... starts emulator for cordova project
serve <platform> [port] ........... runs a local web server for the www/ directory of the given platform
the default port is 8000
note that you must edit the native code to point at the server!
help .............................. shows this!
Example usage
$ cordova create Baz
$ cd Baz
$ cordova platform add android
$ cordova build
$ cordova serve android