blob: 607452e0e7c25929188787eba1bd91e6b4370057 [file] [log] [blame]
Synopsis
cordova-cli config <command> [options]
The config command can be used to set, get, delete, edit, and list global cordova options.
Options
--set <key> <value> .............................. Sets the config key to the value.If value is omitted, then it sets it to "true".
--get <key> ...................................... Echo the config value to stdout.
--delete <key> ................................... Deletes the key from all configuration files.
--edit ........................................... Opens the config file in an editor.
--ls ............................................. Lists contents of config file.
Syntax
cordova-cli config set <key> <value> ....... cordova config set autosave true
cordova-cli config get <key> ............... cordova config get autosave
cordova-cli config delete <key> ............ cordova config delete autosave
cordova-cli config edit .................... cordova config edit
cordova-cli config ls ...................... cordova config ls
Examples
cordova config set autosave false
cordova config set browserify true
cordova config set fetch false