diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-03-11 09:45:50 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-03-11 09:45:50 +0300 |
commit | 7959ce4adccc4338c3d544b7c13d8061d3b3d837 (patch) | |
tree | 82b128015c82aa14469cefb7022bbaa90e73ea64 /README.md | |
parent | 0e1671d695ef1876bb4fb01abba6f44d5d9c1726 (diff) |
BREAKING: Move command line to new package: webtorrent-cli
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -87,10 +87,11 @@ To install WebTorrent for use in node or the browser with `require('webtorrent') npm install webtorrent ``` -To install a `webtorrent` command line program, run: +To install a `webtorrent` +[command line program](https://github.com/feross/webtorrent-cli), run: ```bash -npm install webtorrent -g +npm install webtorrent-cli -g ``` ### Ways to help @@ -186,10 +187,11 @@ WebTorrent also works in node.js, using the *same npm module!* It's mad science! #### As a command line app -WebTorrent is available as a command line app. Here's how to use it: +WebTorrent is available as [a command line app](https://github.com/feross/webtorrent-cli). +Here's how to use it: ```bash -$ npm install webtorrent -g +$ npm install webtorrent-cli -g $ webtorrent --help ``` @@ -756,12 +758,6 @@ module you want to debug (e.g. `bittorrent-protocol`, or `*` to print **all logs DEBUG=* webtorrent ``` -Of course, this also works for the development version: - -```bash -DEBUG=* ./bin/cmd.js -``` - In the **browser**, enable debug logs by running this in the developer console: ```js |