I want to track what I did during the day, and as I'm using Trello to manage my daily tasks, I can
use the Trello APIs to fetch the card
information, especially the ones from my DONE
list.
This CLI is used to:
- get the Trello card information
- append/prepend today's content into a file
/path/to/daily-logs/2020/02.md
:
## Sunday 09
**ABANDONED**
api@spec: write OpenAPI specifications
**PERSO**
career@interview: find good questions for interview
career: find good path
**WORK**
<details>
<summary>api@gravitee: install in prod environment</summary>
# Gravitee in prod
## Getting started
- get up from bed
- brush teeth
</details>
api@spec: write OpenAPI specifications
---
<details>
<summary>UNFINISHED</summary>
**PERSO**
shopping: buy milk
**WORK**
projectA@taskA: study solutions
projectB@taskB: implement solution
</details>
# Build
make compile
# Run binary
./bin/trello-daily-logs -h
# Or directly using go
go run .
# Install
go install
# Don't forget to run at least once to initialize the config file
trello-daily-logs
Add to the crontab:
25 18 * * 1-5 /home/llin/.asdf/shims/trello-daily-logs -f file 1> /dev/null 2> /tmp/trello-daily-logs.log
26 18 * * 1-5 /home/llin/perso/trello-daily-logs/commit.sh 1> /dev/null 2> /tmp/trello-daily-logs.commit.log