lmgtfy

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: MIT Imports: 8 Imported by: 0

README

Let me google that for you CLI

Release Travis

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

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

  • build for windows
  • CI with proper tests
  • code lint
  • code coverage

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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