@cellas/conformance-cli
v1.1.0
Published
Thin Conformance CLI composition root (v1.5)
Readme
@cellas/conformance-cli
Thin composition root for the cellas CLI binary (Frozen v1.5).
Binary
After build:
pnpm exec cellas help
pnpm exec cellas test --target conformance/fixtures/valid/target.json --jsonArchitecture
- Conformance commands (
test,verify,certify, …) →@cellas/testing-cli enginenamespace →@cellas/engine-clipluginnamespace →@cellas/cli
apps/cellas re-exports runCellas from this package for backward compatibility.
Programmatic bootstrap
import { runCellas } from "@cellas/conformance-cli/bootstrap";
const exitCode = await runCellas(["verify", "--input", path, "--type", "golden"], {
stdout: process.stdout,
stderr: process.stderr,
});