dicterm

module
v0.0.0-...-ecd7c12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2022 License: MIT

README

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

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL