Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 2.01 KB

README.md

File metadata and controls

67 lines (42 loc) · 2.01 KB

Let me google that for you CLI

Release Travis Go Report Card Software License Powered By: GoReleaser

This is a lmgtfy CLI written in Go which makes it easy to create Let me google that for you links.

Install

MacOS

brew install Knappek/tap/lmgtfy

Other OS with Go installed

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.

Without Go installed

You can simply download the latest release from the release page, extract it and move the binary to your path.

Usage

lmgtfy-usage

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.

Shorten Url

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.

Next Steps

  • code lint
  • code coverage