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