tasktimer
tasktimer copied to clipboard
starting-point: cover task restarting
I've hacked around quickly to see if I can make it work with task restarts.
Messy as hell, but his is what I came up with - there is a lot of duplication there. I believe we could adjust the way the initial list is rendered if someone wants to pursue this further properly :)
Remember to start the main with -p flag as otherwise it will panic.
If someone needs it to work, it's sort of a starting point. Covers most my requirements.
Overall a really nice tool, thanks for creating it and for the riddles it provided @caarlos0 :) Best of luck!
What would need to get done for it to be better:
- [ ] cover and verify exports and imports
- [ ] fix the startup with no project (probably based on imports)
- [ ] remove redundant repetitions
- [ ] adjust the list formatting - I believe it could be done without casting, but I may be wrong