DPtranslate is a command-line interface (CLI) tool for translating text using DeepL.
Before using DPtranslate, ensure that you have Go installed on your system.
To compile, follow these steps:
-
Clone this repository to your local machine.
-
Navigate to the project directory.
-
Run the following command to compile DPtranslate:
go build -o dpcli .
Once you have compiled DPtranslate, you can start using it by following these steps:
-
Run the following command to get started:
dpcli -h
This will display the help menu and provide you with information on how to use DPtranslate.
To translate text using DPtranslate, you can use the following command:
dpcli [OPTIONS] TEXT