Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/riyadhalnur/weather-cli

Check the weather for your city from your terminal
https://github.com/riyadhalnur/weather-cli

cli nodejs terminal weather weather-cli

Last synced: 7 days ago
JSON representation

Check the weather for your city from your terminal

Awesome Lists containing this project

README

        

weather-cli
=================
Check the weather for your city from your terminal

[![Coverage Status](https://coveralls.io/repos/github/riyadhalnur/weather-cli/badge.svg?branch=master)](https://coveralls.io/github/riyadhalnur/weather-cli?branch=master) [![Build Status](https://travis-ci.org/riyadhalnur/weather-cli.svg?branch=master)](https://travis-ci.org/riyadhalnur/weather-cli) [![Build status](https://ci.appveyor.com/api/projects/status/8o1qpopothm62y51/branch/master?svg=true)](https://ci.appveyor.com/project/riyadhalnur/weather-cli/branch/master) [![Known Vulnerabilities](https://snyk.io/test/github/riyadhalnur/npm-modules-sync/badge.svg)](https://snyk.io/test/github/riyadhalnur/weather-cli)

![](screen.gif)

### Install
```shell
$ npm install -g weather-cli
```

```shell
$ weather --help

Usage
$ weather

Options
--city, -c City you want to lookup weather for (add state code after city name if city exists in multiple places)
--country, -C Country you want to lookup weather for
--scale, -s Weather scale. Defaults to Celcius
--help Show this help message
--version Display version info and exit
config Set the default location and scale

Examples
$ weather -c Dhaka -C Bangladesh
Dhaka, Bangladesh
Condition: Partly Cloudy
Temperature: 32°C

$ weather config -c Dhaka -C Bangladesh -s F
Default location set to Dhaka, Bangladesh and scale to F
```

### License
Licensed under MIT. See [LICENSE](LICENSE) for more information.

### Issues
Report a bug in issues.

Made with love in Dhaka, Bangladesh by [Riyadh Al Nur](https://verticalaxisbd.com)