Corona-cli is an open-source cli  developed by ahmadawais and 9 others contributors   that simplifies track the Coronavirus disease (COVID-19) in the command line.

Track the Coronavirus disease (COVID-19) in the command line
  • 🚀 Get worldwide Coronavirus disease (COVID-19) reporting
  • 🤯 Active daily reporting of your country's COVID-19 statistics
  • 🇺🇸 Get US States data for Coronavirus disease reports across the US
  • 🗃️ Data: Country, Cases, Deaths, Recovered, Active, Critical, Per Million
  • 📈 Charts: Plot statistics in the form of line charts both regular and logarithmic
  • 📟 Sort: cases, cases-today, deaths, deaths-today, recovered, active, critical, per-million

Install

    $ git clone https://github.com/ahmadawais/corona-cli.git
    $ cd corona-cli
    $ npm install -g corona-cli

Capture-d--cran-2020-04-10---22.38.04

Usage :

# Display data for all countries.
    $ corona

Capture-d--cran-2020-04-10---22.41.01
Capture-d--cran-2020-04-10---22.41.34
Capture-d--cran-2020-04-10---22.41.47

# Display data for all countries in single color.
    $corona --xcolor

Capture-d--cran-2020-04-10---22.45.07

# Display data for given country.
corona <countryName>
    $ corona usa
    $ corona ca
    $ corona dz

Capture-d--cran-2020-04-10---22.47.23

Capture-d--cran-2020-04-10---22.47.41

Capture-d--cran-2020-04-10---22.47.58

Sort Data

    $ Sort Data
# Sort data by type
    $ corona --sort country
    $ corona --s cases

# All sorting parameters.
    $ corona -s country
    $ corona -s cases
    $ corona -s cases-today
    $ corona -s deaths
    $ corona -s deaths-today
    $ corona -s recovered
    $ corona -s active
    $ corona -s critical
    $ corona -s per-million
# Reverse sort data
    $ corona --sort active --reverse
    $ corona -s active -r

Charts: Regular & Logarithmic

# Print a country line chart.
    $ corona usa --chart
    $ corona usa --c

# Print a country line chart with logarithmic data.
    $ corona ca --chart --log
    $ corona ca -c -g
    $ corona dz --chart --log
    $ corona dz -c -g

Capture-d--cran-2020-04-10---23.00.49

Capture-d--cran-2020-04-10---23.01.18

Capture-d--cran-2020-04-10---23.01.43

Limit the output

# Print a limited number of entries to the output.
    $ corona --limit 10 corona -l 10  
# Print a bare bones table with no info.
    $ corona --minimal corona -m

CLI Help

    # Display the help data.
    $ corona help
    $ corona --help

Capture-d--cran-2020-04-10---23.05.18

SOURCE:

ahmadawais/corona-cli
🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (&lt; 100ms). - ahmadawais/corona-cli

License & Conduct of Corona-cli