Commit Graph

53 Commits

Author SHA1 Message Date
a01fb55a86 Refactor out function in cv 2020-08-14 15:25:47 +02:00
a55248f232 Allow option for yesterday's stats to contain any value 2020-08-12 13:47:44 +02:00
6fbc0f75d2 Remove environment variable support 2020-08-10 17:30:11 +02:00
98cf7ca473 Re-add removed $1 to $country conversion 2020-08-10 17:29:33 +02:00
02adb8dd79 Remove environment variable support 2020-08-10 17:14:19 +02:00
07d9734ba0 Make the code a bit cleaner 2020-08-10 17:10:13 +02:00
59b3d56a94 Replace assumption of no cv arguments with worldwide stats instead of Belgium 2020-08-09 00:56:38 +02:00
28c59e5ee2 Change table width to 11
Also replace assumption of no cv arguments with worldwide stats instead of Belgium
2020-08-09 00:55:06 +02:00
9d8a5d64ca Allow stats to be queried after midnight 2020-08-09 00:46:01 +02:00
c2f135ba7c Add dependency to bc in readme 2020-08-05 22:49:19 +02:00
0be817e929 Minor readme edit 2020-08-05 00:11:02 +02:00
5b9bf9b2f1 Fix typo 2020-08-04 23:57:24 +02:00
ebcf852e1e Make getpct a little bit cleaner 2020-08-04 23:48:23 +02:00
082f7bf39f Fix typo 2020-08-04 23:45:21 +02:00
9f9c4b0c02 Add usage to readme file 2020-08-04 23:44:32 +02:00
a725e54772 Add a README file 2020-08-04 23:39:15 +02:00
8c9b053b44 Add a rather ugly percentage counter 2020-08-02 22:00:01 +02:00
eddeff6618 Re-add data file removal logic 2020-07-25 17:34:01 +02:00
4af0be1423 Shorten message for new stats
Netherlands was too long and expanded the message out of the window borders
2020-07-16 22:46:07 +02:00
7660fe11b7 Use bc instead of expr for decimal calculations 2020-07-14 23:46:15 +02:00
e8e8c96388 Add message when country is newly tracked 2020-07-14 23:36:53 +02:00
3991e48107 Remove note 2020-07-10 20:33:03 +02:00
4f2cab49d6 Add column info 2020-07-10 20:29:48 +02:00
83a70739de Don't write 2 data files if yesterday's isn't present 2020-07-10 20:23:14 +02:00
3f298d26e5 Remove file removal logic 2020-07-08 19:09:45 +02:00
8ac1db42bc Get rid of those colors 2020-07-04 14:05:03 +02:00
902d6a9ad7 Separate show and title functions 2020-07-03 23:49:32 +02:00
75dd29e52d Finalize data directory migration 2020-07-03 23:40:38 +02:00
5c4a254dd3 Frame everything up 2020-07-03 23:35:47 +02:00
2575675517 Add per 1M statistics 2020-07-03 23:03:05 +02:00
8eb45de625 Make out function unconditional 2020-07-03 22:29:41 +02:00
c12e1f5f46 Columnize stats output 2020-07-03 22:26:50 +02:00
25055bf724 Remove vars dependency 2020-07-03 19:58:02 +02:00
1288bea0ed Improve out function 2020-07-03 19:55:42 +02:00
340065b607 Compare to yesterday in main stats 2020-07-01 22:31:21 +02:00
5f08102ed7 Add critical statistics 2020-05-24 16:58:48 +02:00
e494d2dada Make spacing in output adjustable 2020-05-17 19:36:15 +02:00
11c28758a2 Remove data file also if yesterday's doesn't exist 2020-05-14 16:57:04 +02:00
1b5d4233c3 Create data directory recursively
This is mainly for Termux where apparently Documents doesn't exist by default either.
2020-05-14 16:46:53 +02:00
e5b9dc4cec Forgot ex, oops 2020-05-14 16:44:24 +02:00
376a46bf4d Add more statistics 2020-05-12 22:54:34 +02:00
9fb4a3dc14 Lint and improve cv with shellcheck 2020-05-12 15:17:36 +02:00
62179f5ad3 Add support for country environment variable 2020-05-12 14:50:53 +02:00
0eaf2a62a9 Fix issue with querying yesterday's stats without a data file 2020-05-12 14:49:08 +02:00
34dbc57e75 Optimize get 2020-05-06 20:34:58 +02:00
b2e153da39 Improve answer on removal of yesterday's data file 2020-05-06 01:01:40 +02:00
bdc96c74ec Add support for querying yesterday's stats 2020-05-06 00:57:09 +02:00
e25cb844e4 Remove data files when they're not yet updated 2020-05-04 14:09:08 +02:00
3bf8a5ffae Move the data files previously in cv 2020-05-02 15:04:28 +02:00
00144d8b97 Change data directory 2020-05-02 15:01:11 +02:00