Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/magiclen/s2tw

A simple tool for converting Simple Chinese to Traditional Chinese(TW).
https://github.com/magiclen/s2tw

chinese cli rust

Last synced: 28 days ago
JSON representation

A simple tool for converting Simple Chinese to Traditional Chinese(TW).

Awesome Lists containing this project

README

        

s2tw
====================

[![CI](https://github.com/magiclen/s2tw/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/s2tw/actions/workflows/ci.yml)

A simple tool for converting Simple Chinese to Traditional Chinese(TW).

## Help

```
EXAMPLES:
s2tw # Convert each of input lines from Simple Chinese to Traditional Chinese
s2tw chs.txt cht.txt # Convert chs.txt (in Simple Chinese) to cht.txt (in Traditional Chinese)
s2tw a.chs.txt # Convert a.chs.txt (in Simple Chinese) to a.cht.txt (in Traditional Chinese)

Usage: s2tw [OPTIONS] [S_PATH] [TW_PATH]

Arguments:
[S_PATH] Assign the path of your Simple Chinese document. It should be a file path
[TW_PATH] Assign the path of your Traditional Chinese document. It should be a file path

Options:
-f, --force Force to output if the output file exists
-h, --help Print help
-V, --version Print version
```

## License

[MIT](LICENSE)