Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.21 KB

File metadata and controls

41 lines (31 loc) · 1.21 KB

Contributions to the Kosli CLI

Running tests

To run all tests, including the kubernetes tests, which take a few minutes:

make test_integration_full

To run tests and ignore tests that take longer to run:

make test_integration

To run a single test suite:

make test_integration_single TARGET=<suiteName>

Some tests will be skipped if the following environment variables are not set:

KOSLI_GITHUB_TOKEN
KOSLI_GITLAB_TOKEN
KOSLI_BITBUCKET_ACCESS_TOKEN
KOSLI_AZURE_TOKEN
KOSLI_SONAR_API_TOKEN

Additionally authentication is necessary to run some tests. See https://github.com/kosli-dev/knowledge-base.

Releases

The version number is not generated automatically and must be decided manually. We are using semantic versioning (ie: 2.3.2).

make release tag=v<version_number>

Adding a command using AI skill

New CLI commands are scaffolded with the new-command skill - invoke /new-command in Claude Code, or ask Claude to "add a command". The skill interviews you for the command name, archetype (local, read, mutate, attest), endpoint details, and flags, then generates the command file, flag constants, registration wiring, lifecycle annotations (beta/hidden), and a test skeleton.