tyypgzl / weather_cli

Weather CLI with Dart using Open Weather API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather CLI

  • Weather CLI tool using Open Weather API with city flag

Usage

  • clone weather_cli project from link bellow
git clone https://github.com/tyypgzl/weather_cli.git
  • Go to Open Weather website and get API KEY

  • Replace "apiKey" value with your API KEY in open_weather_client.dart

  • activete cli globally with dart

dart pub global activate --source path .
  • Use weather cli code bellow
weather --city=London

Result

About

Weather CLI with Dart using Open Weather API


Languages

Language:Dart 100.0%