Reorder the stats in cv and prioritize some
This commit is contained in:
parent
a01fb55a86
commit
5bbfc4ad77
10
cv
10
cv
|
@ -56,8 +56,8 @@ out(){
|
|||
frame(){
|
||||
case "$1" in
|
||||
top) printf "╔═════════════════════════════════════════╗\n" ;;
|
||||
table) printf "║ Statistic ║ Today ║ Yesterday ║\n"
|
||||
printf "╟─────────────╫─────────────╫─────────────╢\n" ;;
|
||||
title) printf "║ Statistic ║ Today ║ Yesterday ║\n" ;;
|
||||
sep) printf "╟─────────────╫─────────────╫─────────────╢\n" ;;
|
||||
up) printf "╠═════════════╦═════════════╦═════════════╣\n" ;;
|
||||
down) printf "╚═════════════╩═════════════╩═════════════╝\n" ;;
|
||||
line) printf "╠═════════════╩═════════════╩═════════════╣\n" ;;
|
||||
|
@ -68,12 +68,14 @@ result(){
|
|||
frame top
|
||||
title "Queried at: $date"
|
||||
frame up
|
||||
frame table
|
||||
frame title
|
||||
frame sep
|
||||
stats Total cases
|
||||
stats "╰> Per 1M " casesPerOneMillion
|
||||
stats New todayCases
|
||||
frame sep
|
||||
stats Active active
|
||||
stats Critical critical
|
||||
stats New todayCases
|
||||
stats Deaths deaths
|
||||
stats "╰> Per 1M " deathsPerOneMillion
|
||||
stats Recovered recovered
|
||||
|
|
Reference in New Issue