Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Sep 27, 2024
1 parent b4a7fb2 commit 54c46fd
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/content/docs/guides/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@ title: Docs For CLI
description: How to use VMR in CLI Mode.
---

import {Aside } from '@astrojs/starlight/components';

## Set Proxy

<Aside type="caution" title="Note">
Proxy is highly recommended if github.com reponds slowly.
</Aside>

```bash
vmr sp "http(socks5)://127.0.0.1:xxxx"
```

## Set Reverse Proxy

<Aside type="caution" title="Note">
Choose **either** reverse proxy **or** proxy.
</Aside>

```bash
vmr sr "https://proxy.vmr.us.kg/proxy/"
```

## Show help info.

Expand Down
20 changes: 20 additions & 0 deletions src/content/docs/zh-cn/guides/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ title: CLI教程
description: 在命令行模式下使用VMR.
---

## 设置代理

<Aside type="caution" title="Note">
强烈推荐使用自己的代理,如果你访问github速度过慢。
</Aside>

```bash
vmr sp "http(socks5)://127.0.0.1:xxxx"
```

## 设置反向代理

<Aside type="caution" title="Note">
代理和反向代理,选其一即可。但推荐使用自己的代理,因为比较稳定。
</Aside>

```bash
vmr sr "https://proxy.vmr.us.kg/proxy/"
```

## 显示帮助信息

```bash
Expand Down

0 comments on commit 54c46fd

Please sign in to comment.