webby cli is aa command line tool that will allow the user to query the Merriam-Webster Dictionary and receive a formatted response with the word definition
Webby comes with both a Makefile and a bazel script for building. Building with the Makefile is prefered.
After cloning the project you can build it with the following command:
make build
For packaging up webby for distribution run the following commands for tars
make package
This will build webby for linux, windows and mac and package the files up as Tars. TODO: add packaging for deb files.
After packaging, installing webby is simple as decompressing the tar file. The tar file should contain two files:
-
webby
: the binary for execution needed -
config.yaml
: config file used to storing your Webster api key
Before using webby be sure to obtain a key from the Merriam-Webster and add to the configuration file.
Invoke the tool for a definition
webby -term=adapt --config=/path/to/configfile
NB: This application is not tested in a real environment