Repository: cordova-plugman Updated Branches: refs/heads/master 2bef3adbd -> 51c01468e
wp7 is dead, long live wp7 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/af964fd2 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/af964fd2 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/af964fd2 Branch: refs/heads/master Commit: af964fd269deaa63972d395014b48c901e477f90 Parents: b40efa6 Author: Jesse MacFadyen <[email protected]> Authored: Mon Jun 16 12:49:42 2014 -0700 Committer: Jesse MacFadyen <[email protected]> Committed: Mon Jun 16 12:49:42 2014 -0700 ---------------------------------------------------------------------- README.md | 12 ++++++------ main.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/af964fd2/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 15dca3e..88580c7 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ You must have `git` on your PATH to be able to install plugins directly from rem * Android * BlackBerry 10 * Tizen -* Windows Phone (7+8) +* Windows Phone 8 * Windows 8 ## Command Line Usage @@ -38,8 +38,8 @@ You must have `git` on your PATH to be able to install plugins directly from rem * Displays all available plugman commands - plugman install --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin <name|url|path> [--plugins_dir <directory>] [--www <directory>] [--variable <name>=<value> [--variable <name>=<value> ...]] - plugman uninstall --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin <id> [--www <directory>] [--plugins_dir <directory>] + plugman install --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin <name|url|path> [--plugins_dir <directory>] [--www <directory>] [--variable <name>=<value> [--variable <name>=<value> ...]] + plugman uninstall --platform <ios|amazon-fireos|android|blackberry10|wp8> --project <directory> --plugin <id> [--www <directory>] [--plugins_dir <directory>] * Using minimum parameters, installs a plugin into a cordova project. You must specify a platform and cordova project location for that platform. You also must specify a plugin, with the different `--plugin` parameter forms being: * `name`: The directory name where the plugin contents exist. This must be an existing directory under the `--plugins_dir` path (see below for more info) or a plugin in the Cordova registry. @@ -86,7 +86,7 @@ This section details how to consume Plugman as a node module and is only for Cor Installs a plugin into a specified cordova project of a specified platform. - * `platform`: one of `amazon-fireos`, `android`, `ios`, `blackberry10`, `wp7` or `wp8` + * `platform`: one of `amazon-fireos`, `android`, `ios`, `blackberry10`, or `wp8` * `project_dir`: path to an instance of the above specified platform's cordova project * `id`: a string representing the `id` of the plugin, a path to a cordova plugin with a valid `plugin.xml` file, or an `https://` or `git://` url to a git repository of a valid cordova plugin or a plugin published to the Cordova registry * `plugins_dir`: path to directory where plugins will be stored, defaults to `<project_dir>/cordova/plugins` @@ -101,7 +101,7 @@ Installs a plugin into a specified cordova project of a specified platform. Uninstalls a previously-installed cordova plugin from a specified cordova project of a specified platform. - * `platform`: one of `amazon-fireos`, `android`, `ios`, `blackberry10`, `wp7` or `wp8` + * `platform`: one of `amazon-fireos`, `android`, `ios`, `blackberry10`, or `wp8` * `project_dir`: path to an instance of the above specified platform's cordova project * `id`: a string representing the `id` of the plugin * `plugins_dir`: path to directory where plugins are stored, defaults to `<project_dir>/cordova/plugins` @@ -130,7 +130,7 @@ Finalizes plugin installation by making configuration file changes and setting u module.exports = function handlePrepare(project_dir, platform, plugins_dir) { * `project_dir`: path to an instance of the above specified platform's cordova project - * `platform`: one of `amazon-fireos`, `android`, `ios`, `blackberry10`, `wp7` or `wp8` + * `platform`: one of `amazon-fireos`, `android`, `ios`, `blackberry10`, or `wp8` * `plugins_dir`: path housing all plugins used in this project ## Registry related actions http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/af964fd2/main.js ---------------------------------------------------------------------- diff --git a/main.js b/main.js index 6c9d59b..93a673b 100755 --- a/main.js +++ b/main.js @@ -28,7 +28,7 @@ var path = require('path') , cordova_lib = require('cordova-lib') , plugman = cordova_lib.plugman; -var known_opts = { 'platform' : [ 'ios', 'android', 'amazon-fireos', 'blackberry10', 'wp7', 'wp8' , 'windows8', 'firefoxos' ] +var known_opts = { 'platform' : [ 'ios', 'android', 'amazon-fireos', 'blackberry10', 'wp8' , 'windows8', 'firefoxos' ] , 'project' : path , 'plugin' : [String, path, url, Array] , 'version' : Boolean
