/cambridge-cli

🇬🇧 Terminal dictionary for English Learners

Primary LanguageGoGNU General Public License v3.0GPL-3.0

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