trt
trt
is a translation tool that can be used in the command line.
Install
npm install -g trt
yarn global add trt
Usage
Using trt
need you to register a text translation service in youdao.Then you just need to input some text follow trt
command. If you're using it for the first time, it will need you input your appKey
and secret
.
trt [text]