-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CB-11982 : added config command that sets, gets, and deletes
- Loading branch information
1 parent
72440d1
commit dba7c9a
Showing
2 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Synopsis | ||
|
||
cordova-cli config <command> [options] | ||
|
||
|
||
The config command can be used to set, get, delete, and edit the | ||
contents of the user files. | ||
|
||
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. | ||
|
||
Example | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters