Skip to content

Commit

Permalink
Shorten readme commands
Browse files Browse the repository at this point in the history
  • Loading branch information
borzunov committed Jan 13, 2022
1 parent cd29239 commit 5cc475d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,34 +86,34 @@ If torrent files are provided as command line arguments, corresponding adding di

1. Start a daemon:

python3 torrent_cli.py start &
./torrent_cli.py start &

2. *(optional)* Look at a list of files in a torrent you want to download:

python3 torrent_cli.py show ./examples/debian-11.2.0-amd64-netinst.iso.torrent
./torrent_cli.py show ./examples/debian-11.2.0-amd64-netinst.iso.torrent

3. Specify a download directory and add the torrent to the daemon:

python3 torrent_cli.py add ./examples/debian-11.2.0-amd64-netinst.iso.torrent -d ./downloads
./torrent_cli.py add ./examples/debian-11.2.0-amd64-netinst.iso.torrent -d ./downloads

If the torrent contains more than one file, you can select which files you want to download
using `--include` and `--exclude` options. For more information run:

python3 torrent_cli.py add --help
./torrent_cli.py add --help

4. Watch torrent status:

watch python3 torrent_cli.py status
watch ./torrent_cli.py status

Add `-v` to increase output verbosity.

You also can add more torrents, pause, resume, and remove them. For more information run:

python3 torrent_cli.py --help
./torrent_cli.py --help

5. To stop the daemon run:

python3 torrent_cli.py stop
./torrent_cli.py stop

The daemon will restore its state after restart.

Expand Down

0 comments on commit 5cc475d

Please # to comment.