Use zerolog + intercept SIGINT (#2)

* Use zerolog + intercept SIGINT
* Use RFC3339 for time format and add -json flag to disable pretty printing
* Added new flags to README and fixed issue when command exit was not successful
This commit is contained in:
VaiTon
2023-12-18 10:51:54 +01:00
committed by GitHub
parent 766902fd8b
commit 4ffdb87d2f
4 changed files with 126 additions and 34 deletions

3
go.mod
View File

@@ -8,6 +8,9 @@ require (
)
require (
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/rs/zerolog v1.31.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/sys v0.14.0 // indirect
)