Simple Kimai terminal client
Go to file
decentral1se c4a20ccae7
feat: init
2023-04-24 01:58:02 +02:00
strfmt feat: init 2023-04-24 01:58:02 +02:00
.goreleaser.yml feat: init 2023-04-24 01:58:02 +02:00
LICENSE feat: init 2023-04-24 01:58:02 +02:00
README.md feat: init 2023-04-24 01:58:02 +02:00
go.mod feat: init 2023-04-24 01:58:02 +02:00
go.sum feat: init 2023-04-24 01:58:02 +02:00
kimchi.go feat: init 2023-04-24 01:58:02 +02:00

README.md

kimchi

Simple Kimai terminal client 🤟

Usage

  1. Grab a binary from dist that matches your OS
  2. Download and chmod +x it
  3. kimchi -h to see the help output

Hacking

  • go build -v . to build
  • go run kimchi.go to test quickly
  • Use export DEBUG=1 to see every request/response

Release

  1. goreleaser release --snapshot --rm-dist
  2. git add . && git commit -m "release: new binaries" && git push

Forks

Had to fork strfmt due to go-openapi/strfmt#92.

Also had to apply this diff:

diff --git a/strfmt/time.go b/strfmt/time.go
index 748ca40..5dab792 100644
--- a/strfmt/time.go
+++ b/strfmt/time.go
@@ -83,7 +83,8 @@ var (
        DateTimeFormats = []string{RFC3339Micro, RFC3339MicroNoColon, RFC3339Millis, RFC3339MillisNoColon, time.RFC3339, time.RFC3339Nano, ISO8601LocalTime, ISO8601PlusTimezone, ISO8601TimeWithReducedPrecision, ISO8601TimeWithReducedPrecisionLocaltime, ISO8601TimeUniversalSortableDateTimePattern}

        // MarshalFormat sets the time resolution format used for marshaling time (set to milliseconds)
-       MarshalFormat = RFC3339Millis
+       // MarshalFormat = RFC3339Millis
+       MarshalFormat = ISO8601LocalTime

        // NormalizeTimeForMarshal provides a normalization function on time befeore marshalling (e.g. time.UTC).
        // By default, the time value is not changed.

License