https://github.com/ragingwind/cordova-config-cli
CLI tool for [cordova-config](https://github.com/SamVerschueren/cordova-config). It exports APIs of cordova-config to cli
https://github.com/ragingwind/cordova-config-cli
Last synced: about 1 year ago
JSON representation
CLI tool for [cordova-config](https://github.com/SamVerschueren/cordova-config). It exports APIs of cordova-config to cli
- Host: GitHub
- URL: https://github.com/ragingwind/cordova-config-cli
- Owner: ragingwind
- License: mit
- Created: 2015-08-31T14:53:54.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-14T00:15:09.000Z (almost 10 years ago)
- Last Synced: 2025-04-16T15:37:47.641Z (about 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# cordova-config-cli [](https://travis-ci.org/ragingwind/cordova-config-cli)
> CLI tool for [cordova-config](https://github.com/SamVerschueren/cordova-config). It exports APIs of cordova-config to cli
## Install
```
$ npm install --save cordova-config-cli
```
## CLI
```
$ npm install --global cordova-config-cli
```
### Usage
```sh
$ cordova-config
```
### Examples
```sh
$ cordova-config set name "New Name"
$ cordova-config set name "New Name" --config=../config.xml
$ cordova-config add hook after_prepare script/after_prepare.js --config=../config.xml
$ cordova-config rm access-origin "*" --config=../fixtures/config.xml
```
### Actions and configs
- set: name, desc, author, version, android-version, ios-version
- add: preference, access-origin, xml, hook
- rm: access-origin
### Values
See `cordova-config` [APIs](https://github.com/SamVerschueren/cordova-config#api) to find value signature of the method
### Options
- --config: **required**, **string**, path of config.xml if not set? use a current path for reading'
## License
MIT © [Jimmy Moon](http://ragingwind.me)