/tran-CLI

`tran` is a CLI tool, It helps to Translate text into any language using google-translate-api

Primary LanguageJavaScript

Tran CLI Tool

tran is a command-line tool to translate sentences from English to various languages using the Google Translate API.

Installation

  1. Clone the repository:

    git clone https://github.com/Debatreya/tran-CLI.git
  2. Navigate to the project directory:

    cd tran-cli
  3. Install dependencies:

    npm install
  4. Make the CLI globally available:

    npm link

Usage

Basic Usage

tran <lang_name> sentence to be translated

Options

  • -l, --languages: List all supported languages.
  • --help: Show help.

Examples

Translating a Sentence

tran spanish Hello, how are you?

Listing Supported Languages

tran -l

Screenshots

Sample Usage

Demo Video

If Video not visible, Click Here

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

Acknowledgements

Contact

For any questions or suggestions, please contact.

debatreyadas@gmail.com