Phonegap CLI - CGastrell/phonegap GitHub Wiki
Phonegap incluye muchas funcionalidades, para ver una ayuda rapida, ejecutar
phonegap help
Tipeando phonegap help <comando>
en nuestra consola de comandos podemos acceder a ayuda de cada comando.
Usage: phonegap [options] [commands]
Description:
PhoneGap command-line tool.
Commands:
help [command] output usage information
create <path> create a phonegap project
build <platforms> build the project for a specific platform
install <platforms> install the project on for a specific platform
run <platforms> build and install the project for a specific platform
platform [command] update a platform version
plugin [command] add, remove, and list plugins
template [command] list available app templates
info display information about the project
serve serve a phonegap project
version output version number
Additional Commands:
local [command] development on local system
remote [command] development in cloud with phonegap/build
prepare <platforms> copies www/ into platform project before compiling
compile <platforms> compiles platform project without preparing it
emulate <platforms> runs the project with the flag --emulator
cordova execute of any cordova command
Experimental Commands:
Requires the --experimental flag to use the command
save save installed platforms and plugins
restore restores saved platforms and plugins
Options:
-d, --verbose allow verbose output
-v, --version output version number
-h, --help output usage information
Examples:
$ phonegap help create
$ phonegap create path/to/my-app
$ cd my-app/
$ phonegap run ios
Por ejemplo, para mas detalles de como crear una app podemos usar phonegap help create
. De misma forma podemos invocarlo para ayuda especifica sobre cada comando.
phonegap help plugin
phonegap help serve