Commit Graph

145 Commits

Author SHA1 Message Date
Abraham Toriz b7c26b612e
fix clippy lint 2022-07-21 22:04:25 +08:00
Abraham Toriz 83634e87dd
limit interactive list to n and use reverse order 2022-07-21 21:54:43 +08:00
Abraham Toriz 26af37bff2
tabulate interactive's output 2022-07-21 21:36:05 +08:00
Abraham Toriz 8b64b161f2
a more comfortable API for tabulate 2022-07-21 21:35:45 +08:00
Abraham Toriz b53807c4a6
start with a test of the interactive 2022-07-19 18:39:06 +08:00
Abraham Toriz 256f622a57
upgrade pretty assertions to 1.2 2022-07-19 18:38:37 +08:00
Abraham Toriz 2633592a8b
add validation to all number arguments 2022-05-08 11:37:22 +08:00
Abraham Toriz 9315665e1a
add --last to t kill 2022-05-08 11:37:05 +08:00
Abraham Toriz 23cc987266
database returns default sheet even it there is no record 2022-05-08 11:36:03 +08:00
Abraham Toriz 9eea9af249
fix linter 2022-05-07 23:37:30 +08:00
Abraham Toriz 713193f682
prevent incomplete config files from exploding 2022-05-07 23:11:16 +08:00
Abraham Toriz 13800c1d09
implement selecting of a past entry interactively 2022-05-07 23:11:02 +08:00
Abraham Toriz 375d7d4e06
pass clippy 2022-05-06 22:04:36 +08:00
Abraham Toriz 8b6d9be92e
some clippy lints 2021-12-13 14:22:05 -06:00
Abraham Toriz 01b198953f
fix a lint 2021-12-13 14:01:43 -06:00
Abraham Toriz e45b1baa30
Support "half an hour ago" time specifier 2021-12-13 13:58:37 -06:00
Abraham Toriz d7d66d03ae
improve help on t s 2021-09-17 12:41:43 -05:00
Abraham Toriz 422d6bb593
first feed the input, then read its output 2021-09-07 14:03:51 -05:00
Abraham Toriz 56e7c525a4
use strings instead of vecs to read childs stdio 2021-09-06 20:53:50 -05:00
Abraham Toriz b90400a1c7
pass formatter config to formatter 2021-09-06 20:53:18 -05:00
Abraham Toriz d3128a93bf
most of the infrastructure for custom formatters 2021-09-06 20:08:53 -05:00
Abraham Toriz ad60776949 a type error 2021-08-25 16:51:04 -05:00
Abraham Toriz b9b970f2ae bold non zero data in t list 2021-08-25 16:50:07 -05:00
Abraham Toriz 3598f7844c Don't write colorful output except in a colorful terminal 2021-08-25 14:43:50 -05:00
Abraham Toriz ba632c88a3 Command trait redesing 2021-08-25 14:30:27 -05:00
Abraham Toriz f86e936dd2 dim some texts in t list 2021-08-24 23:01:56 -05:00
Abraham Toriz 751f4aa750 respect the default_formatter config 2021-08-19 21:11:18 -05:00
Abraham Toriz 0d0e91942c set name and description from carto.toml 2021-08-14 12:06:07 -05:00
Abraham Toriz 8783df7c37 reorganize fields in config 2021-08-14 11:14:45 -05:00
Abraham Toriz 23a3603628 implement t configure 2021-08-14 11:09:37 -05:00
Abraham Toriz 4ebf0681c2 collapse if block 2021-08-11 20:35:24 -05:00
Abraham Toriz 6d15e54d3f implement archive command 2021-08-11 20:25:32 -05:00
Abraham Toriz 1365d6d466 specify in readme how to use a development database 2021-08-11 20:25:21 -05:00
Abraham Toriz 73a0b62c75 extract ask() into a function and a module 2021-08-11 20:24:42 -05:00
Abraham Toriz d7e98e51a3 start the archive command 2021-08-11 17:55:21 -05:00
Abraham Toriz 3a1ef47b21 test everything in UTC-6 so time difference makes a difference 2021-08-11 17:54:37 -05:00
Abraham Toriz 98a43ea12f
make clippy happy 2021-08-04 18:40:49 -05:00
Abraham Toriz 8b9f510097
prevent editing a tracked database in tests 2021-08-04 18:40:35 -05:00
Abraham Toriz b767d9e476
implement old database handling for t edit 2021-08-04 18:27:08 -05:00
Abraham Toriz bbc691c79f
almost complete implementation of t edit 2021-08-03 20:58:26 -05:00
Abraham Toriz 6414930dfb
editor now uses EDITOR env var 2021-08-03 20:57:22 -05:00
Abraham Toriz 3ebe2ca035
rename PrettyString to Ps for brevity 2021-08-03 20:56:40 -05:00
Abraham Toriz b8cfe1ff21
run clippy in CI 2021-08-02 19:13:11 -05:00
Abraham Toriz 5186b7c159
solve a thousand clippy lint errors 2021-08-02 19:10:34 -05:00
Abraham Toriz 7d53546646
implement t now 2021-08-02 18:45:54 -05:00
Abraham Toriz b3864f3b95
fixes in t k usability 2021-07-30 18:01:00 -05:00
Abraham Toriz 63154cc1fc
implement kill command 2021-07-30 17:55:19 -05:00
Abraham Toriz c05897d498
add the at argument for t o 2021-07-30 12:52:06 -05:00
Abraham Toriz fc90f76390
do print the running entries in ical format 2021-07-30 12:08:22 -05:00
Abraham Toriz 744d07b174
finish ical format 2021-07-30 12:01:44 -05:00