Home

Awesome

<p align="center"> <img src="https://repository-images.githubusercontent.com/272448130/983ae580-b23c-11ea-874a-e8ce6fc2d7f5"> </p>

npm license npm ko-fi github twitter

Installation

$ npm i -g @mixon00/cov19

Usage

Get stats for world and favourites countries

$ cov19
<p align="center"> <img src="https://raw.githubusercontent.com/mixon00/cov19-cli/master/docs/render1593015600432.gif"> </p>

Get stats for country by country name

$ cov19 Poland

or country code

$ cov19 pl

or state

$ cov19 "New York"
<p align="center"> <img src="https://raw.githubusercontent.com/mixon00/cov19-cli/master/docs/render1593015314848.gif"> </p>

Show detailed stats

$ cov19 -s

or

$ cov19 Poland -s
<p align="center"> <img src="https://raw.githubusercontent.com/mixon00/cov19-cli/master/docs/render1593016893891.gif"> </p>

Add to favourites

$ cov19 Poland -a

or

$ cov19 Poland --add
<p align="center"> <img src="https://raw.githubusercontent.com/mixon00/cov19-cli/master/docs/render1593014914515.gif"> </p>

Remove from favourites

$ cov19 Poland -r

or

$ cov19 Poland --remove

Remove more then one element from favourites

$ cov19 -r
<p align="center"> <img src="https://raw.githubusercontent.com/mixon00/cov19-cli/master/docs/render1593016145609.gif"> </p>

Limit displayed results

$ cov19 us -l <limit>
$ cov19 us -l 3

or limit displayed result starting from selected position

$ cov19 us -l <from:limit>
$ cov19 us -l 2:5
<p align="center"> <img src="https://raw.githubusercontent.com/mixon00/cov19-cli/master/docs/render1593017962811.gif"> </p>

Display list of favourites

$ cov19 -f

or

$ cov19 --favourites
<p align="center"> <img src="https://raw.githubusercontent.com/mixon00/cov19-cli/master/docs/render1593016045911.gif"> </p>

Show about tool

$ cov19 --about

Prerequisites

Before running this locally you must have these installed

Contributing

  1. 🍴 Fork repo!
  2. 🌈🌈🌈 DO MAGIC! 🌈🌈🌈
  3. 🔃 Create a new pull request.

Feel free to contribute to this project. 😊

License

Code copyright 2020 Mateusz Misztoft. Code released under MIT License