Skip to content

0xlek/dict-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dict-cli

A simple program to call api.dictionaryapi.dev and retrieve word definitions

Build and run

go build -o dict main.go
./dict bash

Output

Word: bash
Phonetics:
  - /bæʃ/
Origin:
Meanings:
  noun:
    - Definition: A large party; gala event.
      Example: They had a big bash to celebrate their tenth anniversary.
    - Definition: An attack that consists of placing all one's weight into a downward attack with one's fists.
  verb:
    - Definition: To strike heavily.
      Example: He bashed himself against the door.
    - Definition: To collide.
      Example: Don't bash into me with that shopping trolley.
    - Definition: To criticize harshly.
      Example: He bashed my ideas.
    - Definition: To masturbate.
      Example: He said that he bashes daily.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages