translate-cli: Translation cli tool

[ cli, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

Translation cli tool


[Skip to Readme]

Modules

  • Lib
  • Model

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 1.0.0.0
Dependencies aeson, aeson-lens, base (>=4.7 && <5), lens, text, translate-cli, turtle, wreq [details]
License MIT
Copyright 2017
Author andys8
Maintainer as@99n.de
Category Cli
Home page https://github.com/andys8/translate-cli#readme
Source repo head: git clone https://github.com/andys8/translate-cli
Uploaded by andys8 at 2017-10-15T14:58:09Z
Distributions
Executables translate
Downloads 1577 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-10-15 [all 3 reports]

Readme for translate-cli-1.0.0.0

[back to package description]

translate-cli

Command Line Interface to translate words. The current translation supports german and english words. Input will be translated in both directions.

➜  ~ translate golden
[en] golden
[en] gold
[en] or
[en] aureate
[en] gilded
[de] golden
[de] goldgelb
[de] goldig
[de] Goldfarbe
[de] goldene Farbe

Initial setup

stack setup

Build

stack build

Run

NPM

  • npm i -g @andys8/translate-cli
  • translate <text-to-translate>

Binary

  • Download compressed binary
  • Add manually to PATH
  • translate <text-to-translate>

Build from sources

  • Setup stack
  • stack exec translate -- <text-to-translate> to translate

Credits

Glosbe API is used for translation.