Skip to content

mburakerman/cambridge-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

cambridge-cli

๐Ÿ‡ฌ๐Ÿ‡ง Terminal dictionary for English Learners


cambridge-cli is English to [๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡น๐Ÿ‡ท ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡ซ๐Ÿ‡ท ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฎ๐Ÿ‡ฉ ๐Ÿ‡ฎ๐Ÿ‡น ๐Ÿ‡ฏ๐Ÿ‡ต ๐Ÿ‡ต๐Ÿ‡ฑ ๐Ÿ‡ต๐Ÿ‡น ๐Ÿ‡ช๐Ÿ‡ธ ๐Ÿ‡ธ๐Ÿ‡ฆ ๐Ÿ‡จ๐Ÿ‡ฟ ๐Ÿ‡ฉ๐Ÿ‡ฐ ๐Ÿ‡ฐ๐Ÿ‡ท ๐Ÿ‡ฒ๐Ÿ‡พ ๐Ÿ‡ณ๐Ÿ‡ด ๐Ÿ‡ท๐Ÿ‡บ ๐Ÿ‡น๐Ÿ‡ญ ๐Ÿ‡บ๐Ÿ‡ฆ ๐Ÿ‡ป๐Ÿ‡ณ ] terminal dictonary.

It scrapes data from https://dictionary.cambridge.org and displays the level(if exist), definition, and example sentence for a given word.

The default language for the definition is English, but you can specify a different language if desired.


๐Ÿชก Simple Usage

Type cambridge-cli into your terminal and enter your word. That's it!

simple-usage

โš™๏ธ Options

cambridge-cli has 2 flags:

  • -language (to set language)
  • -showAllMeanings (to display all of the meanings of the word)

โŒจ๏ธ Usage:

  • cambridge-cli -language=turkish or cambridge-cli -language=japanese
  • cambridge-cli -showAllMeanings

โฌ‡๏ธ Download

go install github.com/mburakerman/cambridge-cli@latest

๐Ÿ’ช๐Ÿผ Supported Languages

  • ๐Ÿ‡น๐Ÿ‡ท Turkish
  • ๐Ÿ‡ณ๐Ÿ‡ฑ Dutch
  • ๐Ÿ‡ซ๐Ÿ‡ท French
  • ๐Ÿ‡ฉ๐Ÿ‡ช German
  • ๐Ÿ‡ฎ๐Ÿ‡ฉ Indonesian
  • ๐Ÿ‡ฎ๐Ÿ‡น Italian
  • ๐Ÿ‡ฏ๐Ÿ‡ต Japanese
  • ๐Ÿ‡ต๐Ÿ‡ฑ Polish
  • ๐Ÿ‡ต๐Ÿ‡น Portuguese
  • ๐Ÿ‡ช๐Ÿ‡ธ Spanish
  • ๐Ÿ‡ธ๐Ÿ‡ฆ Arabic
  • ๐Ÿ‡จ๐Ÿ‡ฟ Czech
  • ๐Ÿ‡ฉ๐Ÿ‡ฐ Danish
  • ๐Ÿ‡ฐ๐Ÿ‡ท Korean
  • ๐Ÿ‡ฒ๐Ÿ‡พ Malay
  • ๐Ÿ‡ณ๐Ÿ‡ด Norwegian
  • ๐Ÿ‡ท๐Ÿ‡บ Russian
  • ๐Ÿ‡น๐Ÿ‡ญ Thai
  • ๐Ÿ‡บ๐Ÿ‡ฆ Ukrainian
  • ๐Ÿ‡ป๐Ÿ‡ณ Vietnamese

๐Ÿ•น๏ธ Usage Examples

-language usage

usage-language

-showAllMeanings usage

usage-showAllMeanings