Skip to content

Commit

Permalink
chore: update metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Manfred Touron <[email protected]>
  • Loading branch information
moul committed Mar 27, 2022
1 parent 0e438e2 commit 71f38a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# `berty-cli` NPM package
# `@berty/cli` NPM package



[![CI](https://github.com/berty/berty-cli/actions/workflows/CI.yml/badge.svg)](https://github.com/berty/berty-cli/actions/workflows/CI.yml)
[![CI](https://github.com/berty/npm-berty-cli/actions/workflows/CI.yml/badge.svg)](https://github.com/berty/npm-berty-cli/actions/workflows/CI.yml)

A simple Node wrapper around [berty](https://berty.tech). It fetches the right berty executable before piping all provided command line arguments to it.

Expand All @@ -29,7 +29,7 @@ SUBCOMMANDS
If you want to download a specific berty version, you can set `BERTY_VERSION` env before you run the command.

```bash
$ BERTY_VERSION=2.364.5 npx berty-cli version
$ BERTY_VERSION=2.364.5 npx @berty/cli version
```


Expand All @@ -40,18 +40,18 @@ Add to your build scripts in `package.json` to build you site from NodeJS:
```json
...
"scripts": {
"daemon": "berty daemon"
"berty-daemon": "berty account-daemon -node.account.listeners /ip4/127.0.0.1/tcp/9092/grpcws -node.listeners /ip4/127.0.0.1/tcp/9091/grpcws --log.filters=bty.grpc"
},
"dependencies": {
"berty-cli": "*"
"@berty/cli": "*"
},
...
```

Execute directly via [`npx`](https://www.npmjs.com/package/npx):

```bash
npx berty-cli daemon
npx @berty/cli daemon
```


Expand Down

0 comments on commit 71f38a7

Please sign in to comment.