Skip to content

Commit

Permalink
chore(app): Rename cli to config-cordova
Browse files Browse the repository at this point in the history
  • Loading branch information
Tallyb committed Feb 10, 2019
1 parent 506982b commit c00203c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,16 +268,16 @@ Resolves a promise when the file is written.
## CLI Usage

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

### 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
$ config-cordova set name "New Name"
$ config-cordova set name "New Name" --config=../config.xml
$ config-cordova add hook after_prepare script/after_prepare.js --config=../config.xml
$ config-cordova rm access-origin "*" --config=../fixtures/config.xml
```

### Actions and configs
Expand All @@ -288,7 +288,7 @@ $ cordova-config rm access-origin "*" --config=../fixtures/config.xml

### Values

See `cordova-config` [APIs](https://github.com/SamVerschueren/cordova-config#api) to find value signature of the method
See `config-cordova` [APIs](https://github.com/SamVerschueren/cordova-config#api) to find value signature of the method

### Options

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"node": ">=6"
},
"bin": {
"cordova-config": "cli.js"
"config-cordova": "cli.js"
},
"scripts": {
"test": "xo && nyc ava",
Expand Down

0 comments on commit c00203c

Please sign in to comment.