This is a lmgtfy CLI written in Go which makes it easy to create Let me google that for you links.
brew install Knappek/tap/lmgtfy
Download with
go get github.com/Knappek/lmgtfy
and install lmgtfy
CLI by navigating to $GOPATH/src/github.com/Knappek/lmgtfy/
and run
go install
In order to use lmgtfy
make sure $GOPATH/bin
is in your PATH.
You can simply download the latest release from the release page, extract it and move the binary to your path.
In a shell, simply type
lmgtfy -g "What is Let me google that for you?"
which will print http://lmgtfy.com/?q=What+is+Let+me+google+that+for+you%3F and, if you are on Linux or MacOS, will directly copy it to your clipboard.
The lmgtfy-Url is very obvious and you may want to hide this. Simply add a -s
or -shorten
, i.e.
lmgtfy -g "What is Let me google that for you?" -s
which will print http://tinyurl.com/3so56ko and, if you are on Linux or MacOS, will directly copy it to your clipboard.
- code lint
- code coverage