jazzband / Watson

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

FR: Add option to specify log/report timerange as calendar week, month or year #494

Open varac opened 1 year ago

varac commented 1 year ago

It would be lovely if watson could handle timerange shortcuts like i.e.

watson report --calweek 5  # shortcut for --from 2023-01-30 --to 2023-02-05
watson report --calmonth Jan  # shortcut for --from 2023-01-01 --to 2023-01-31
watson report --calyear 2022  # shortcut for --from 2022-01-01 --to 2022-12-31

where the cli option names are just example.