Skip to content

Commit

Permalink
Update: Add description for default alias "proxy"
Browse files Browse the repository at this point in the history
  • Loading branch information
LussacZheng committed Aug 29, 2020
1 parent 1bda4d8 commit e0eacfe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -45,6 +45,7 @@
| 别名 | 作用 |
| :---------------------------------------------------- | :--------------------------------------------------- |
| open = `explorer .\` | 打开当前目录,即 `Download` 文件夹 |
| proxy ≈ `set HTTP(S)_PROXY=...` | 快速为当前 CMD 窗口启用/禁用代理 (`proxy help`) |
| yb = `youtube-dl -f bestvideo+bestaudio` | 使用 youtube-dl 下载最佳清晰度 |
| yf = `youtube-dl --proxy socks5://127.0.0.1:10808 -F` | 使用 youtube-dl 查看所有可下载的清晰度,同时启用代理 |
| ac = `annie -c cookies.txt` | 使用 annie 下载并加载 cookies 文件 |
Expand Down
17 changes: 9 additions & 8 deletions README_en.md
Expand Up @@ -45,14 +45,15 @@ Run `Deploy.bat` and select `Aliases Management` to add customize aliases.
Take several aliases, which might be commonly used, as examples and references:

| Alias | Function |
| :--------------------------------------- | :--------------------------------------------------------------- |
| open = `explorer .\` | Open the current directory, which is `Download\` |
| yb = `youtube-dl -f bestvideo+bestaudio` | Use youtube-dl to download the video of best quality |
| yf = `youtube-dl -F` | Use youtube-dl to list all available formats of requested videos |
| ac = `annie -c cookies.txt` | Use annie to download, with cookies loaded |
| ygc = `you-get -c cookies.txt` | Use you-get to download, with cookies loaded |
| ... | ... |
| Alias | Function |
| :--------------------------------------- | :----------------------------------------------------------------- |
| open = `explorer .\` | Open the current directory, which is `Download\` |
| proxy ≈ `set HTTP(S)_PROXY=...` | Quickly enable/disable proxy for current CMD window (`proxy help`) |
| yb = `youtube-dl -f bestvideo+bestaudio` | Use youtube-dl to download the video of best quality |
| yf = `youtube-dl -F` | Use youtube-dl to list all available formats of requested videos |
| ac = `annie -c cookies.txt` | Use annie to download, with cookies loaded |
| ygc = `you-get -c cookies.txt` | Use you-get to download, with cookies loaded |
| ... | ... |

**Notice**: The name of customize alias is preferably a combination of letters, numbers, dashes and/or underscores. It should macth the RegExp `^[\w\-]+$`, and particularly no whitespace or the special punctuations mentioned above. In addition, the alias must NOT be the same as the command, otherwise it will cause an endless loop.

Expand Down

0 comments on commit e0eacfe

Please sign in to comment.