Based on the assignment in the link, Assignment Completed the assignment.
Created a cli - dict a binary file in bin folder.
Find the below demo video of the tool:
Clone it in the desktop and in the project directory run below commands
npm install
npm link You can check the dict cli by
dict help
Dictionary cli tool : Assignment By Vijay Daswani
________________________________________________________
dict [command] <word>
defn .............. Display definitions of a given word
syn .............. Display synonyms of a given word
ant .............. Display antonyms of a given word
ex .............. Display examples of a given word
play ............ Play a word game.
version ............ Display tool version
help ............... Display help menu for a command
__________________________________________________________
dict [command] <options>
-n ..... Number of results
dict - #for the full dictionary of random word
dict <word> - #for the full dictionary of given word
dict defn <word> - #for definitions of the given word
dict ant <word> - #for antonym of the given word
dict syn <word> - #for synonym of the given word
dict ex <word> - #for examples of the given word
dict play - #Game
npm link