Files
define/README.md
T

39 lines
831 B
Markdown

# define
a small, simple tool to define words from the terminal.
definitions are from the [free dictionary api](https://freedictionaryapi.com/).
## usage
```
Usage: define [OPTIONS] <WORD>
Arguments:
<WORD> word to define
Options:
-l, --language <LANGUAGE>
language of the word [default: en]
-p, --parts-of-speech <PARTS_OF_SPEECH>
parts of speech to show [default: noun verb adjective adverb pronoun preposition conjunction interjection exclamation determiner article]
-e, --examples
show examples for definitions
-h, --help
Print help
-V, --version
Print version
```
## installation
install using cargo.
```
cargo install --git https://git.ozzy.top/ozzy/define
```
## building
build using `just`. see available recipes by running `just` or `just --list`.