Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/murat/dicterm

dicterm is a terminal interface for merriem webster
https://github.com/murat/dicterm

cli-app dictionary golang merriam-webster-api terminal-app translation

Last synced: 3 months ago
JSON representation

dicterm is a terminal interface for merriem webster

Awesome Lists containing this project

README

        

# dicterm

![Lint](https://github.com/murat/dicterm/actions/workflows/lint.yml/badge.svg)
![Tests](https://github.com/murat/dicterm/actions/workflows/test.yml/badge.svg)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/295007f859ca44b5b1a9418bb5685d40)](https://www.codacy.com/gh/murat/dicterm/dashboard?utm_source=github.com&utm_medium=referral&utm_content=murat/dicterm&utm_campaign=Badge_Grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/295007f859ca44b5b1a9418bb5685d40)](https://www.codacy.com/gh/murat/dicterm/dashboard?utm_source=github.com&utm_medium=referral&utm_content=murat/dicterm&utm_campaign=Badge_Coverage)

dicterm is a cli interface for merriem webster dictionary. Uses [murat/mwgoapi](https://github.com/murat/mwgoapi)

## Requirements

Get your api key from

## Build

```shell
➜ make build
```

## Usage

If it's the first run, you must pass the `-key XXX` argument.
It will be stored in the `~/.dicterm` file.
You can specify a custom path via `-config /path/of/file`.
But if you set a custom path, you will need to pass it by the `-config /path/of/file` argument all time.

If you did not set a custom config path, you will be able to run the
simpler command like `dicterm word` after the first command.

```shell
➜ ./bin/dicterm -h
Usage of ./bin/dicterm:
-config string
path of config file, default ~/.dicterm
-key string
dict api key (will be stored in ~/.dicterm)
-word string
word to look up
```

## Screenshot

![screenshot](./example/screenshot.jpeg)