fish-corona

Track corona-virus cases from the fish-shell 😷ī¸

fish-corona

Track corona-virus cases from fish-shell. 😷ī¸

This function uses corona-stats.online, jq(1) and csvlook(1) to print corona-virus statistics.

$ corona Japan
| 🚩ī¸ Country  |  😷ī¸ Cases  | 🤒ī¸ New Cases  | 💀ī¸ Deaths  | 😰ī¸ New Deaths |
| ----------- | ---------- | ------------- | ---------- | ------------- |
| 🚩ī¸ Japan    |     34,372 |             0 |      1,006 |             0 |
| 🌐ī¸ World    | 17,894,258 |       141,550 |    685,643 |         3,250 |

Usage

$ corona [COUNTRY]

If the country argument is ommited the host's IP adress is used to show information about his country (using ipinfo.io). If country is set to all then the function shows information about all avaiable countries.

Installation

fish-corona can be installed with fisher:

$ fisher add git://git.escobar.life/fish-corona