fish-corona

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

README.md (1099B)

 1 # fish-corona
 2 
 3 Track corona-virus cases from fish-shell. 😷ī¸
 4 
 5 This function uses [corona-stats.online](https://corona-stats.online/), 
 6 [`jq(1)`](https://stedolan.github.io/jq/) and 
 7 [`csvlook(1)`](https://csvkit.readthedocs.io/en/1.0.5/scripts/csvlook.html) to 
 8 print corona-virus statistics. 
 9 
10 ```
11 $ corona Japan
12 | 🚩ī¸ Country  |  😷ī¸ Cases  | 🤒ī¸ New Cases  | 💀ī¸ Deaths  | 😰ī¸ New Deaths |
13 | ----------- | ---------- | ------------- | ---------- | ------------- |
14 | 🚩ī¸ Japan    |     34,372 |             0 |      1,006 |             0 |
15 | 🌐ī¸ World    | 17,894,258 |       141,550 |    685,643 |         3,250 |
16 ```
17 
18 ## Usage
19 
20 ```
21 $ corona [COUNTRY]
22 ```
23 
24 If the `country` argument is ommited the host's IP adress is used to show 
25 information about his country (using [ipinfo.io](https://ipinfo.io/)). If 
26 `country` is set to `all` then the function shows information about all 
27 avaiable countries.
28 
29 ## Installation
30 
31 `fish-corona` can be installed with
32 [`fisher`](https://github.com/jorgebucaran/fisher):
33 
34 ```
35 $ fisher add git://git.escobar.life/fish-corona
36 ```
37