Swiftpack.co - barnardn/weather as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by barnardn.
barnardn/weather v1.0
command line swift project manager app to retrieve the weather from openweathermap
⭐️ 0
🕓 2 years ago
macOS
.package(url: "https://github.com/barnardn/weather.git", from: "v1.0")

weather

A simple command line application that fetches the weather conditions for a given zip code.

USAGE: weather-command [--just-temp] [--metric] <zip-code>

ARGUMENTS:
  <zip-code>              5 digit zip code

OPTIONS:
  -j, --just-temp         returns only the temperature
  -m, --metric            display metric values
  -h, --help              Show help information.

This app assumes that you have an envrironment variable named OPENWEATHERMAP_API set to contain your API key for the openweather map service. You can get a free api key from openweathermap.org

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics