covid19-cli icon indicating copy to clipboard operation
covid19-cli copied to clipboard

Corona Virus (Covid 19) BASH Tracking CLI

_________             .__    ._______ ________          _________ .____    .___ 
\_   ___ \  _______  _|__| __| _/_   /   __   \         \_   ___ \|    |   |   |
/    \  \/ /  _ \  \/ /  |/ __ | |   \____    /  ______ /    \  \/|    |   |   |
\     \___(  <_> )   /|  / /_/ | |   |  /    /  /_____/ \     \___|    |___|   |
\______  /\____/ \_/ |__\____ | |___| /____/            \______  /_______ \___|
       \/                    \/                                \/        \/        
       
Corona Virus (Covid-19) statistics cli.

MIT License
Copyright (c) 2020 Garry Lachman
https://github.com/garrylachman/covid19-cli

Options:
 -c, --country     Specific Country (actual data + historical)
 -l, --list-all    List all countries
 -s, --sort        Sort countries list by key (country|cases|active|critical|deaths|recovered|todayCases|todayDeaths|casesPerOneMillion)
 -i, --historical  List all countries historical trend chart 
 -h, --help        Display this help and exit
 -n, --no-banner   Hides "Covid19-CLI" banner
     --version     Output version information and exit

Usage

Please download the "compiled" version from Releases tab

bash covid19-cli.sh -h

Or if you prefer to make it executable:

chmod +x covid19-cli.sh
./covid19-cli.sh -h

Build

  1. git clone https://github.com/garrylachman/covid19-cli.git
  2. cd cd covid19-cli
  3. make

The compiled file is located at dist directory

Screenshots

Screenshot 1 Screenshot 2

Dependencies

  • bash (https://www.gnu.org/software/bash/)
  • jq (https://stedolan.github.io/jq/)
  • cURL (https://github.com/curl/curl)

Credits

  • Spark (https://github.com/holman/spark)
  • NovelCOVID-API (https://github.com/novelcovid/api)

Ego Boosters

GitHub GitHub All Releases GitHub tag (latest by date) GitHub Release Date GitHub contributors Analytics