A simple CLI for tracking time.
Create a configuration file in $HOME/.punchcard.yaml
:
# ~/.punchcard.yaml
# configuration for punchcard
storage:
data: ~/punchcard/data.yaml
# round timestamps to this duration
# for details on the format see https://golang.org/pkg/time/#ParseDuration
roundTimestampsTo: 15m
Run the commands for instructions and/or examples:
punchcard help
punchcard examples
Some short information on how to keep this going. (Because I tend to forget these things.)
- Create an issue.
- Fork the repository.
- Run tests (all should be OK):
go test ./...
- Write tests.
- Run tests (some should fail).
- Implement fix / feature.
- Run tests (all should be OK again).
- Commit, push and send a pull request, referencing the issue from step 1.
I use standard-version to generate the CHANGELOG.
- Run
standard-version --dry-run
. Note the next version number. - Increase the version number in
cmd/root.go
andgit add cmd/root.go
. - Run
standard-version --commit-all
. - Run
git push --follow-tags origin master
.
GPLv3 (or later). See file LICENSE for the full license text.