a4a6726091
Fix a few warnings
2022-01-06 18:22:18 +01:00
3f5e06b113
Adapt cli code to changes
2022-01-06 18:04:34 +01:00
5e47dddd4c
Make error formatting more generic
...
Now, some errors are generic over the FileId type, meaning I can now
pretty-print command line argument errors as well as normal errors with
the same machinery. This is accomplished via the Eprint trait, whose
generics are a tad complex but probably still fine.
2022-01-05 02:59:03 +01:00
810ec67cf7
Reenable basic cli interaction
2022-01-02 15:06:40 +01:00
0e4ef7fef3
Allow tasks to be canceled
2021-12-31 23:57:40 +01:00
e9ec2998f0
Implement --range
2021-12-19 00:56:34 +01:00
ff627b98df
Prepare eval error handling for cli arg errors
2021-12-18 23:31:27 +01:00
d67bf0aeea
Improve error handling
2021-12-18 18:56:18 +01:00
96f7aa77dc
Restructure CLI
2021-12-16 03:00:26 +01:00
ab63261dfd
Support marking multiple tasks as done
...
Not yet exposed via the CLI though
2021-12-16 00:47:59 +01:00
c07d27aa13
Overhaul file erorr handling
2021-12-15 19:17:06 +00:00
b476a95afb
Implement done command
2021-12-14 22:37:27 +01:00
8d004ab16c
Add todos
2021-12-13 23:44:41 +01:00
e912d6db1a
Fix rustdoc warnings
2021-12-13 21:14:37 +00:00
34a053cbe4
Show single entries
2021-12-13 19:00:53 +00:00
8239a535f6
Reorganize layout and rendering code
2021-12-13 13:13:20 +00:00
e2aa7c1a29
Specify range on command line
...
Also use the current date as base for the range if no date is specified.
Previously, it was all hardcoded.
2021-12-13 11:43:12 +00:00
494f1976c6
Restructure command line args
2021-12-12 22:13:22 +00:00
cdf28edec6
Add --reformat and --reformat-all flags
2021-12-12 20:35:57 +00:00
2f8676533e
Load file from .config/today/main.today by default
2021-12-12 19:35:54 +00:00
6f1a533b95
Fix out-of-range move commands
2021-12-12 19:09:38 +00:00
3c0ea68d29
Render layouts
2021-12-12 11:09:14 +00:00
ee2e5f4e97
Revamp layouting
2021-12-11 22:44:58 +01:00
44bcd5712d
Layout entries
2021-12-11 20:45:55 +01:00