cli-dict icon indicating copy to clipboard operation
cli-dict copied to clipboard

命令行翻译工具

cli-dict

命令行翻译工具

安装

  $ npm install cli-dict -g

使用

支持中英互译

Example

  $ dict hello world
  > 你好世界
  
  $ dict 然
  > conj. but;however
    adj. right
    vt. correct
    adv. so;nevertheless

Options

  $ dict -h

  Usage: index [options]

  Options:

    -V, --version        output the version number
    -s, --source [name]  指定翻译源
    -h, --help           output usage information

其他

目前翻译源为有道翻译