dominikbraun / timetrace

A simple CLI for tracking your working time.
Apache License 2.0
685 stars 76 forks source link

Implement `timetrace delete record` command #13

Closed dominikbraun closed 3 years ago

dominikbraun commented 3 years ago

Just like a record can be displayed using timetrace get record <YYYY-MM-DD-HH-MM>, a record should be deletable using timetrace delete record <YYYY-MM-DD-HH-MM>.

This means that the delete command should get a new sub-command called record, which takes the record date as argument - and there needs to be a DeleteRecord method of core.Timetrace.

The documentation needs to be updated as well.