-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
usage.txt
42 lines (34 loc) · 3.71 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Synopsis
cordova-check-plugins [options]
Description
With no options specified, this displays the update status of installed plugins in a Cordova project with respect to their remote source.
By default, installed plugins are compared to the remote source from which they were installed to find if updates are available.
Specifying the --target=config option will compare installed plugin versions to those specified in the <plugin> elements of config.xml.
Specifying the --update option allows installed plugins for which updates are available to be updated.
Options
-h, --help ...... Displays this help list.
-v, --version ...... Displays currently installed version of this module.
--verbose ...... Displays detailed log output.
--update={mode|pluginIds} ...... Specifies update mode for plugins which have updates available.
Valid modes are:
none - (default) don't update plugins
interactive - using interactive CLI to choose which plugins to update manually
auto - automatically update any plugins for which an update is available
Or where pluginIds is the ID of a single specific plugin to update, or a space-separated list of multiple plugin IDs
--force, --force-update ...... Forces the update of dependent plugins when updating plugins
--unconstrain-versions ...... Unconstrains checking of remote version so the highest remote version will be displayed regardless of locally specified
version.
--github-username ...... Username to use for authenticated access to GitHub API. Specification of user credentials for GitHub increases API request limit to 5000 requests/hour.
--github-password ...... Password to use for authenticated access to GitHub API. Specification of user credentials for GitHub increases API request limit to 5000 requests/hour.
--target ...... Sets the target to use for establishing if installed plugins are up-to-date.
Valid values are:
remote - (default) installed plugin versions will be compared to available versions in the remote source (e.g npm registry, git repo, local folder).
config - installed plugin versions will be to compared to the versions specified in <plugin> elements in the config.xml file.
--allow-downdate ...... If the installed plugin version is newer than the version specified in the config.xml, allow the plugin to be downgraded to the version specified in the config.xml. Only applies if --target=config is set.
--nosave ...... Omits saving changes when updating plugins. By default (if this argument is omitted), when updating plugins, changes will be saved to config.xml and package.json.
--remove-all ...... Removes all installed plugins from the project. If --save is also specified, entries will also be removed from config.xml.
--obfuscate-credentials ...... A space-separated list of credentials to obfuscate when logging output to the console. This is useful if your plugin source URLs contain sensitive credentials such as passwords or access tokens that you don't want to appear in console output from the tool. Any credentials specified here will be replaced with {obfuscated} in the console output.
--nofetch ...... If using cordova@7+, forces Cordova CLI to use legacy `git clone` mechanism when installing plugins, rather than the default `npm install` method. Only applies when updating plugins.
--cwd ...... Sets the directory from which the tool should be executed. If not specified, defaults to the directory from which the `cordova-check-plugins` command is executed.
--nospinner ...... Turns off the CLI spinner which is used by default to indicate when an async operation is in progress.
For more details see the Github page: http://github.com/dpa99c/cordova-check-plugins