docs(cmd): update

This commit is contained in:
iyear 2022-09-15 15:52:03 +08:00
parent b935ae7737
commit 6efee6c2ce
8 changed files with 24 additions and 12 deletions

View file

@ -1,6 +1,6 @@
## tdl ## tdl
Telegram downloader, but not only a downloader Telegram Downloader, but more than a downloader
### Examples ### Examples

View file

@ -2,6 +2,12 @@
A set of chat tools A set of chat tools
### Examples
```
tdl chat -h
```
### Options ### Options
``` ```
@ -17,6 +23,6 @@ A set of chat tools
### SEE ALSO ### SEE ALSO
* [tdl](tdl.md) - Telegram downloader, but not only a downloader * [tdl](tdl.md) - Telegram Downloader, but more than a downloader
* [tdl chat ls](tdl_chat_ls.md) - List your all chats with info * [tdl chat ls](tdl_chat_ls.md) - List your chats

View file

@ -1,11 +1,17 @@
## tdl chat ls ## tdl chat ls
List your all chats with info List your chats
``` ```
tdl chat ls [flags] tdl chat ls [flags]
``` ```
### Examples
```
tdl chat ls -n iyear --proxy socks5://localhost:1080
```
### Options ### Options
``` ```

View file

@ -26,6 +26,6 @@ tdl dl -h
### SEE ALSO ### SEE ALSO
* [tdl](tdl.md) - Telegram downloader, but not only a downloader * [tdl](tdl.md) - Telegram Downloader, but more than a downloader
* [tdl dl url](tdl_dl_url.md) - Download in url mode * [tdl dl url](tdl_dl_url.md) - Download in url mode

View file

@ -9,7 +9,7 @@ tdl dl url [flags]
### Examples ### Examples
``` ```
tdl dl url -n iyear --proxy socks5://127.0.0.1:1080 -u https://t.me/tdl/1 -u https://t.me/tdl/2 -s 262144 -t 16 -l 3 tdl dl url -n iyear --proxy socks5://localhost:1080 -u https://t.me/tdl/1 -u https://t.me/tdl/2 -s 262144 -t 16 -l 3
``` ```
### Options ### Options

View file

@ -9,7 +9,7 @@ tdl login [flags]
### Examples ### Examples
``` ```
tdl login -n my-tdl --proxy socks5://localhost:1080 tdl login -n iyear --proxy socks5://localhost:1080
``` ```
### Options ### Options
@ -27,5 +27,5 @@ tdl login -n my-tdl --proxy socks5://localhost:1080
### SEE ALSO ### SEE ALSO
* [tdl](tdl.md) - Telegram downloader, but not only a downloader * [tdl](tdl.md) - Telegram Downloader, but more than a downloader

View file

@ -9,7 +9,7 @@ tdl up [flags]
### Examples ### Examples
``` ```
tdl up -h tdl up -n iyear --proxy socks5://localhost:1080 -p /path/to/file -p /path -e .so -e .tmp -s 262144 -t 16 -l 3
``` ```
### Options ### Options
@ -19,7 +19,7 @@ tdl up -h
-h, --help help for up -h, --help help for up
-l, --limit int max number of concurrent tasks (default 2) -l, --limit int max number of concurrent tasks (default 2)
-s, --part-size int part size for uploading, max is 512*1024 (default 524288) -s, --part-size int part size for uploading, max is 512*1024 (default 524288)
-p, --path strings it can be dirs or files -p, --path strings dirs or files
-t, --threads int threads for uploading one item (default 8) -t, --threads int threads for uploading one item (default 8)
``` ```
@ -32,5 +32,5 @@ tdl up -h
### SEE ALSO ### SEE ALSO
* [tdl](tdl.md) - Telegram downloader, but not only a downloader * [tdl](tdl.md) - Telegram Downloader, but more than a downloader

View file

@ -27,5 +27,5 @@ tdl version
### SEE ALSO ### SEE ALSO
* [tdl](tdl.md) - Telegram downloader, but not only a downloader * [tdl](tdl.md) - Telegram Downloader, but more than a downloader