cn-translator-cli
Translator for Chinese command-line interfaces.
Last updated 9 months ago by windomz .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install cn-translator-cli -g
SYNC missed versions from official npm registry.

cn-translator-cli

Translator for Chinese command-line interfaces

v0.1.2 status

Inspired by <axetroy/translate-cli>

Installation

npm install -g cn-translator-cli

Usage

tfc is short for Translator for Chinese

$ tfc -h

  Usage: tfc [options] [contents...]

  translator for Chinese

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -f, --from <lang>          From Language, short locale name(e.g. en, zh)
    -t, --to <lang>            To Language, short locale name(e.g. zh, en)
    -p, --platform <platform>  Translation platform(e.g. baidu, youdao, google

Example

$ tfc 你好世界
# >>> Hello world

$ tfc 'Hello world'
# >>> 你好世界

License

The MIT License

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |