1 | Synopsis
|
2 |
|
3 | cordova-cli config <command> [options]
|
4 |
|
5 |
|
6 | The config command can be used to set, get, delete, edit, and list global cordova options.
|
7 |
|
8 | Options
|
9 | --set <key> <value> .............................. Sets the config key to the value.If value is omitted, then it sets it to "true".
|
10 | --get <key> ...................................... Echo the config value to stdout.
|
11 | --delete <key> ................................... Deletes the key from all configuration files.
|
12 | --edit ........................................... Opens the config file in an editor.
|
13 | --ls ............................................. Lists contents of config file.
|
14 |
|
15 | Syntax
|
16 | cordova-cli config set <key> <value> ....... cordova config set autosave true
|
17 | cordova-cli config get <key> ............... cordova config get autosave
|
18 | cordova-cli config delete <key> ............ cordova config delete autosave
|
19 | cordova-cli config edit .................... cordova config edit
|
20 | cordova-cli config ls ...................... cordova config ls
|
21 |
|
22 | Examples
|
23 | cordova config set autosave false
|
24 | cordova config set browserify true
|
25 | cordova config set fetch false
|