@kitsi/cli
v0.1.15
Published
Kitsi: local-first CI engine with a TypeScript DSL
Maintainers
Readme
Kitsi
Local-first CI engine with a TypeScript DSL.
CLI Runner
Kitsi includes a lightweight CLI to run pipeline files that export a ci registry.
Run from source (recommended for .mts pipelines)
bun ./src/bin/cli.ts list --file .kitsi/pipeline.mts
bun ./src/bin/cli.ts run pr --file .kitsi/pipeline.mtsOptions:
--file,-f: Path to the pipeline file (default:.kitsi/pipeline.mts)--workspace,-w: Workspace directory (default: current working directory)--quiet,-q: Suppress command logging
Run from build output
If your pipeline is compiled to JavaScript, you can run the built CLI:
bun run build
node ./dist/bin/cli.js list --file ./dist/kitsi.pipeline.js
node ./dist/bin/cli.js run pr --file ./dist/kitsi.pipeline.jsExample pipeline
See .kitsi/pipeline.mts for an example that runs lint, unit tests, and build using Kitsi itself.
