cmd-trans
Translate something in the command line.
Install
# Global(全局安装) $ npm install -g cmd-trans
Usage
# Global(全局) $ trans word
Example
$ trans hello hello [ həˈləʊ ] ~ fanyi.youdao.com - int. 喂;哈罗 - n. 表示问候, 惊奇或唤起注意时的用语 - n. 人名;埃洛 1. Hello 你好,您好,哈啰,喂 2. Hello Kitty 凯蒂猫,昵称,匿称,最想当的商品代言人 3. Hello Bebe 哈乐哈乐,乐扣乐扣 Translation done!
LICENSE
MIT.