$ translate-cli --help
Usage: __main__.py [OPTIONS] TEXT...
Python command line tool to make on line translations
Example:
$ translate-cli -t zh the book is on the table
碗是在桌子上。
Available languages:
https://en.wikipedia.org/wiki/ISO_639-1
Examples: (e.g. en, ja, ko, pt, zh, zh-TW, ...)
Options:
--version Show the version and exit.
-f, --from TEXT Sets the language of the text being translated. The default
value is 'autodetect'
-t, --to TEXT Sets the language you want to translate.
--help Show this message and exit.
- Command using version option:
```shell
$ translate-cli --version
translate, version 3.3.0
@terryyin I also create a sample from config file to be used in the project documentation
PR with a refactor changing native ArgParser lib to Click lib and fix the config file uses. Following click documentation:
http://click.pocoo.org/5/
Command using help option:
Options: --version Show the version and exit. -f, --from TEXT Sets the language of the text being translated. The default value is 'autodetect' -t, --to TEXT Sets the language you want to translate. --help Show this message and exit.
@terryyin I also create a sample from config file to be used in the project documentation