You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julio Biason
b397033a09
|
4 years ago | |
---|---|---|
src | 4 years ago | |
.gitignore | 5 years ago | |
AUTHORS | 5 years ago | |
COPYING | 5 years ago | |
Cargo.lock | 5 years ago | |
Cargo.toml | 5 years ago | |
README.md | 5 years ago |
README.md
TU
Time's Up!
About
Time's Up! is a small application that will let you control how long you have till it is up to an event.
For example, if today is 07-May and you set an event for 22-May, it should tell you that you have 15 days up to it.
Commands
- Adding new events:
tu add YYYY-MM-DD 'description'
- Optional: set a time for the event:
tu add YYYY-MM-DD 'description' --time HH:MM
- Optional: set a time for the event:
- Listing events:
tu
- Removing events: When you add an event, it will show up a small code for
that event; you can remove it with
tu rm EVENTID
TODO
Visual/Interface
- Option to remove events
- Option to remove every "Over" event"
- Pretty output like
bat
Internal changes
Date
andTime
constructors- Change
due
match to use guardians and remove the internal match - Remove
fmt::Display
fromEvent
; the display should be in the main/interface layer - Move the app "db" to a fixed space
- Create a proper "repository" for the event list
- Replace toml; the resulting file, although simple to use internally, is
hard to read due our data format; we can either remove
serde
completely or write our ownSerializer
/Deserializer
interfaces - Tests
Done
- Add unique identifier for each event
- List events
- Add Events with time
- List events with time
- Sort events by ETA
- Replace
dbg!
with env_logger (reasoning: Althoughdbg!
is nice and dandy, it can't be disabled, and that's bad UI)
License
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3.