cli

command
v0.0.0-...-b13e7f4 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2014 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

weather.go

This application will go out and get the weather for the given location and display it in the given data units (fahrenheit, celcius, or kelvin. If the string "here" is provided as an argument to the -l flag, the app will try to figure out where it's being executed from based on geolocation from IP address.

Examples:

go run weather.go --help
go run weather.go -l Philadelphia -u imperial # fahrenheit
go run weather.go -l here -u imperial         # fahrenheit
go run weather.go -l Dublin -u metric         # celcius
go run weather.go -l "Las Vegas" -u internal  # kelvin

Jump to

Keyboard shortcuts

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