translate-cli

Command Line Interface to translate words

MIT License

Downloads
17
Stars
3
Committers
1

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.

Package Rankings
Top 38.26% on Hackage.haskell.org
Top 20.89% on Npmjs.org