whereami

command module
v0.0.0-...-96030fa Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: MIT Imports: 10 Imported by: 0

README

whereami 🚲

Where in Trondheim/Oslo/Bergen am I right now? Inspired by `whoami´

Wondering where in Trondheim/Oslo/Bergen you are? Just ask!

$ go get github.com/odinuge/whereami
$ whereami
⣷ Looking for you, Odin! 🚲
Found you, Odin! You are now in/at/close to S. P. Andersens vei, more accurately: 63.409889°N, 10.405213°E 🚲

Hopefully you can track down yourself; literally (or at least the mechanical bike-ish version of you)!

Looking for someone else?

No problem!

$ whereami -name="Karl"
⣷ Looking for you, Karl! 🚲
Found you, Karl! You are now in/at/close to S. P. Andersens vei, more accurately: 63.409889°N, 10.405213°E 🚲
No work?

Missing go's bin path in your $PATH, no problem!

$ eval $(go env|grep GOPATH) && export PATH=$PATH:$GOPATH/bin
$ whereami
Need help?
$ whereami -h
Usage of whereami:
  -city string
    	What city? (Trondheim, Bergen, Oslo) (default "Trondheim")
  -name string
        What is your first name? Defaults to your username (default "<insert-your-username-here>")
Dependencies

YES, see go.mod

License

MIT

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