dictionary-js
Command line dictionary tool
Requirements
Usage
$ npm install -g dictionary-cli-tool$ dict COMMANDrunning command...$ dict (-v|--version|version)dictionary-cli-tool/1.0.5 win32-x64 node-v12.13.0$ dict --help [COMMAND]USAGE $ dict COMMAND...
Installing through source code
- git clone
- npm i
- npm link
Commands
dict ant WORD
dict def WORD
dict dict WORD
dict ex WORD
dict play
dict syn WORD
dict word-of-day
dict help [COMMAND]
dict ant WORD
Shows antonyms of the given word
USAGE
$ dict ant WORD
ARGUMENTS
WORD A word for which you want the antonyms
See code: src\commands\ant.js
dict def WORD
Shows definitions of the given word
USAGE
$ dict def WORD
ARGUMENTS
WORD A word for which you want the definitions
See code: src\commands\def.js
dict dict WORD
Shows definitions, synonyms, antonyms and examples of the given word
USAGE
$ dict dict WORD (OR) dict WORD
ARGUMENTS
WORD A word for which you want all the details
See code: src\commands\dict.js
dict ex WORD
Shows examples of the given word
USAGE
$ dict ex WORD
ARGUMENTS
WORD A word for which you want the examples
See code: src\commands\ex.js
dict play
command to play a word game
USAGE
$ dict play
See code: src\commands\play.js
dict syn WORD
Shows synonyms of the given word
USAGE
$ dict syn WORD
ARGUMENTS
WORD A word for which you want the synonyms
See code: src\commands\syn.js
dict word-of-day
Displays all available details of the Word Of The Day
USAGE
$ dict word-of-day (OR) dict
See code: src\commands\word-of-day.js
dict help [COMMAND]
display help for dict
USAGE
$ dict help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI