Skip to content

mixon00/cov19-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm license npm ko-fi github twitter

Installation

$ npm i -g @mixon00/cov19

Usage

Get stats for world and favourites countries

$ cov19

Get stats for country by country name

$ cov19 Poland

or country code

$ cov19 pl

or state

$ cov19 "New York"

Show detailed stats

$ cov19 -s

or

$ cov19 Poland -s

Add to favourites

$ cov19 Poland -a

or

$ cov19 Poland --add

Remove from favourites

$ cov19 Poland -r

or

$ cov19 Poland --remove

Remove more then one element from favourites

$ cov19 -r

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

Display list of favourites

$ cov19 -f

or

$ cov19 --favourites

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