1.1.0 • Published 9 years ago
translana v1.1.0
translana
A translate CLI built to demo how Slana can be used to quickly build nice CLI programs in node.js.
Powered by Google Translate API.
Usage
$ npm i -g translanaNow you have google translate at your fingertips.
$ translana translate --text="How are you" --to=frYou should see the following output:
Doing automatic input source language detection.
Translating:
How are you
Detected language: en
Translation:
Comment allez-vousIf you prefer to specify the input language as well, use --from=en.
$ translana translate --text="How are you" --to=fr --from=en