Skip to content

Commit 09416f2

Browse files
authored
README: move developer notes to separate markdown and add useful links to main README.md (#486)
1 parent c9c8875 commit 09416f2

File tree

2 files changed

+50
-41
lines changed

2 files changed

+50
-41
lines changed

README.md

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,13 @@
11
[![codecov](https://codecov.io/gh/kosli-dev/cli/branch/main/graph/badge.svg?token=Z4Y53XIOKJ)](https://codecov.io/gh/kosli-dev/cli)
22
[![Static Badge](https://img.shields.io/badge/provenance-blue?style=plastic&link=https%3A%2F%2Fapp.kosli.com%2Fkosli-public%2Fflows%2Fcli-release%2Ftrails%2F)](https://app.kosli.com/kosli-public/flows/cli-release/trails/)
33

4-
# Kosli Reporter
4+
# Kosli CLI
55

6-
This CLI is used to report DevOps change events to Kosli and query them.
6+
This repo contains the Kosli CLI, for recording and querying software delivery events [Kosli](www.kosli.com)
77

8-
## Status
8+
Some useful links:
99

10-
Kosli is still in beta
11-
12-
## Usage
13-
14-
See the [docs](https://docs.kosli.com/client_reference/)
15-
16-
## Linting the code
17-
18-
`make lint`
19-
20-
## Building the code (Mac/Linux)
21-
22-
`make build`
23-
24-
Then to run Kosli commands:
25-
`./kosli [COMMAND]`
26-
27-
## Building the code (Windows)
28-
29-
Windows will not allow building using the makefile, so we need to run the commands directly in the terminal.
30-
31-
`set GOFLAGS=""`
32-
`go mod download`
33-
`go mod tidy`
34-
`go vet ./...`
35-
`go build -o kosli.exe -ldflags '-extldflags "-static"' ./cmd/kosli/`
36-
37-
Then to run Kosli commands:
38-
`./kosli.exe [COMMAND]` or `.\kosli.exe [COMMAND]`
39-
40-
## Building the documentation
41-
42-
`make hugo-local`
43-
44-
## Running the tests
45-
46-
To run only the tests in a single test suite, eg TestAttestJunitCommandTestSuite
47-
`make test_integration_single TARGET=TestAttestJunitCommandTestSuite`
10+
* [Documentation site](https://docs.kosli.com/client_reference/) for full details on usage.
11+
* [Developer guide](/dev-guide.md) for details on working with the code in this repo.
12+
* [Kosli main Trails](https://app.kosli.com/kosli-public/flows/cli/trails/)
13+
* [Kosli release Trails](https://app.kosli.com/kosli-public/flows/cli-release/trails/)

dev-guide.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[![codecov](https://codecov.io/gh/kosli-dev/cli/branch/main/graph/badge.svg?token=Z4Y53XIOKJ)](https://codecov.io/gh/kosli-dev/cli)
2+
[![Static Badge](https://img.shields.io/badge/provenance-blue?style=plastic&link=https%3A%2F%2Fapp.kosli.com%2Fkosli-public%2Fflows%2Fcli-release%2Ftrails%2F)](https://app.kosli.com/kosli-public/flows/cli-release/trails/)
3+
4+
# Kosli Reporter
5+
6+
This CLI is used to record and query software delivery events to [Kosli](www.kosli.com).
7+
8+
## Usage
9+
10+
See the [docs](https://docs.kosli.com/client_reference/)
11+
12+
## Linting the code
13+
14+
`make lint`
15+
16+
## Building the code (Mac/Linux)
17+
18+
`make build`
19+
20+
Then to run Kosli commands:
21+
`./kosli [COMMAND]`
22+
23+
## Building the code (Windows)
24+
25+
Windows will not allow building using the makefile, so we need to run the commands directly in the terminal.
26+
27+
`set GOFLAGS=""`
28+
`go mod download`
29+
`go mod tidy`
30+
`go vet ./...`
31+
`go build -o kosli.exe -ldflags '-extldflags "-static"' ./cmd/kosli/`
32+
33+
Then to run Kosli commands:
34+
`./kosli.exe [COMMAND]` or `.\kosli.exe [COMMAND]`
35+
36+
## Building the documentation
37+
38+
`make hugo-local`
39+
40+
## Running the tests
41+
42+
To run only the tests in a single test suite, eg TestAttestJunitCommandTestSuite
43+
`make test_integration_single TARGET=TestAttestJunitCommandTestSuite`

0 commit comments

Comments
 (0)