GitXplorerGitXplorer
o

whereami

public
5 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
96030fae6c33794b139b7005579ec875bccbc1d3

Add note about what city is used

oodinuge committed 5 years ago
Verified
633dc163a484048d919a383b098f1adf6f9a151c

Add support for Oslo and Bergen via flag

oodinuge committed 5 years ago
Unverified
59b6f04e5c9a0ae2983e7f25fbf565ec17de2915

Add spinner 🚲

oodinuge committed 6 years ago
Unverified
3192a8361f4a102a1714d87a7feb38a0dd39a0e0

Initial commit

oodinuge committed 6 years ago

README

The README file for this repository.

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