The translate-cli package

[ Tags: cli, library, mit, program ] [ Propose Tags ]

Translation cli tool


[Skip to Readme]

Properties

Versions 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 repository head: git clone https://github.com/andys8/translate-cli
Uploaded Sun Oct 15 14:58:09 UTC 2017 by andys8
Distributions NixOS:1.0.0.0
Executables translate
Downloads 70 total (15 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-10-15 [all 3 reports]
Hackage Matrix CI

Modules

  • Lib
  • Model

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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.