0.2.0 • Published 8 years ago

cordova-config-cli v0.2.0

Weekly downloads
19
License
MIT
Repository
github
Last release
8 years ago

cordova-config-cli Build Status

CLI tool for 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

$ cordova-config <actions> <config> <value> <options>

Examples

$ 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 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

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago