0.1.1 • Published 5 years ago

@merorafael/torrent-cli v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

torrent-cli

Torrent CLI to create, download and seed torrent files.

oclif Version Downloads/week License

Usage

$ npm install -g @merorafael/torrent-cli
$ torrent-cli COMMAND
running command...
$ torrent-cli (-v|--version|version)
@merorafael/torrent-cli/0.1.0 linux-x64 node-v11.15.0
$ torrent-cli --help [COMMAND]
USAGE
  $ torrent-cli COMMAND
...

Commands

torrent-cli create

Create a torrent file

USAGE
  $ torrent-cli create

OPTIONS
  -d, --downloadUrl=downloadUrl  (required) Download url used for WebSeed and download file if localUrl is not informed
  -l, --localUrl=localUrl        Local file url
  --announce=announce            Tracker announce address used for torrent download
  --[no-]private                 Make a private torrent file (Works only on specified announcer tracker)
  --src=src                      [default: ./] Directory when torrent file is write

See code: src/commands/create.js

torrent-cli help [COMMAND]

display help for torrent-cli

USAGE
  $ torrent-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

torrent-cli share

Download and share torrent file

USAGE
  $ torrent-cli share

OPTIONS
  -f, --torrentFile=torrentFile  (required) Torrent file address
  -p, --path=path                [default: ./] Folder to download files
  -t, --timeout=timeout          [default: 0] Client timeout after download completed in milliseconds(0 for infinity)
  --[no-]dht                     Enable/Disable BitTorrent DHT protocol
  --[no-]tracker                 Enable/Disable BitTorrent Tracker protocol
  --[no-]webSeeds                Enable/Disable web seeds

See code: src/commands/share.js