A program to analyse a directory of worklogs;
- With the title
YYYY-MM-DD.md
- In the format:
| Date | YYYY-MM-DD |
| ------- | -------------- |
| Start | 05:00 |
| Finish | 15:00 |
| WFH | y |
| Standup | Standup notes |
| Note | |
### Worklog
- [ ] Items here
work --from="YYYY-MM-DD" --to="YYYY-MM-DD"
Will output:
- The number of days you worked from home
- The average number of hours worked per day
NOTE: from
is inclusive and to
is exclusive
Prerequisites:
- golang 1.20
Build and usage:
go build -o work main.go
- Copy the binary to the worklog location
- Run the commands using
./work {command}