Skip to content

ksugawara61/deepl-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepL CLI

deepl-cli is unofficial DeepL CLI. It is useful for translating Language easily.

Installation

Executable binaries are available at releases.

Usage

$ deepl --help
deepl - translate words

USAGE: deepl --word <word> --from <from> --to <to>

OPTIONS:
  -h, --help         Show this help message and exit.
  -u, --usage        Show usage and exit.
  --word, -w <word>  Word to translate.
  --from, -f <from>  Language to translate from.
  --to, -t <to>      Language to translate to.

EXAMPLE:
  deepl --word hello --from EN --to JA

Description

Example 1:

$ DEEPL_API_KEY=your-api-key deepl --word hello --from EN --to JA
こんにちわ

Example 2:

$ DEEPL_API_KEY=your-api-key deepl --usage
character_count: 667 / 500000

Build

$ git clone git@github.com:ksugawara61/deepl-cli.git
$ deno task compile