試してみてくださいphonegap install android
。
引数なしで入力するだけでphonegap
、基本的なヘルプが表示されます。特定のコマンドについて詳しく知りたい場合は、phonegap help <subcommand>
個人的には、Cordova CLI のドキュメントがもう少し詳細であることがわかりました。ローカルでビルドするだけであれば、私が知る限りcordova
、コマンドとコマンドの間に大きな違いはありません。phonegap
このコマンドが本当に必要になるのは、phonegap
PhoneGap Build も使用している場合のみです。
例:
% phonegap
Usage: /usr/local/share/npm/bin/phonegap [options] [commands]
Description:
PhoneGap command-line tool.
Commands:
create <path> create a phonegap project
build <platform> build a specific platform
install <platform> install a specific platform
run <platform> build and install a specific platform
local [command] development on local system
remote [command] development in cloud with phonegap/build
help [command] output usage information
version output version number
% phonegap help install
Usage: /usr/local/share/npm/bin/phonegap install [options] <platform>
Description:
Installs the application for a specific platform.
Automatically detects platform SDK support and uses the correct environment.
See each environment for available [options].
Examples:
$ /usr/local/share/npm/bin/phonegap install android