Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING: Move command line to new package: webtorrent-cli #667

Merged
merged 1 commit into from Mar 11, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

BREAKING: Move command line to new package: webtorrent-cli

  • Loading branch information
feross committed Mar 11, 2016
commit 7959ce4adccc4338c3d544b7c13d8061d3b3d837
@@ -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

This file was deleted.

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.