docs(cmd): update

This commit is contained in:
iyear 2022-09-09 23:18:08 +08:00
parent 8dbdf2d7e6
commit fa3c480a28
2 changed files with 30 additions and 12 deletions

View file

@ -2,25 +2,13 @@
Download what you want
```
tdl dl [flags]
```
### Examples
```
tdl dl
```
### Options
```
-h, --help help for dl
-l, --limit int max number of concurrent tasks (default 2)
-m, --mode string mode for download
-s, --part-size int part size for download, max is 512*1024 (default 524288)
-t, --threads int threads for downloading one item (default 8)
-u, --url strings array of message links to be downloaded
```
### Options inherited from parent commands
@ -33,4 +21,5 @@ tdl dl
### SEE ALSO
* [tdl](tdl.md) - Telegram downloader, but not only a downloader
* [tdl dl url](tdl_dl_url.md) - Download in url mode

View file

@ -0,0 +1,29 @@
## tdl dl url
Download in url mode
```
tdl dl url [flags]
```
### Options
```
-h, --help help for url
-u, --urls strings telegram message links to be downloaded
```
### Options inherited from parent commands
```
-l, --limit int max number of concurrent tasks (default 2)
-n, --ns string namespace for Telegram session
-s, --part-size int part size for download, max is 512*1024 (default 524288)
--proxy string proxy address, only socks5 is supported, format: protocol://username:password@host:port
-t, --threads int threads for downloading one item (default 8)
```
### SEE ALSO
* [tdl dl](tdl_dl.md) - Download what you want