Timehook CLI client is a client implementation to use with https://timehook.io
Download at releases
- Download or clone the repo.
- Build executable
go build -o bin/timehook cmd/main/timehook.go
Set up the api key as environment variable
export TIMEHOOK_KEY=__YOUR_KEY__
With defaults:
./bin/timehook
With custom values:
./bin/timehook --sec 11 --url https://your-url.com body --body '{"bar" : "bar"}'
For further info:
./bin/timehook --help