- Weather CLI tool using Open Weather API with city flag
- 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