Skip to content

Latest commit

 

History

History
36 lines (18 loc) · 803 Bytes

File metadata and controls

36 lines (18 loc) · 803 Bytes

Timehook CLI client

Build Status

Timehook CLI client is a client implementation to use with https://timehook.io

Usage

Use executable (recommended)

Download at releases

Compile on your own
  1. Download or clone the repo.
  2. Build executable go build -o bin/timehook cmd/main/timehook.go

Example

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