1.0.0 • Published 9 years ago
wordnik-dictionary v1.0.0
Wordnik-Command-Tool
Command Line tool for dictionay tool using Wordnik REST API.
Steps to install
- git clone https://github.com/vikneshwar/Wordnik-Command-Tool
- Install dependencies using
npm install -g - Now you can open the tool by typing
dict
Usage
- Type
helpto know list of commands - To exit the application and return to your terminal mode type
exit - Type
def <word>to display definitions for the word - Type
syn <word>to display synonym - Type
ant <word>to display antonym - Type
ex <word>to display example for the word - Type
dict <word>to display all the above information - Typing
dict todaydisplays same as previous command for the word of the day from wordnik - Type
clearto clean your console - Typing
playgets you into play mode . Typestartto start the game - which displays definition , antonym or synonym for the word Try to guess the word by typing the word directly Synonym of the word is also accepted as a answer If you enter a incorrect word , you are provided with 3 options * Try again - will bring you back to play mode , so you can guess the word again * Hint - will display a hint and bring you back to play mode , hint can be jumbled word or another definition , antonym or synonym * quit - will quit the game and display the answer * Typingexitwill quit the gaming mode and return to dictionary mode .
1.0.0
9 years ago