TailorDev / Watson

:watch: A wonderful CLI to track your time!
http://tailordev.github.io/Watson/
MIT License
2.41k stars 237 forks source link

Allow relative values for `--to` and `--from` in `watson add` #475

Open thomaseizinger opened 2 years ago

thomaseizinger commented 2 years ago

Usecase: I just did ~30min of work for a project but forgot to track them via watson. Making up the timestamps for --to and --from is a bit tedious. It would be great if the following command worked:

watson add --from "30min ago" --to "now" my-project +my-tag