@tracegate/cli
v0.7.0
Published
Command line interface for running TraceGate matrix tests.
Readme
@tracegate/cli
Command line interface for running TraceGate matrix tests.
Install
pnpm add -D @tracegate/cliCommands
tracegate init
tracegate test
tracegate test --case blocks-email
tracegate test --policy
tracegate test --concurrency 2
tracegate test --json
tracegate test --junit tracegate-junit.xml
tracegate fixtures create trace.jsonl --out fixtures/example.ts
tracegate fixtures create runtime-gate.jsonl --runtime-gate --out fixtures/runtime-gate.ts
tracegate runtime record --trace runtime-gate.jsonl --summary summaries.jsonl --out fixtures/runtime-gate.ts
tracegate replay fixtures/example.ts
tracegate replay fixtures/example.ts --json
tracegate replay fixtures/example.ts --junit replay-junit.xml
tracegate replay --update fixtures/example.ts
tracegate replay-runtime fixtures/runtime-gate.ts --trace traces/current-runtime-gate.jsonl
tracegate doctorTraceGate loads tracegate.config.ts by default. The project supplies runCase(); the CLI does not create or run an agent by itself.
CI
tracegate test --json
tracegate test --junit tracegate-junit.xml
tracegate replay fixtures/example.ts --junit tracegate-replay.xml
tracegate replay-runtime fixtures/runtime-gate.ts --trace traces/current-runtime-gate.jsonl --junit tracegate-runtime-replay.xmlThe JSON and JUnit outputs are intended for local automation and CI artifacts.
