ヘルプページ表示

Android開発に関するメモランダム

カテゴリー: アプリ化  閲覧数:318 配信日:2018-08-07 13:27


2種類


キーワードのhelpを追加するか、phonegapコマンドに-hまたは--h属性を追加すると、いつでもPhoneGap CLIの使用法にアクセスできる

キーワードのhelpを追加


C:\Users\★★>phonegap create help
Usage: phonegap create [options] <path> [id [name [config]]]

Description:

 Creates a new application at the provided path.

 The application name and package ID can also be customized.
 These values are set in the app manifest (config.xml) and are used when
 creating a native project (platforms/<platform>/).

 The application can be created from an existing template as well. You can
 use any template that is published on npm, in your local file path, or available
 from a git URL. PhoneGap also recommends a few popular templates and provides
 shortened names for each. You can list the recommended templates with the
 `template list` command.

 The [config] option allows you to pass a JSON string, which will be injected
 into `<path>/.cordova/config.json`.

Options:

 --name, -n <name>                        application name (default: "Hello World")
 --id, -i <package>                       package name (default: "com.phonegap.hello-world")
 --copy-from, -src <path>                 create project using a copy of an existing project
 --link-to <path>                         symlink/shortcut to the www assets without copying
 --template <npm package|path|git url>    create app using template found on npm,
                                          your local path, or a git URL.

Examples:

 $ phonegap create path/to/my-app
 $ phonegap create path/to/my-app "com.example.app" "My App"
 $ phonegap create path/to/my-app --id "com.example.app" --name "My App"
 $ phonegap create path/to/my-app --copy-from ../my-other-app
 $ phonegap create path/to/my-app --template hello-world
 $ phonegap create path/to/my-app --template phonegap-template-hello-world

Also See:

 $ phonegap help template
 $ phonegap help template list


C:\Users\★★>


phonegapコマンドに-hまたは--h属性を追加


C:\Users\★★>phonegap serve -h
Usage: phonegap serve [options]

Description:

 Serves the application on a local web server.

 The intended receiver is the PhoneGap App, but any
 browser can consume the content.

Options:

 --port, -p <n>       port for web server (default: 3000)
 --autoreload         enable app refresh on file changes (default: true)
 --no-autoreload      disable app refresh on file changes
 --browser            enable desktop browser support (default: true)
 --no-browser         disable desktop browser support
 --console            enable console.log support to the terminal (default: true)
 --no-console         disable console.log support to the terminal
 --deploy             enable the app to actually load updates or new apps from the server when already connected (default: true)
 --no-deploy          disable the app from loading updates or new apps when already connected
 --homepage           enable three-finger tap to go back to the server input page (default: true)
 --no-homepage        disable three-finger tap
 --localtunnel        enable a local tunnel for public access (default: false)
 --push               enable the app to register for push notifications
 --no-push            disable the app from registering push notifications
 --proxy              enable the browser to make xhr calls using a proxy
 --no-proxy           disable proxying on the browser
 --refresh            enable four finger tap to refresh to the app's current page (default: true)
 --no-refresh         disable four finger tap
Alias:

 phonegap app

Examples:

 $ phonegap serve
 $ phonegap serve --port 1337
 $ phonegap serve --no-autoreload
 $ phonegap serve --browser
 $ phonegap serve --no-browser
 $ phonegap serve --console
 $ phonegap serve --no-console
 $ phonegap serve --homepage
 $ phonegap serve --no-homepage
 $ phonegap serve --localtunnel
 $ phonegap app


C:\Users\★★>



手順1: PhoneGapのインストール

週間人気ページランキング / 2-16 → 2-22
順位 ページタイトル抜粋 アクセス数
アクセスが、ありませんでした! 0
2025/2/23 1:01 更新
指定期間人気ページランキング / 1970-1-1 → 2025-2-22
順位 ページタイトル抜粋 アクセス数
アクセスが、ありませんでした! 0
2025/2/23 1:01 更新