https://github.com/farischt/dictionary-cli
Dictionary simple CLI to define and get word's definition, written in Go
https://github.com/farischt/dictionary-cli
Last synced: 11 months ago
JSON representation
Dictionary simple CLI to define and get word's definition, written in Go
- Host: GitHub
- URL: https://github.com/farischt/dictionary-cli
- Owner: farischt
- Created: 2022-12-11T00:09:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-11T22:12:04.000Z (over 3 years ago)
- Last Synced: 2025-06-25T19:41:12.711Z (12 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dictionary-CLI
This project was made for educationnal purposes by @Farischt.
Simple dictionnary CLI using a [badger](https://github.com/dgraph-io/badger) key value database written in go.
## Using the CLI
First build the project:
`go build -o build`
Once you've built the project you can start using the CLI as following:
`./build -action add Golang "Golang is a beautiful programming language"`
The previous command allows you to add the word Golang in the dictionnary.
## Commands
Every command is prefixed by the prefix `-action`.
Here a the differents actions available :
- help: `-action help`
- list: `-action list`
- add: `-action add the_word_to_add "the_definition"`
- define: `-action define the_word_to_define`
- remove: `-action remove the_word_to_remove`