/dpl

Command line tool for deepl translation.

Primary LanguageTypeScript

DeepL CLI (informal)

Use deepl translation in the CLI.

Demo

image image

Installation

brew tap shu-pf/tap
brew install dpl

Upgrade

brew update
brew upgrade dpl

# If you cannot upgrade
brew reinstall dpl

Usage

To use this package, you first need to set an API key and Target Language.

Config(Required)

dpl setting

Interactive mode

dpl

Press "t" to translate.
Press "q" to quit.

> <text>
> t
<translated text>

Normal mode

dpl <text>

For Developers

Execute

pnpm start

Build

pnpm build