Language Translator CLI
% mycli --help
mycli <command>
Commands:
mycli asciiart generates ascii art
mycli translate translates a sentence to specific language
Options:
-h, --help Show help [boolean]
--version Show version number [boolean]
- Clone the repository and then navigate to it.
- Run
npm install
to install the dependencies. - Run
npm install -g .
to install the CLI.
⚠️ This might cause an error which can be resolved easily by usingsudo
with the command, however, usingsudo
withnpm
is not recommended because it might cause permission issues later. So instead change the permissions to the CLI using the below command.
sudo chmod 775 /usr/local/bin/mycli
- Now you are good to go and can use the CLI globally!
Type mycli
or mycli --help
to get started.