As a first step, install this requirements;
- elixir 1.14.0-otp-25 version.
- ffplay
Run the following command.
chmod a+x ./about.ex
Open the ~/.bashrc file and add the following line at the bottom.
alias about='/path/to/about/file/about.ex'
Then save the change by running the following command.
source .bashrc
It's done.
The following query returns the translation of the given text:
about --q desktop
For English response
about --q desktop --l en
For maximum of 100 queries
about --q desktop --l en --n 100
For sound, Available Options: [us, uk, au]
about --q desktop --l en --n 100 --s us
For sound number of repetitions
about --q desktop --l en --n 100 --s us --a 10