Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zyszys/cmd-trans
Translate something in the command line.
https://github.com/zyszys/cmd-trans
cmd translate translation translator
Last synced: 2 months ago
JSON representation
Translate something in the command line.
- Host: GitHub
- URL: https://github.com/zyszys/cmd-trans
- Owner: ZYSzys
- License: mit
- Created: 2018-10-11T14:35:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T15:58:12.000Z (3 months ago)
- Last Synced: 2024-10-28T11:41:09.385Z (3 months ago)
- Topics: cmd, translate, translation, translator
- Language: JavaScript
- Size: 184 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmd-trans
[![Travis CI](https://travis-ci.org/ZYSzys/cmd-trans.svg?branch=master)](https://travis-ci.org/ZYSzys/cmd-trans)
[![codecov](https://codecov.io/gh/ZYSzys/cmd-trans/badge.svg?branch=master)](https://codecov.io/gh/ZYSzys/cmd-trans?branch=master)
[![NPM version](https://img.shields.io/npm/v/cmd-trans.svg?style=flat)](https://npmjs.org/package/cmd-trans)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat)](https://github.com/prettier/prettier)
[![license](https://img.shields.io/github/license/ZYSzys/cmd-trans.svg)](https://github.com/ZYSzys/cmd-trans/blob/master/LICENSE)> Translate something in the command line.
![](/screenshot.png)
## Install
```bash
# Global(全局安装)
$ npm install -g cmd-trans
```## Usage
```bash
# Global(全局)
$ trans word
```### Example
```bash
$ trans hellohello [ həˈləʊ ] ~ fanyi.youdao.com
- int. 喂;哈罗
- n. 表示问候, 惊奇或唤起注意时的用语
- n. (Hello)人名;(法)埃洛1. Hello
你好,您好,哈啰,喂
2. Hello Kitty
凯蒂猫,昵称,匿称,最想当的商品代言人
3. Hello Bebe
哈乐哈乐,乐扣乐扣Translation done!
```## LICENSE
MIT.