/CLI-translate-term

A CLI to translate a sentence to any specific language in the terminal.

Primary LanguageJavaScriptMIT LicenseMIT

CLI-Translate-term v1.0.0


A simple CLI to translate to any specific language in the terminal.


demonstration


Usage

~$ tran --help
Usage: tran <lang_name> <sentence to be translated>

Options:
        --version             Show version number.              [boolean]
    -l, --languages           List all languages.               [boolean]
        --help                Show help.                        [boolean]

⚠️ You can also use the ISO-639-1 code of the language instead of writing the full language name


Installation

  1. Clone the repository and then navigate to it.

  2. Run npm install to install the dependencies.

  3. Run npm install -g . to install the CLI.

  4. Now you are good to go and can use the CLI globally!

Type tran or tran --help to get started.


License

MIT ©cli-translate-term