chore(torrent_api): readme
This commit is contained in:
1 parent
f4c7610ab4
commit
774e8792b9
1 file changed
+5
-3
@@ -23,8 +23,9 @@ instance.show_torrents(id=True) # Include torrent hashes in the listing.
|
|||||||
downloaded files by default. Pass `delete_files=False` to retain the files. It
|
downloaded files by default. Pass `delete_files=False` to retain the files. It
|
||||||
returns the matching torrent records after a successful deletion.
|
returns the matching torrent records after a successful deletion.
|
||||||
`get_torrent_contents` prints files whose progress meets the threshold
|
`get_torrent_contents` prints files whose progress meets the threshold
|
||||||
(default: 1.0). Names must match exactly; use the hash if multiple torrents
|
(default: 1.0). Pass `copy_to` with a destination directory to also copy files
|
||||||
have the same name.
|
that are 100% complete there, preserving their torrent-relative paths. Names
|
||||||
|
must match exactly; use the hash if multiple torrents have the same name.
|
||||||
|
|
||||||
## CLI and debugging
|
## CLI and debugging
|
||||||
|
|
||||||
@@ -41,7 +42,8 @@ torrent-api
|
|||||||
|
|
||||||
The CLI uses the existing private and public instance addresses and supports
|
The CLI uses the existing private and public instance addresses and supports
|
||||||
`--sort`, `--asc`, `--force-start`, `--show-id`, `--id` (torrent name or hash
|
`--sort`, `--asc`, `--force-start`, `--show-id`, `--id` (torrent name or hash
|
||||||
for contents), and `--progress-threshold`. The VS Code launch configuration
|
for contents), `--progress-threshold`, and `--copy-to` (a destination directory
|
||||||
|
for completed files). The VS Code launch configuration
|
||||||
uses the workspace `main.py` and loads `.env` automatically. Keep this file
|
uses the workspace `main.py` and loads `.env` automatically. Keep this file
|
||||||
private; it is ignored by Git.
|
private; it is ignored by Git.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user