Commit Graph

98 Commits

Author SHA1 Message Date
Abraham Toriz 08ff8254d1
derive some defaults to make clippy happy 2023-03-14 16:04:57 -05:00
Abraham Toriz 858302839c
upgrade clap to v3 2023-02-13 18:17:47 -06:00
Abraham Toriz 9b07bedf55
display a nicer message when no entries are running with t now 2022-11-09 14:19:11 -06:00
Abraham Toriz bc2b96d425
clippy lints 2022-11-05 20:34:35 -06:00
Abraham Toriz 762520797a
add a --flat option to list and fish completion 2022-11-04 21:56:41 -06:00
Abraham Toriz 086feb0e0b
allow to set a per-command default formatter 2022-08-29 19:45:45 -04:00
Abraham Toriz bfef1004e3
explain in message how to silence timetrap warning 2022-08-29 19:03:11 -04:00
Abraham Toriz 8420e7f776
fix some output messages 2022-08-26 12:33:56 -04:00
Abraham Toriz 7b0e045ae1
fix local time in archive test 2022-08-03 21:37:42 +08:00
Abraham Toriz bc0f4236ac
use assert_str_eq 2022-08-01 22:04:22 +08:00
Abraham Toriz 6889945e1e
alpha version of the archive-by-hours feature finished 2022-08-01 22:01:12 +08:00
Abraham Toriz 0392e91985
archive-by-hours mostly completely shaped 2022-07-30 22:46:22 +08:00
Abraham Toriz 2b8cc6f94a
design a test for archive-by-hours 2022-07-25 13:09:04 +08:00
Abraham Toriz d18319fd33
a simple start to the archive-by-hours project 2022-07-24 22:57:19 +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 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 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 d3128a93bf
most of the infrastructure for custom formatters 2021-09-06 20:08:53 -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 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 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 abd40dea83
simplify and stabilize t resume 2021-07-28 20:51:33 -05:00
Abraham Toriz 9832945005
keep updated the last_checkout_id when moving between sheets 2021-07-27 12:20:58 -05:00
Abraham Toriz 8cc1eb1cef
implement backend command 2021-07-26 20:07:11 -05:00