Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs(config): undocument "autosave" setting #485

Merged
merged 1 commit into from
Nov 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions doc/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ Options


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 set <key> <value> ....... cordova config set save-exact true
cordova-cli config get <key> ............... cordova config get save-exact
cordova-cli config delete <key> ............ cordova config delete save-exact
cordova-cli config edit .................... cordova config edit
cordova-cli config ls ...................... cordova config ls

Options
autosave ...................... default setting = true
Allows the user to set save to true or false when adding platforms or plugins.
When false, platforms/plugins are not saved to `config.xml` and `package.json`.
save-exact ...................... default setting = false

Examples
cordova config set autosave false
cordova config set save-exact true
2 changes: 1 addition & 1 deletion doc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ cordova config delete <key>
### Examples

```
cordova config set autosave false
cordova config set save-exact true
```

[Hooks guide]: http://cordova.apache.org/docs/en/latest/guide_appdev_hooks_index.md.html
Expand Down