Skip to content

tokorom/deepl-cui-swift

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

deepl-cui-swift

CUI wrapper for the Translating text API of DeepL.

help

USAGE: command [<text>] [--source-lang <source-lang>] [--target-lang <target-lang>] [--auth-key <auth-key>]

ARGUMENTS:
  <text>                  Text to be translated. If not specified, use STDIN. 

OPTIONS:
  -s, --source-lang <source-lang>
                          Language of the text to be translated. If this
                          parameter is omitted, the API will attempt to detect
                          the language of the text and translate it. 
  -t, --target-lang <target-lang>
                          The language into which the text should be translated
                          (default: EN-US)
  --auth-key <auth-key>   authKey for DeepL API. If not specified, use the
                          environment variable DEEPL_AUTH_KEY. 
  -h, --help              Show help information.

API Domain

Version 1.0.0 or later uses api-free.deepl.com

Simple USAGE

with arguments

deepl-cui-swift --auth-key YOUR_AUTH_KEY おはよう

with STDIN and ENV

echo おはよう | DEEPL_AUTH_KEY=YOUR_AUTH_KEY deepl-cui-swift

About

CUI wrapper for the Translating text API of DeepL

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages