Skip to content

Vijaydaswani/dictionary-cli-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary cli tool

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:

Demo-Video-of-dict-CLI

Installation

Clone it in the desktop and in the project directory run below commands

npm install

npm link 

dict cli -

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

Commands

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 

LinkedIn URL

VIJAY

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •