The command line interface for WebTorrent. Supports magnets, urls, info hashes and .torrent files.
# To download a torrent:
webtorrent download "<torrent_id>"
# To stream a torrent to VLC media player:
webtorrent download "<torrent_id>" --vlc
# To stream a torrent to a Digital Living Network Alliance (DLNA) device:
webtorrent download "<torrent_id>" --dlna
# To display a list of files for a specific torrent:
webtorrent download "<torrent_id>" --select
# To specify a file index from the torrent to download:
webtorrent download "<torrent_id>" --select <index>
# To seed a specific file or directory:
webtorrent seed <path/to/file_or_directory>
# To create a new torrent file for the specified file path:
webtorrent create <path/to/file>
# To display information for a magnet uri or .torrent file:
webtorrent info <path/to/file_or_magnet>