Skip to content
/ lmgtfy Public

Let me google that for you CLI tool to easily create and share lmgtfy links

License

Notifications You must be signed in to change notification settings

Knappek/lmgtfy

Repository files navigation

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 https://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 https://tinyurl.com/3so56ko and, if you are on Linux or MacOS, will directly copy it to your clipboard.

Next Steps

  • code lint
  • code coverage

About

Let me google that for you CLI tool to easily create and share lmgtfy links

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published