its.gargmayank-mycli
v1.0.0
Published
Language Translator CLI
Downloads
3
Readme
mycli
Language Translator CLI
Usage
% 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]
Installation
- Clone the repository and then navigate to it.
- Run
npm install
to install the dependencies. - Run
npm install -g .
to install the CLI.
:warning: This might cause an error which can be resolved easily by using
sudo
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.