This CLI is used to report DevOps change events to Kosli and query them.
Kosli is still in beta
See the docs
make lint
make build
Then to run Kosli commands:
./kosli [COMMAND]
Windows will not allow building using the makefile, so we need to run the commands directly in the terminal.
set GOFLAGS=""
go mod download
go mod tidy
go vet ./...
go build -o kosli.exe -ldflags '-extldflags "-static"' ./cmd/kosli/
Then to run Kosli commands:
./kosli.exe [COMMAND]
or .\kosli.exe [COMMAND]
make hugo-local
To run only the tests in a single test suite, eg TestAttestJunitCommandTestSuite
make test_integration_single TARGET=TestAttestJunitCommandTestSuite