From 7959ce4adccc4338c3d544b7c13d8061d3b3d837 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 10 Mar 2016 22:45:50 -0800 Subject: BREAKING: Move command line to new package: webtorrent-cli --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4235ac3..0430f33 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3