Skip to content

Latest commit

 

History

History
93 lines (56 loc) · 953 Bytes

File metadata and controls

93 lines (56 loc) · 953 Bytes

dictionary-tool

Command line dictionary tool and game.

Installation

Assuming you already have nodejs environment.

npm install

Definitions

Definitions of a given word.

$ ./dict def <word>

Synonyms

Synonyms of a given word.

$ ./dict syn <word>

Antonyms

Antonyms of a given word.

$ ./dic ant <word>

Examples

Examples of a given word.

$ ./dict ex <word>

Synonyms

Synonyms of a given word.

$ node dict syn ${word}

Antonyms

Antonyms of a given word.

$ node dict ant ${word}

Details

Complete details of a given word.

$ ./dict <word> or ./dict dict <word>

Word of day

Complete details of word of the day.

$ ./dict

Word guess(Game)

Play a word guessing game.

$ ./dict play

To directly use dict instead of ./dict

$ npm link