Update 'README.md'
This commit is contained in:
parent
1964671ab8
commit
bdf1997058
1 changed files with 19 additions and 1 deletions
20
README.md
20
README.md
|
@ -1,3 +1,21 @@
|
||||||
# deepl-cli
|
# deepl-cli
|
||||||
|
**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
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
deepl-cli is a command-line utility that uses the DeepL API - https://www.deepl.com - a privacy-friendly translation service.
|
|
||||||
|
|
Loading…
Reference in a new issue