mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-09 13:36:29 +00:00
doc: change suggested scripts names (#63)
* Change script name and add yarn The script name suggested (`add`) will conflict with users of yarn. So I modified the suggested name to `append` which is what it does. And now it can have a yarn example as well. * remove yarn example * namespace add
This commit is contained in:
parent
82d1eb7c51
commit
9f875e9aa8
1 changed files with 5 additions and 4 deletions
|
@ -19,18 +19,19 @@ Once initialized, you don't need to have `all-contributors-cli` installed globa
|
|||
```console
|
||||
npm install --save-dev all-contributors-cli
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
"scripts": {
|
||||
"add": "all-contributors add",
|
||||
"generate": "all-contributors generate"
|
||||
"contributors:add": "all-contributors add",
|
||||
"contributors:generate": "all-contributors generate"
|
||||
}
|
||||
}
|
||||
```
|
||||
and use them via `npm run`:
|
||||
```console
|
||||
npm run add -- jfmengels doc
|
||||
npm run generate
|
||||
npm run contributors:add -- jfmengels doc
|
||||
npm run contributors:generate
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
|
Loading…
Reference in a new issue