@enforra/cli
v0.1.2
Published
Command line tools for local Enforra setup, policy testing, and audit verification.
Downloads
476
Readme
Enforra CLI
The Enforra CLI helps developers try the OSS SDK quickly from a local project. It can create starter policy files, run policy tests, verify local hash-chain audit logs, and check basic local setup.
No telemetry, network calls, hosted API, dashboard, auth, billing, or cloud features are included.
Install
Later, install it in your project:
npm install -D @enforra/cliFrom this monorepo, run the CLI package with pnpm filters or after building the workspace package.
Commands
enforra init
enforra test
enforra audit verify
enforra doctorenforra init creates:
policies/enforra.yaml
policies/enforra.cases.yamlenforra test defaults to those files, and also supports:
enforra test --policy policies/starter/support-agent.yaml --cases examples/quickstart/support-refund-node/policy-cases.yaml
enforra test --traceenforra audit verify defaults to:
.enforra/audit.jsonl