1.0.2 • Published 6 years ago

xiulin-translator v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Installation

npm install xiulin-translator -g

Help

  Usage: translator [options]

  🍻  欢迎使用 翻译小助手 🍻


  Options:

    -V, --version  output the version number
    -e, --en       Add English word
    -z, --zh       Add Chinese word
    -h, --help     output usage information

Example

en -> zh

translator -e apple

Output:

=== 🍻  欢迎使用 翻译小助手 🍻  ===
apple 的翻译结果为:
苹果
=== 🍻  翻译成功 🍻  ===

zh -> en

translator -z 苹果

Output:

=== 🍻  欢迎使用 翻译小助手 🍻  ===
苹果 的翻译结果为:
Apple
=== 🍻  翻译成功 🍻  ===