Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.55 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.55 KB

dicterm

Lint Tests Codacy Badge Codacy Badge

dicterm is a cli interface for merriem webster dictionary. Uses murat/mwgoapi

Requirements

Get your api key from https://dictionaryapi.com/account/my-keys

Build

➜ 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.

➜ ./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