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(){
|
frame(){
|
||||||
case "$1" in
|
case "$1" in
|
||||||
top) printf "╔═════════════════════════════════════════╗\n" ;;
|
top) printf "╔═════════════════════════════════════════╗\n" ;;
|
||||||
table) printf "║ Statistic ║ Today ║ Yesterday ║\n"
|
title) printf "║ Statistic ║ Today ║ Yesterday ║\n" ;;
|
||||||
printf "╟─────────────╫─────────────╫─────────────╢\n" ;;
|
sep) printf "╟─────────────╫─────────────╫─────────────╢\n" ;;
|
||||||
up) printf "╠═════════════╦═════════════╦═════════════╣\n" ;;
|
up) printf "╠═════════════╦═════════════╦═════════════╣\n" ;;
|
||||||
down) printf "╚═════════════╩═════════════╩═════════════╝\n" ;;
|
down) printf "╚═════════════╩═════════════╩═════════════╝\n" ;;
|
||||||
line) printf "╠═════════════╩═════════════╩═════════════╣\n" ;;
|
line) printf "╠═════════════╩═════════════╩═════════════╣\n" ;;
|
||||||
@ -68,12 +68,14 @@ result(){
|
|||||||
frame top
|
frame top
|
||||||
title "Queried at: $date"
|
title "Queried at: $date"
|
||||||
frame up
|
frame up
|
||||||
frame table
|
frame title
|
||||||
|
frame sep
|
||||||
stats Total cases
|
stats Total cases
|
||||||
stats "╰> Per 1M " casesPerOneMillion
|
stats "╰> Per 1M " casesPerOneMillion
|
||||||
|
stats New todayCases
|
||||||
|
frame sep
|
||||||
stats Active active
|
stats Active active
|
||||||
stats Critical critical
|
stats Critical critical
|
||||||
stats New todayCases
|
|
||||||
stats Deaths deaths
|
stats Deaths deaths
|
||||||
stats "╰> Per 1M " deathsPerOneMillion
|
stats "╰> Per 1M " deathsPerOneMillion
|
||||||
stats Recovered recovered
|
stats Recovered recovered
|
||||||
|
Reference in New Issue
Block a user