MCPcopy
hub / github.com/ahmadawais/corona-cli / infoCountries

Function infoCountries

utils/theEnd.js:18–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 );
17
18const infoCountries = () =>
19 console.log(
20 dim(`
21 \n${sym.info} ${cyan(`KEY:`)}
22${dim(`❯ `)}${cyan(`Country:`)} Name of the country
23${dim(`❯ `)}${cyan(`Cases:`)} Total number of cases in a country
24${dim(`❯ `)}${cyan(`Cases (today):`)} Cases in 24 hours GMT/UTC
25${dim(`❯ `)}${cyan(`Deaths:`)} Total number of deaths in a country
26${dim(`❯ `)}${cyan(`Deaths (today):`)} Deaths in 24 hours GMT/UTC
27${dim(`❯ `)}${cyan(`Recovered:`)} Total number of recovered people
28${dim(`❯ `)}${cyan(`Active:`)} Total number of active patients
29${dim(`❯ `)}${cyan(`Critical:`)} Total number of critical patients
30${dim(`❯ `)}${cyan(`Per Million:`)} Affected patients per million
31`)
32 );
33
34module.exports = async (lastUpdated, states, minimal) => {
35 if (minimal) return console.log();

Callers 1

theEnd.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected