Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kabeep committed May 10, 2024
1 parent 389f0ef commit 42737aa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,15 @@ translate -v

## 🧙🏽‍♂️ Advanced

#### Using another npm package

```shell
npm install -g clipboard-cli

# Use the clipboard-cli to copy translation results to the clipboard
translate 'Translate this sentence to your clipboard' | clipboard
```

#### Using the static accessor `$()` method

```shell
Expand Down
9 changes: 9 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ translate -v

## 🧙🏽‍♂️ 进阶用法

#### 使用其他 NPM 包

```shell
npm install -g clipboard-cli

# Use the clipboard-cli to copy translation results to the clipboard
translate 'Translate this sentence to your clipboard' | clipboard
```

#### 使用静态访问器 `$()` 方法

```shell
Expand Down

0 comments on commit 42737aa

Please sign in to comment.