deepl-cli/README.md

21 lines
492 B
Markdown
Raw Permalink Normal View History

2021-12-22 10:57:38 +01:00
# deepl-cli
2021-12-22 11:11:32 +01:00
**deepl-cli** is a command-line utility that uses the **DeepL** API - https://www.deepl.com - a privacy-friendly translation service.
The script is written in **bash** and can run on all UNIX-based systems.
**You need an API key**. You can get it for free from https://www.deepl.com/pro-api.
## Usage
```
./deepl-cli [-h] [-l] target language [-t] text
```
For example:
```
./deepl-cli -l es -t "Hello World"
```
or
```
echo "Hello World" | ./deepl-cli -l es
> Hola Mundo
```
2021-12-22 10:57:38 +01:00