Commit Graph

179 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 22d16ff5ba separate cli definition into its own file 2023-03-11 19:29:09 -06:00
Abraham Toriz 530dd8dc15
simpler way of specifying no command 2023-02-13 19:58:13 -06:00
Abraham Toriz 858302839c
upgrade clap to v3 2023-02-13 18:17:47 -06:00
Abraham Toriz 709cfda05b
actually display the timesheets after the charts so it is always visible 2022-11-25 09:09:23 -06:00
Abraham Toriz 83498ac654
display sheet name(s) in chart formatter 2022-11-25 09:03:40 -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 1b6077b1a0
some clippy lints 2022-10-31 00:03:11 -06:00
Abraham Toriz 49e068c5a3
more docs for some commands 2022-09-25 18:14:06 -04:00
Abraham Toriz 189ce814d0
restore ability to pass config to custom formatters 2022-09-10 23:34:59 -04:00
Abraham Toriz dbbeea9f78
document the different formatters 2022-08-31 08:44:55 -04:00
Abraham Toriz de1a4a2849
Chart formatter and per-command default formatters 2022-08-31 08:19:16 -04:00
Abraham Toriz 2ed3f84454
clippy, stop getting in my way, first warning 2022-08-30 09:33:39 -04:00
Abraham Toriz dd40c1acc8
clippy lints 2022-08-29 23:41:50 -04:00
Abraham Toriz 086feb0e0b
allow to set a per-command default formatter 2022-08-29 19:45:45 -04:00
Abraham Toriz 8ec245038f
fix message for selecting custom formatter 2022-08-29 19:05:02 -04:00
Abraham Toriz d2e35d8ba1
most tests of the chart formatter passing 2022-08-29 19:04:15 -04:00
Abraham Toriz bfef1004e3
explain in message how to silence timetrap warning 2022-08-29 19:03:11 -04:00
Abraham Toriz ca7c424b46
properly handle timezone in --interactive 2022-08-28 16:49:31 -04:00
Abraham Toriz 88371b312e
mostly defined the chart formatter 2022-08-28 16:48:47 -04:00
Abraham Toriz 8420e7f776
fix some output messages 2022-08-26 12:33:56 -04:00
Abraham Toriz f968e6605c
list entries by most recent last in --interactive 2022-08-04 18:51:17 +08:00
Abraham Toriz 5807ed23cd
document in readme about t-archive's --time 2022-08-03 21:54:25 +08:00
Abraham Toriz 7b0e045ae1
fix local time in archive test 2022-08-03 21:37:42 +08:00
Abraham Toriz c6c0d813c1
add support for archive -t to the CLI 2022-08-03 07:55:15 +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 3c2e5acbc1
remove a debug line 2022-07-30 22:47:01 +08:00
Abraham Toriz 411c0891a3
orderin entries by start time is better than id 2022-07-30 22:46:46 +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 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